diff --git a/.gitignore b/.gitignore index e69de29..2ac4fd2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/kcm-fcitx-0.3.3.tar.xz diff --git a/kcm-fcitx.spec b/kcm-fcitx.spec new file mode 100644 index 0000000..a7d7483 --- /dev/null +++ b/kcm-fcitx.spec @@ -0,0 +1,47 @@ +Name: kcm-fcitx +Version: 0.3.3 +Release: 1%{?dist} +Summary: KDE Config Module for Fcitx +Group: Applications/System +License: GPLv2+ +URL: http://code.google.com/p/fcitx +Source0: http://fcitx.googlecode.com/files/%{name}-%{version}.tar.xz +BuildRequires: kdelibs-devel, fcitx-devel, gettext +Requires: fcitx +Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}} + +%description +Kcm-fcitx is a System Settings module to manage +Fcitx. + +You can config fcitx through +"Configue Desktop" - "Locale" - Fcitx now. + +%prep +%setup -q -n %{name}-%{version} + +%build +mkdir -pv build +pushd build +%{cmake_kde4} .. +make %{?_smp_mflags} +popd + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT -C build + +%find_lang %{name} --all-name --with-kde + +%files -f %{name}.lang +%doc COPYING +%{_libdir}/kde4/kcm_fcitx.so +%{_datadir}/kde4/services/kcm_fcitx.desktop +%{_datadir}/config/fcitx-skin.knsrc + +%changelog +* Tue May 15 2012 Liang Suilong - 0.3.3-1 +- Upstream to kcm-fcitx-0.3.3 + +* Sun Feb 19 2012 Liang Suilong - 0.3.0-1 +- Initial Release diff --git a/sources b/sources index e69de29..7636c86 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b4fb11250f2e13e353785c95e82c925e kcm-fcitx-0.3.3.tar.xz