Accepting request 87484 from home:ftake:branches:M17N
Upstream update to 1.4.0 libibus2 is renamed. OBS-URL: https://build.opensuse.org/request/show/87484 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=28
This commit is contained in:
26
ibus.spec
26
ibus.spec
@@ -18,9 +18,10 @@
|
||||
|
||||
%define build_gtk3 (0%{suse_version} >= 1140)
|
||||
%define build_without_dbus_autolaunch (0%{suse_version} >= 1210)
|
||||
%define domain_name %{name}10
|
||||
|
||||
Name: ibus
|
||||
Version: 1.3.9
|
||||
Version: 1.4.0
|
||||
Release: 5
|
||||
License: LGPL V2+
|
||||
Url: http://code.google.com/p/ibus/
|
||||
@@ -30,8 +31,6 @@ Source2: ibus-README.suse
|
||||
Source3: xim.ibus.suse.template
|
||||
Source4: xim.d-ibus-121
|
||||
Patch0: ibus-python-install-dir.patch
|
||||
#Patch1: ibus-disable-portability-check.patch
|
||||
#Patch2: ibus-disable-introspect.patch
|
||||
Group: System/I18n/Chinese
|
||||
Summary: Intelligent Input Bus for Linux OS
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -53,12 +52,13 @@ IBus means Intelligent Input Bus. It is a new input framework for Linux OS. It p
|
||||
full featured and user friendly input method user interface. It also may help
|
||||
developers to develop input method easily.
|
||||
|
||||
%package -n libibus2
|
||||
%package -n libibus-1_0-0
|
||||
License: LGPL V2+
|
||||
Summary: IBus libraries
|
||||
Group: System/I18n/Chinese
|
||||
Obsoletes: libibus2 < %{version}
|
||||
|
||||
%description -n libibus2
|
||||
%description -n libibus-1_0-0
|
||||
This package contains the libraries for IBus
|
||||
|
||||
%package gtk
|
||||
@@ -90,8 +90,8 @@ This package contains ibus im module for gtk3
|
||||
%package devel
|
||||
License: LGPL V2+
|
||||
Summary: Development tools for ibus
|
||||
Group: Development/Libraries/other
|
||||
Requires: libibus2 = %{version}
|
||||
Group: Development/Libraries/Other
|
||||
Requires: libibus-1_0-0 = %{version}
|
||||
Requires: glib2-devel
|
||||
Requires: dbus-1-devel
|
||||
Requires: gtk-doc
|
||||
@@ -144,7 +144,7 @@ pushd $RPM_BUILD_ROOT/etc/X11/xim.d/
|
||||
popd
|
||||
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/gtk-2.0/%{gtk_binary_version}/immodules/im-ibus.*a
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/libibus.*a
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/libibus-*.*a
|
||||
|
||||
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/ibus.desktop
|
||||
|
||||
@@ -154,9 +154,9 @@ ln -sf %{_datadir}/icons/hicolor/48x48/apps/ibus-keyboard.png \
|
||||
%suse_update_desktop_file %name Utility DesktopUtility
|
||||
%suse_update_desktop_file ibus-setup System SystemSetup
|
||||
|
||||
%find_lang %{name}
|
||||
%find_lang %{domain_name}
|
||||
%find_gconf_schemas
|
||||
cat %{name}.schemas_list %{name}.lang > %{name}.lst
|
||||
cat %{name}.schemas_list %{domain_name}.lang > %{name}.lst
|
||||
%fdupes -s $RPM_BUILD_ROOT
|
||||
|
||||
%clean
|
||||
@@ -174,9 +174,9 @@ rm -rf %buildroot
|
||||
%postun gtk
|
||||
%gtk2_immodule_postun
|
||||
|
||||
%post -n libibus2 -p /sbin/ldconfig
|
||||
%post -n libibus-1_0-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libibus2 -p /sbin/ldconfig
|
||||
%postun -n libibus-1_0-0 -p /sbin/ldconfig
|
||||
|
||||
%if %{build_gtk3}
|
||||
|
||||
@@ -204,7 +204,7 @@ rm -rf %buildroot
|
||||
%{_datadir}/pixmaps/*
|
||||
%{_prefix}/%{_lib}/ibus
|
||||
|
||||
%files -n libibus2
|
||||
%files -n libibus-1_0-0
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_libdir}/girepository-1.0/IBus-1.0.typelib
|
||||
|
Reference in New Issue
Block a user