Blame packages/f/fcitx5-lua-migration-reminder/fcitx5-lua-migration-reminder.spec

8611d3
#
8611d3
# spec file for package fcitx5-lua-migration-reminder
8611d3
#
Bernhard M. Wiedemann f155be
# Copyright (c) 2022 SUSE LLC
8611d3
#
8611d3
# All modifications and additions to the file contributed by third parties
8611d3
# remain the property of their copyright owners, unless otherwise agreed
8611d3
# upon. The license for this file, and modifications and additions to the
8611d3
# file, is the same license as for the pristine package itself (unless the
8611d3
# license for the pristine package is not an Open Source License, in which
8611d3
# case the license is the MIT License). An "Open Source License" is a
8611d3
# license that conforms to the Open Source Definition (Version 1.9)
8611d3
# published by the Open Source Initiative.
8611d3
8611d3
# Please submit bugfixes or comments via https://bugs.opensuse.org/
8611d3
#
8611d3
8611d3
8611d3
Name:           fcitx5-lua-migration-reminder
Bernhard M. Wiedemann f155be
Version:        1.0.1
8611d3
Release:        0
8611d3
Summary:        Fcitx5 Lua addon to guide users to migrate their fcitx4 configurations
Bernhard M. Wiedemann f155be
License:        GPL-3.0-or-later
8611d3
URL:            https://github.com/openSUSE-zh/fcitx5-lua-migration-reminder
8611d3
Source:         %{name}-%{version}.tar.gz
8611d3
BuildRequires:  fcitx5-lua
8611d3
Requires:       fcitx5-configtool
Bernhard M. Wiedemann f155be
Requires:       fcitx5-lua
8611d3
Requires:       lua54-lgi
8611d3
# fcitx5-lua was built with lua54 and requires /usr/lib64/liblua5.4.so
8611d3
Requires:       lua54-devel
8611d3
Supplements:    fcitx5
8611d3
8611d3
%description
8611d3
Fcitx5 Lua addon to guide users to migrate their fcitx4 configurations.
8611d3
8611d3
%prep
8611d3
%setup -q
8611d3
8611d3
%build
8611d3
8611d3
%install
8611d3
mkdir -p %{buildroot}%{_datadir}/fcitx5/addon
8611d3
mkdir -p %{buildroot}%{_datadir}/fcitx5/lua/migration-reminder
8611d3
install -m 0644 migration-reminder.conf.in %{buildroot}%{_datadir}/fcitx5/addon/migration-reminder.conf
8611d3
install -m 0644 reminder.lua %{buildroot}%{_datadir}/fcitx5/lua/migration-reminder/reminder.lua
8611d3
install -m 0644 addon.lua %{buildroot}%{_datadir}/fcitx5/lua/migration-reminder/addon.lua
8611d3
8611d3
%files
8611d3
%license LICENSE
8611d3
%dir %{_datadir}/fcitx5
8611d3
%dir %{_datadir}/fcitx5/addon
8611d3
#%dir %{_datadir}/fcitx5/lua
8611d3
%{_datadir}/fcitx5/addon/migration-reminder.conf
8611d3
%{_datadir}/fcitx5/lua/migration-reminder
8611d3
8611d3
%changelog