Update to 1.1.0.20090205
This commit is contained in:
parent
f33bbfecc8
commit
1ec38f49d4
@ -1 +1 @@
|
|||||||
ibus-0.1.1.20090203.tar.gz
|
ibus-1.1.0.20090205.tar.gz
|
||||||
|
91
ibus.spec
91
ibus.spec
@ -1,8 +1,8 @@
|
|||||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
%{!?gtk_binary_version: %define gtk_binary_version %(pkg-config --variable=gtk_binary_version gtk+-2.0)}
|
%{!?gtk_binary_version: %define gtk_binary_version %(pkg-config --variable=gtk_binary_version gtk+-2.0)}
|
||||||
%define mod_path ibus-0.1
|
%define mod_path ibus-1.1
|
||||||
Name: ibus
|
Name: ibus
|
||||||
Version: 0.1.1.20090203
|
Version: 1.1.0.20090205
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Intelligent Input Bus for Linux OS
|
Summary: Intelligent Input Bus for Linux OS
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -19,9 +19,13 @@ BuildRequires: gettext-devel
|
|||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
BuildRequires: gtk2-devel
|
BuildRequires: gtk2-devel
|
||||||
|
BuildRequires: dbus-devel
|
||||||
BuildRequires: qt-devel
|
BuildRequires: qt-devel
|
||||||
BuildRequires: dbus-glib-devel
|
BuildRequires: dbus-glib-devel
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: gtk-doc
|
||||||
|
BuildRequires: GConf2-devel
|
||||||
|
BuildRequires: pygobject2-devel
|
||||||
|
|
||||||
Requires(post): desktop-file-utils
|
Requires(post): desktop-file-utils
|
||||||
Requires(post): %{_sbindir}/alternatives
|
Requires(post): %{_sbindir}/alternatives
|
||||||
@ -33,11 +37,13 @@ Requires: pygtk2
|
|||||||
Requires: dbus-python >= 0.83.0
|
Requires: dbus-python >= 0.83.0
|
||||||
Requires: gnome-python2-gconf
|
Requires: gnome-python2-gconf
|
||||||
Requires: notification-daemon
|
Requires: notification-daemon
|
||||||
Requires: imsettings
|
|
||||||
Requires: im-chooser
|
|
||||||
Requires: pyxdg
|
Requires: pyxdg
|
||||||
Requires: iso-codes
|
Requires: iso-codes
|
||||||
|
|
||||||
|
Obsoletes: ibus-anthy <= 1.1.0, ibus-pinyin <= 1.1.0, ibus-m17n <= 1.1.0, ibus-hangul <= 1.1.0, ibus-chewing <= 1.1.0
|
||||||
|
|
||||||
|
%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 a new input framework for Linux OS. It provides
|
||||||
full featured and user friendly input method user interface. It also may help
|
full featured and user friendly input method user interface. It also may help
|
||||||
@ -51,30 +57,42 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
%description gtk
|
%description gtk
|
||||||
This package contains ibus im module for gtk2
|
This package contains ibus im module for gtk2
|
||||||
|
|
||||||
%package qt
|
# %package qt
|
||||||
Summary: IBus im module for qt4
|
# Summary: IBus im module for qt4
|
||||||
Group: System Environment/Libraries
|
# Group: System Environment/Libraries
|
||||||
|
# Requires: %{name} = %{version}-%{release}
|
||||||
|
# Requires: qt >= 4.4.2
|
||||||
|
#
|
||||||
|
# %description qt
|
||||||
|
# This package contains ibus im module for qt4
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development tools for ibus
|
||||||
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: qt >= 4.4.2
|
Requires: glib2-devel
|
||||||
|
Requires: dbus-devel
|
||||||
|
Requires: gtk-doc
|
||||||
|
|
||||||
%description qt
|
%description devel
|
||||||
This package contains ibus im module for qt4
|
The ibus-devel package contains the header files and developer
|
||||||
|
docs for ibus.
|
||||||
%define _xinputconf %{_sysconfdir}/X11/xinit/xinput.d/ibus.conf
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --disable-iso-codes-check
|
%configure --disable-static \
|
||||||
|
--disable-iso-codes-check \
|
||||||
|
--enable-gtk-doc \
|
||||||
|
--disable-qt4-immodule
|
||||||
# make -C po update-gmo
|
# make -C po update-gmo
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make DESTDIR=${RPM_BUILD_ROOT} install
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libibus-gtk.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libibus.la
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libibus-gtk.so
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/%{gtk_binary_version}/immodules/im-ibus.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/%{gtk_binary_version}/immodules/im-ibus.la
|
||||||
|
|
||||||
# install xinput config file
|
# install xinput config file
|
||||||
@ -82,8 +100,6 @@ mkdir -pm 755 ${RPM_BUILD_ROOT}/%{_sysconfdir}/X11/xinit/xinput.d
|
|||||||
install -pm 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_xinputconf}
|
install -pm 644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_xinputconf}
|
||||||
|
|
||||||
# install .desktop files
|
# install .desktop files
|
||||||
echo "NoDisplay=true" >> $RPM_BUILD_ROOT%{_datadir}/applications/ibus.desktop
|
|
||||||
echo "NoDisplay=true" >> $RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup.desktop
|
|
||||||
desktop-file-install --delete-original \
|
desktop-file-install --delete-original \
|
||||||
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||||
$RPM_BUILD_ROOT%{_datadir}/applications/*
|
$RPM_BUILD_ROOT%{_datadir}/applications/*
|
||||||
@ -94,14 +110,15 @@ desktop-file-install --delete-original \
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
update-desktop-database -q
|
update-desktop-database -q
|
||||||
%{_sbindir}/alternatives --install %{_sysconfdir}/X11/xinit/xinputrc xinputrc %{_xinputconf} 83 || :
|
%{_sbindir}/alternatives --install %{_sysconfdir}/X11/xinit/xinputrc xinputrc %{_xinputconf} 83 || :
|
||||||
|
|
||||||
%post gtk
|
%post gtk
|
||||||
/sbin/ldconfig
|
|
||||||
%{_bindir}/update-gtk-immodules %{_host} || :
|
%{_bindir}/update-gtk-immodules %{_host} || :
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
update-desktop-database -q
|
update-desktop-database -q
|
||||||
if [ "$1" = "0" ]; then
|
if [ "$1" = "0" ]; then
|
||||||
%{_sbindir}/alternatives --remove xinputrc %{_xinputconf} || :
|
%{_sbindir}/alternatives --remove xinputrc %{_xinputconf} || :
|
||||||
@ -110,7 +127,6 @@ if [ "$1" = "0" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%postun gtk
|
%postun gtk
|
||||||
/sbin/ldconfig
|
|
||||||
%{_bindir}/update-gtk-immodules %{_host} || :
|
%{_bindir}/update-gtk-immodules %{_host} || :
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
@ -119,37 +135,36 @@ fi
|
|||||||
%dir %{python_sitelib}/ibus
|
%dir %{python_sitelib}/ibus
|
||||||
%{python_sitelib}/ibus/*
|
%{python_sitelib}/ibus/*
|
||||||
%dir %{_datadir}/ibus/
|
%dir %{_datadir}/ibus/
|
||||||
%dir %{_datadir}/ibus/daemon/
|
%{_bindir}/ibus-daemon
|
||||||
%dir %{_datadir}/ibus/gconf/
|
|
||||||
%dir %{_datadir}/ibus/ui/
|
|
||||||
%dir %{_datadir}/ibus/setup/
|
|
||||||
%dir %{_datadir}/ibus/engine/
|
|
||||||
%dir %{_datadir}/ibus/icons/
|
|
||||||
%{_bindir}/ibus
|
|
||||||
%{_bindir}/ibus-setup
|
%{_bindir}/ibus-setup
|
||||||
%{_datadir}/ibus/daemon/*
|
%{_libdir}/libibus.so*
|
||||||
%{_datadir}/ibus/gconf/*
|
%{_datadir}/ibus/*
|
||||||
%{_datadir}/ibus/ui/*
|
|
||||||
%{_datadir}/ibus/setup/*
|
|
||||||
%{_datadir}/ibus/icons/*
|
|
||||||
%{_datadir}/applications/*
|
%{_datadir}/applications/*
|
||||||
%{_datadir}/pixmaps/*
|
%{_datadir}/pixmaps/*
|
||||||
%{_bindir}/ibus-x11
|
%{_libexecdir}/ibus-gconf
|
||||||
%{_bindir}/ibus-daemon
|
%{_libexecdir}/ibus-ui-gtk
|
||||||
%{_bindir}/ibus-gconf
|
%{_libexecdir}/ibus-x11
|
||||||
%{_bindir}/ibus-ui-gtk
|
|
||||||
%config %{_xinputconf}
|
%config %{_xinputconf}
|
||||||
|
|
||||||
%files gtk
|
%files gtk
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libibus-gtk.so*
|
|
||||||
%{_libdir}/gtk-2.0/%{gtk_binary_version}/immodules/im-ibus.so
|
%{_libdir}/gtk-2.0/%{gtk_binary_version}/immodules/im-ibus.so
|
||||||
|
|
||||||
%files qt
|
# %files qt
|
||||||
|
# %defattr(-,root,root,-)
|
||||||
|
# %{_libdir}/qt4/plugins/inputmethods/libibus.so
|
||||||
|
|
||||||
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/qt4/plugins/inputmethods/libibus.so
|
%{_libdir}/lib*.so
|
||||||
|
%{_includedir}/*
|
||||||
|
%{_datadir}/gtk-doc/html/*
|
||||||
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 05 2009 Huang Peng <shawn.p.huang@gmail.com> - 1.1.0.20090205-1
|
||||||
|
- Update to 1.1.0.20090205.
|
||||||
|
|
||||||
* Tue Feb 03 2009 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20090203-1
|
* Tue Feb 03 2009 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20090203-1
|
||||||
- Update to 0.1.1.20090203.
|
- Update to 0.1.1.20090203.
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
8925808933024a70c29908461180b65a ibus-0.1.1.20090203.tar.gz
|
8968f3a47b33feebad3479a1a567b44e ibus-1.1.0.20090205.tar.gz
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
XIM=ibus
|
XIM=ibus
|
||||||
XIM_PROGRAM="/usr/bin/ibus"
|
XIM_PROGRAM="/usr/bin/ibus-daemon"
|
||||||
ICON="/usr/share/ibus/icons/ibus.svg"
|
ICON="/usr/share/ibus/icons/ibus.svg"
|
||||||
# XIM_ARGS="0xffffffff"
|
# XIM_ARGS="0xffffffff"
|
||||||
PREFERENCE_PROGRAM=/usr/bin/ibus-setup
|
PREFERENCE_PROGRAM=/usr/bin/ibus-setup
|
||||||
SHORT_DESC="iBus"
|
SHORT_DESC="IBus"
|
||||||
GTK_IM_MODULE=ibus
|
GTK_IM_MODULE=ibus
|
||||||
QT_IM_MODULE=ibus
|
# QT_IM_MODULE=ibus
|
||||||
|
Loading…
Reference in New Issue
Block a user