Accepting request 60828 from home:vuntz:branches:GNOME:Apps

Forwarding to openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/60828
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gtranslator?expand=0&rev=14
This commit is contained in:
Vincent Untz 2011-02-13 20:57:12 +00:00 committed by Git OBS Bridge
parent 43eb491251
commit 6f5e04f817
2 changed files with 25 additions and 2 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Feb 12 19:14:12 CET 2011 - vuntz@opensuse.org
- Call relevant macros in %post/%postun:
+ %desktop_database_post/postun because the package ships at
least one desktop file.
+ %icon_theme_cache_post/postun because the package ships themed
icons.
- Pass %{?no_lang_C} to %find_lang so that english documentation
can be packaged with the program, and not in the lang subpackage.
- Add Recommends for lang subpackage.
-------------------------------------------------------------------
Wed Dec 8 08:49:42 CET 2010 - vuntz@opensuse.org

View File

@ -48,6 +48,7 @@ BuildRequires: libxml2-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gsettings-desktop-schemas)
Requires: gsettings-desktop-schemas
Recommends: %{name}-lang
%glib2_gsettings_schema_requires
%description
@ -66,7 +67,6 @@ gtranslator is a comfortable po file editor with many bells and whistles.
It features many useful function which ease the work of translators of po
files imminently.
%lang_package
%prep
%setup -q
@ -86,7 +86,7 @@ NOCONFIGURE=1 gnome-autogen.sh
%install
%makeinstall
%suse_update_desktop_file %{name}
%find_lang %{name}
%find_lang %{name} %{?no_lang_C}
%fdupes $RPM_BUILD_ROOT
%clean
@ -94,13 +94,24 @@ NOCONFIGURE=1 gnome-autogen.sh
%post
%glib2_gsettings_schema_post
%desktop_database_post
%icon_theme_cache_post
%postun
%glib2_gsettings_schema_postun
%desktop_database_postun
%icon_theme_cache_postun
%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING NEWS README THANKS
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/%{name}/
%doc %{_datadir}/gnome/help/%{name}/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/%{name}/
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
%doc %{_mandir}/man?/*
%{_bindir}/%{name}
%{_libdir}/%{name}/