From 91174bd189009cac3be194e5282121da3dcb49a5 Mon Sep 17 00:00:00 2001 From: Fedora Date: Fri, 17 Dec 2010 19:58:48 +0800 Subject: [PATCH] Upgrade to FCITX 4.0.1 --- fcitx.spec | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/fcitx.spec b/fcitx.spec index 0fc2f22..40e6ae9 100644 --- a/fcitx.spec +++ b/fcitx.spec @@ -2,7 +2,7 @@ Name: fcitx Summary: Free Chinese Input Toy for X (XIM) -Version: 4.0.0 +Version: 4.0.1 Release: 1%{?dist} License: GPLv2+ Group: User Interface/Desktops @@ -13,7 +13,7 @@ BuildRequires: pango-devel dbus-devel BuildRequires: wget intltool chrpath Requires: %{name}-libs = %{version}-%{release} Requires: imsettings -Requires(post): %{_sbindir}/alternatives +Requires(post): %{_sbindir}/alternatives Requires(postun): %{_sbindir}/alternatives %description @@ -55,10 +55,10 @@ rm -f %{buildroot}%{_libdir}/*.la chrpath --delete %{buildroot}%{_bindir}/{*PYMB,mb2org,fcitx,readPYBase} # fix doc path -mkdir __doc -mv %{buildroot}%{_datadir}/%{name}/doc/* __doc -rm -rf %{buildroot}%{_datadir}/%{name}/doc -rm -f __doc/{API.txt,Develop_Readme*,fcitx_trunk.doxyfile} +#mkdir __doc +#mv %{buildroot}%{_datadir}/%{name}/doc/* __doc +#rm -rf %{buildroot}%{_datadir}/%{name}/doc +#rm -f __doc/{API.txt,Develop_Readme*,fcitx_trunk.doxyfile} # install xinput config file install -pm 644 -D %{SOURCE1} %{buildroot}%{_xinputconf} @@ -85,11 +85,24 @@ fi %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog THANKS TODO -%doc __doc/* +#%doc __doc/* %config %{_xinputconf} %{_bindir}/* %{_datadir}/%{name} %{_datadir}/pixmaps/* +%{_datadir}/applications/%{name}-configtool.desktop +%{_datadir}/applications/%{name}.desktop +%{_docdir}/%{name}/ +%{_mandir}/man1/createPYMB.1.gz +%{_mandir}/man1/fcitx-remote.1.gz +%{_mandir}/man1/fcitx.1.gz +%{_mandir}/man1/mb2org.1.gz +%{_mandir}/man1/mb2txt.1.gz +%{_mandir}/man1/readPYBase.1.gz +%{_mandir}/man1/readPYMB.1.gz +%{_mandir}/man1/scel2org.1.gz +%{_mandir}/man1/txt2mb.1.gz + %files libs %defattr(-,root,root,-) @@ -104,6 +117,9 @@ fi %{_includedir}/fcitx* %changelog +* Fri Dec 17 2010 Liang Suilong - 4.0.1-1 +- Update to 4.0.1 + * Fri Nov 19 2010 Chen Lei - 4.0.0-1 - Update to 4.0.0