Fedora 93bc4c8
Name:		kcm-fcitx
Fedora 8d34cb5
Version:	0.4.0
Fedora 53b28f5
Release:	2%{?dist}
Fedora 93bc4c8
Summary:	KDE Config Module for Fcitx
Fedora 93bc4c8
Group:		Applications/System
Fedora 93bc4c8
License:	GPLv2+
Fedora 93bc4c8
URL:		http://code.google.com/p/fcitx
Fedora 93bc4c8
Source0:	http://fcitx.googlecode.com/files/%{name}-%{version}.tar.xz
Fedora 93bc4c8
BuildRequires:	kdelibs-devel, fcitx-devel, gettext 
Fedora 53b28f5
BuildRequires:	desktop-file-utils
Fedora 93bc4c8
Requires:	fcitx
Fedora 93bc4c8
Requires:	kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
Fedora 93bc4c8
Fedora 93bc4c8
%description
Fedora 93bc4c8
Kcm-fcitx is a System Settings module to manage
Fedora 93bc4c8
Fcitx.
Fedora 93bc4c8
 
Fedora 93bc4c8
You can config fcitx through 
Fedora 93bc4c8
"Configue Desktop" - "Locale" - Fcitx now.
Fedora 93bc4c8
Fedora 93bc4c8
%prep
Fedora 93bc4c8
%setup -q -n %{name}-%{version}
Fedora 93bc4c8
Fedora 93bc4c8
%build
Fedora 93bc4c8
mkdir -pv build
Fedora 93bc4c8
pushd build
Fedora 93bc4c8
%{cmake_kde4} ..
Fedora 93bc4c8
make %{?_smp_mflags}
Fedora 93bc4c8
popd
Fedora 93bc4c8
Fedora 93bc4c8
%install
Fedora 93bc4c8
rm -rf $RPM_BUILD_ROOT
Fedora 93bc4c8
make install DESTDIR=$RPM_BUILD_ROOT -C build
Fedora 93bc4c8
Fedora 93bc4c8
%find_lang %{name} --all-name --with-kde
Fedora 93bc4c8
Fedora 53b28f5
%check
Fedora 53b28f5
desktop-file-validate %{buildroot}%{_datadir}/applications/kde4/kdb-layout-viewer.desktop
Fedora 53b28f5
Fedora 53b28f5
%post
Fedora 53b28f5
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
Fedora 53b28f5
Fedora 53b28f5
%posttrans
Fedora 53b28f5
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
Fedora 53b28f5
update-desktop-database -q &> /dev/null ||:
Fedora 53b28f5
Fedora 53b28f5
%postun
Fedora 53b28f5
if [ $1 -eq 0 ] ; then
Fedora 53b28f5
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
Fedora 53b28f5
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
Fedora 53b28f5
update-desktop-database -q &> /dev/null ||:
Fedora 53b28f5
fi
Fedora 53b28f5
Fedora 93bc4c8
%files -f %{name}.lang
Fedora 93bc4c8
%doc COPYING
Fedora 44c6bc4
%{_bindir}/kbd-layout-viewer
Fedora 93bc4c8
%{_libdir}/kde4/kcm_fcitx.so
Fedora 44c6bc4
%{_datadir}/applications/kde4/kbd-layout-viewer.desktop
Fedora 93bc4c8
%{_datadir}/kde4/services/kcm_fcitx.desktop
Fedora 93bc4c8
%{_datadir}/config/fcitx-skin.knsrc
Fedora 93bc4c8
Fedora 93bc4c8
%changelog
Fedora 53b28f5
* Sun Jul 29 2012 Liang Suilong <liangsuilong@gmail.com> - 0.4.0-2
Fedora 44c6bc4
- Add kbd-layout-viewer
Fedora 53b28f5
Fedora 8d34cb5
* Sun Jul 29 2012 Liang Suilong <liangsuilong@gmail.com> - 0.4.0-1
Fedora 8d34cb5
- Upstream to kcm-fcitx-0.4.0
Fedora 8d34cb5
fdb2015
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.3-2
fdb2015
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
fdb2015
Fedora 93bc4c8
* Tue May 15 2012 Liang Suilong <liangsuilong@gmail.com> - 0.3.3-1
Fedora 93bc4c8
- Upstream to kcm-fcitx-0.3.3
Fedora 93bc4c8
Fedora 93bc4c8
* Sun Feb 19 2012 Liang Suilong <liangsuilong@gmail.com> - 0.3.0-1
Fedora 93bc4c8
- Initial Release