[fcitx-configtool] Initial Release for fcitx-configtool
Liang Suilong
liangsuilong at fedoraproject.org
Tue May 22 14:26:01 UTC 2012
commit ba01e13169b36fbe0673f83852a8967a1c229f18
Author: Fedora <fedora at fedora-desktop.(none)>
Date: Tue May 22 22:20:10 2012 +0800
Initial Release for fcitx-configtool
.gitignore | 1 +
fcitx-configtool.spec | 60 +++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c612043 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fcitx-configtool-0.4.3.tar.xz
diff --git a/fcitx-configtool.spec b/fcitx-configtool.spec
new file mode 100644
index 0000000..c430a5b
--- /dev/null
+++ b/fcitx-configtool.spec
@@ -0,0 +1,60 @@
+Name: fcitx-configtool
+Version: 0.4.3
+Release: 1%{?dist}
+Summary: Gtk configuretool for Fcitx
+Group: System Environment/Libraries
+License: GPLv2+
+URL: http://code.google.com/p/fcitx/
+Source0: http://fcitx.googlecode.com/files/%{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 ..
+make %{?_smp_mflags} VERBOSE=1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+pushd build
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+popd
+
+cat << EOF > %{name}.lang
+%lang(zh) /usr/share/locale/zh_TW/LC_MESSAGES/%{name}.mo
+%lang(zh) /usr/share/locale/zh_CN/LC_MESSAGES/%{name}.mo
+EOF
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc README COPYING
+%{_bindir}/*
+
+
+%changelog
+* Sat May 12 2012 Liang Suilong <liangsuilong at gmail.com> - 0.4.3-1
+- Upstream to 0.4.3
+
+* Fri Mar 09 2012 Liang Suilong <liangsuilong at gmail.com> - 0.4.1-1
+- Upstream to 0.4.1
+
+* Sun Feb 26 2012 Liang Suilong <liangsuilong at gmail.com> - 0.4.0-1
+- Initial Package
diff --git a/sources b/sources
index e69de29..2020311 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2183c13c9571edad5b4f0c8a3d1aa599 fcitx-configtool-0.4.3.tar.xz
More information about the scm-commits
mailing list