Accepting request 155901 from home:ftake:branches:M17N
Add a shell extension for GNOME 3.6 OBS-URL: https://build.opensuse.org/request/show/155901 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=58
This commit is contained in:
15
ibus.spec
15
ibus.spec
@@ -33,7 +33,10 @@ Patch0: ibus-python-install-dir.patch
|
||||
Patch1: ibus-fix-default-preload-engines.patch
|
||||
# PATCH-FIX-OPENSUSE ibus-fix-docs-build-error.patch
|
||||
Patch2: ibus-fix-docs-build-error.patch
|
||||
# PATCH-FIX-OPENSUSE ibus-fix-tray-icon-on-gnome-3.6.patch
|
||||
Patch3: ibus-fix-tray-icon-on-gnome-3.6.patch
|
||||
# PATCH-FIX-OPENSUSE ibus_indicator-14.patch
|
||||
Patch4: ibus_indicator-14.patch
|
||||
Summary: Intelligent Input Bus for Linux OS
|
||||
License: LGPL-2.1+
|
||||
Group: System/I18n/Chinese
|
||||
@@ -134,6 +137,7 @@ docs for ibus.
|
||||
%patch2 -p1
|
||||
%if 0%{suse_version} >= 1230
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
@@ -188,6 +192,11 @@ ln -sf %{_datadir}/icons/hicolor/48x48/apps/ibus-keyboard.png \
|
||||
cat %{name}.schemas_list %{domain_name}.lang > %{name}.lst
|
||||
%fdupes -s $RPM_BUILD_ROOT
|
||||
|
||||
%if 0%{suse_version} >= 1230
|
||||
install -m755 -d %{buildroot}%{_datadir}/gnome-shell/extensions/ibus_indicator-14@ftake.github.com
|
||||
install -m644 ibus_indicator-14@ftake.github.com/* %{buildroot}%{_datadir}/gnome-shell/extensions/ibus_indicator-14@ftake.github.com
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf %buildroot
|
||||
|
||||
@@ -232,6 +241,12 @@ rm -rf %buildroot
|
||||
%{_datadir}/icons/hicolor/*/apps/*
|
||||
%{_datadir}/pixmaps/*
|
||||
%{_prefix}/%{_lib}/ibus
|
||||
%if 0%{suse_version} >= 1230
|
||||
%dir %{_datadir}/gnome-shell/
|
||||
%dir %{_datadir}/gnome-shell/extensions/
|
||||
%dir %{_datadir}/gnome-shell/extensions/ibus_indicator-14@ftake.github.com/
|
||||
%{_datadir}/gnome-shell/extensions/ibus_indicator-14@ftake.github.com/*
|
||||
%endif
|
||||
|
||||
%files -n libibus-1_0-0
|
||||
%defattr(-,root,root,-)
|
||||
|
Reference in New Issue
Block a user