Upgrade to FCITX 4.0.1

This commit is contained in:
Fedora 2010-12-17 19:58:48 +08:00
parent 5d0874a4b5
commit 91174bd189

View File

@ -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 <liangsuilong@gmail.com> - 4.0.1-1
- Update to 4.0.1
* Fri Nov 19 2010 Chen Lei <supercyper@163.com> - 4.0.0-1
- Update to 4.0.0