Initial Package

This commit is contained in:
weidong 2020-12-22 11:38:48 +08:00
parent 75ab348281
commit de1fb90fbc
2 changed files with 43 additions and 0 deletions

Binary file not shown.

43
fcitx-configtool.spec Normal file
View File

@ -0,0 +1,43 @@
Name: fcitx-configtool
Version: 0.4.10
Release: 1
Summary: Gtk+-based configuring tools for Fcitx
License: GPLv2+
URL: https://github.com/fcitx/fcitx-configtool
Source0: http://download.fcitx-im.org/fcitx-configtool/%{name}-%{version}.tar.xz
BuildRequires: gcc, cmake, fcitx-devel, gettext, intltool, libxml2-devel
BuildRequires: gtk2-devel, iso-codes-devel, libtool, unique-devel, gtk3-devel, unique3-devel
Requires: fcitx
%description
fcitx-config-gtk and fcitx-config-gtk3 are Gtk based configuring tools for
Fcitx.
%prep
%setup -q -n %{name}-%{version}
%build
mkdir -pv build
pushd build
%cmake -DENABLE_GTK3=ON -DENABLE_GTK2=ON ..
make %{?_smp_mflags} VERBOSE=1
%install
pushd build
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
popd
%find_lang %{name}
%files -f %{name}.lang
%doc README
%license COPYING
%{_bindir}/*
%changelog
* Tue Dec 22 2020 weidong <weidong@uniontech.com> - 0.4.10-1
- Initial Package