Accepting request 60813 from home:vuntz:branches:GNOME:Factory

Forwarding to openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/60813
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgnomekbd?expand=0&rev=47
This commit is contained in:
Vincent Untz 2011-02-13 21:13:36 +00:00 committed by Git OBS Bridge
parent 426c58b22f
commit f147bcc156
2 changed files with 22 additions and 7 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Feb 13 16:47:00 CET 2011 - vuntz@opensuse.org
- Call relevant macros in %post/%postun:
+ %desktop_database_post/postun because the package ships at
least one desktop file.
- Pass %{?no_lang_C} to %find_lang so that english documentation
can be packaged with the program, and not in the lang subpackage.
- Change Requires of lang subpackage to Recommends, since the
english documentation is not there anymore.
-------------------------------------------------------------------
Tue Sep 28 00:40:12 CEST 2010 - vuntz@opensuse.org

View File

@ -34,7 +34,7 @@ BuildRequires: intltool
BuildRequires: libxklavier-devel
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
Recommends: %{name}-lang = %{version}
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq
@ -71,7 +71,7 @@ translation-update-upstream
%endif
%{__rm} -f %{buildroot}%{_libdir}/*.la
%suse_update_desktop_file gkbd-indicator-plugins-capplet
%find_lang %{name}
%find_lang %{name} %{?no_lang_C}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
%fdupes %{buildroot}
@ -81,22 +81,26 @@ rm -rf %{buildroot}
%pre -f %{name}.schemas_pre
%post -p /sbin/ldconfig
%post
/sbin/ldconfig
%desktop_database_post
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%postun -p /sbin/ldconfig
%postun
/sbin/ldconfig
%desktop_database_postun
%files -f %{name}.lst
%defattr(-, root, root)
# NEWS README are empty
%doc AUTHORS COPYING.LIB ChangeLog ChangeLog.libgswitchit ChangeLog.libkbdraw
%{_bindir}/*
%{_bindir}/gkbd-indicator-plugins-capplet
%{_libdir}/*so.*
%{_datadir}/applications/*.desktop
%{_datadir}/libgnomekbd
%{_datadir}/applications/gkbd-indicator-plugins-capplet.desktop
%{_datadir}/libgnomekbd/
%files lang -f %{name}.lang