Initial Package
This commit is contained in:
parent
75ab348281
commit
de1fb90fbc
BIN
fcitx-configtool-0.4.10.tar.xz
Normal file
BIN
fcitx-configtool-0.4.10.tar.xz
Normal file
Binary file not shown.
43
fcitx-configtool.spec
Normal file
43
fcitx-configtool.spec
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user