Name: fcitx-configtool
Version: 0.4.8
Release: 2%{?dist}
Summary: Gtk configuretool for Fcitx
Group: System Environment/Libraries
License: GPLv2+
URL: https://fcitx-im.org/wiki/Fcitx
Source0: http://download.fcitx-im.org/fcitx-configtool/%{name}-%{version}.tar.xz
BuildRequires: cmake, fcitx-devel, gettext, intltool, libxml2-devel
BuildRequires: gtk2-devel, iso-codes-devel, libtool, unique-devel
BuildRequires: gtk3-devel, unique3-devel
Requires: fcitx
%description
Fcitx-config Gtk based configure tool for fcitx.
KDE Version see fcitx-config-kde4 or kcm-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
rm -rf $RPM_BUILD_ROOT
pushd build
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
popd
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc
%{_bindir}/*
%changelog
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Oct 1 2015 Robin Lee <cheeselee@fedoraproject.org> - 0.4.8-1
- Update to 0.4.8 (BZ#1230892)
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.7-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Mon Jul 08 2013 Liang Suilong <liangsuilong@gmail.com> - 0.4.7-1
- Upstream to fcitx-configtool-0.4.7
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Nov 28 2012 Liang Suilong <liangsuilong@gmail.com> - 0.4.5.1-1
- Upstream to fcitx-configtool-0.4.5.1
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jun 07 2012 Liang Suilong <liangsuilong@gmail.com> - 0.4.4-1
- Upstream to fcitx-configtool-0.4.4
* Tue May 12 2012 Liang Suilong <liangsuilong@gmail.com> - 0.4.3-2
- Fix Segenttation Fault on GTK3
* Sat May 12 2012 Liang Suilong <liangsuilong@gmail.com> - 0.4.3-1
- Upstream to 0.4.3
* Fri Mar 09 2012 Liang Suilong <liangsuilong@gmail.com> - 0.4.1-1
- Upstream to 0.4.1
* Sun Feb 26 2012 Liang Suilong <liangsuilong@gmail.com> - 0.4.0-1
- Initial Package