Fix rpmlint warnings and errors
This commit is contained in:
parent
14eda973e3
commit
0f1a80e1d2
22
ibus.spec
22
ibus.spec
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Name: ibus
|
Name: ibus
|
||||||
Version: 1.2.0.20091204
|
Version: 1.2.0.20091204
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Intelligent Input Bus for Linux OS
|
Summary: Intelligent Input Bus for Linux OS
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -59,9 +59,7 @@ Obsoletes: ibus-qt < 1.1.0
|
|||||||
%define _xinputconf %{_sysconfdir}/X11/xinit/xinput.d/ibus.conf
|
%define _xinputconf %{_sysconfdir}/X11/xinit/xinput.d/ibus.conf
|
||||||
|
|
||||||
%description
|
%description
|
||||||
IBus means Intelligent Input Bus. It is a new input framework for Linux OS. It provides
|
IBus means Intelligent Input Bus. It is an input framework for Linux OS.
|
||||||
full featured and user friendly input method user interface. It also may help
|
|
||||||
developers to develop input method easily.
|
|
||||||
|
|
||||||
%package libs
|
%package libs
|
||||||
Summary: IBus libraries
|
Summary: IBus libraries
|
||||||
@ -109,7 +107,7 @@ The ibus-devel-docs package contains developer documentation for ibus
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
--disable-iso-codes-check \
|
--disable-iso-codes-check \
|
||||||
--enable-gtk-doc \
|
--enable-gtk-doc \
|
||||||
--disable-qt4-immodule
|
--disable-qt4-immodule
|
||||||
# make -C po update-gmo
|
# make -C po update-gmo
|
||||||
@ -151,14 +149,14 @@ gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/ibus.schemas >&
|
|||||||
|
|
||||||
%pre
|
%pre
|
||||||
if [ "$1" -gt 1 ]; then
|
if [ "$1" -gt 1 ]; then
|
||||||
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||||
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/ibus.schemas >& /dev/null || :
|
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/ibus.schemas >& /dev/null || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" -eq 0 ]; then
|
if [ "$1" -eq 0 ]; then
|
||||||
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||||
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/ibus.schemas >& /dev/null || :
|
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/ibus.schemas >& /dev/null || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
@ -220,9 +218,13 @@ fi
|
|||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%files devel-docs
|
%files devel-docs
|
||||||
|
%defattr(-,root,root,-)
|
||||||
%{_datadir}/gtk-doc/html/*
|
%{_datadir}/gtk-doc/html/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 10 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.2001204-2
|
||||||
|
- Fix rpmlint warnings and errors.
|
||||||
|
|
||||||
* Fri Dec 04 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.2001204-1
|
* Fri Dec 04 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.2001204-1
|
||||||
- Update to 1.2.0.20091204
|
- Update to 1.2.0.20091204
|
||||||
- Fix Bug 529920 - language panel pops up on the wrong monitor
|
- Fix Bug 529920 - language panel pops up on the wrong monitor
|
||||||
@ -423,7 +425,7 @@ fi
|
|||||||
|
|
||||||
* Tue Feb 25 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090225-1
|
* Tue Feb 25 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090225-1
|
||||||
- Update to ibus-1.1.0.20090225.
|
- Update to ibus-1.1.0.20090225.
|
||||||
- Fix problems in %post and %postun scripts.
|
- Fix problems in %%post and %%postun scripts.
|
||||||
- Hide ibus & ibus preferences menu items.
|
- Hide ibus & ibus preferences menu items.
|
||||||
|
|
||||||
* Tue Feb 17 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090211-10
|
* Tue Feb 17 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.1.0.20090211-10
|
||||||
|
Loading…
Reference in New Issue
Block a user