forked from pool/gbrainy
Accepting request 60744 from home:vuntz:branches:GNOME:Apps
Forwarding to openSUSE:Factory OBS-URL: https://build.opensuse.org/request/show/60744 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gbrainy?expand=0&rev=26
This commit is contained in:
parent
8b23c828b1
commit
8d2b7823e0
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 10 15:09:16 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.
|
||||||
|
- Use %{?no_lang_C} instead of %no_lang_C to fix build on 11.3 and
|
||||||
|
earlier.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 26 19:38:18 UTC 2011 - dimstar@opensuse.org
|
Wed Jan 26 19:38:18 UTC 2011 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
16
gbrainy.spec
16
gbrainy.spec
@ -83,7 +83,7 @@ make
|
|||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
%suse_update_desktop_file %name Game
|
%suse_update_desktop_file %name Game
|
||||||
%find_lang %{name} %no_lang_C
|
%find_lang %{name} %{?no_lang_C}
|
||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
||||||
# It's not the right size: 32x32
|
# It's not the right size: 32x32
|
||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/gbrainy.png
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/gbrainy.png
|
||||||
@ -93,9 +93,23 @@ rm %{buildroot}%{_libdir}/pkgconfig/gbrainy.pc
|
|||||||
%clean
|
%clean
|
||||||
rm -rf "$RPM_BUILD_ROOT"
|
rm -rf "$RPM_BUILD_ROOT"
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1130
|
||||||
|
%post
|
||||||
|
%desktop_database_post
|
||||||
|
%icon_theme_cache_post
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1130
|
||||||
|
%postun
|
||||||
|
%desktop_database_postun
|
||||||
|
%icon_theme_cache_postun
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS NEWS README COPYING
|
%doc AUTHORS NEWS README COPYING
|
||||||
|
%dir %{_datadir}/gnome/
|
||||||
|
%dir %{_datadir}/gnome/help/
|
||||||
%dir %{_datadir}/gnome/help/gbrainy/
|
%dir %{_datadir}/gnome/help/gbrainy/
|
||||||
%doc %{_datadir}/gnome/help/gbrainy/C/
|
%doc %{_datadir}/gnome/help/gbrainy/C/
|
||||||
%{_bindir}/gbrainy
|
%{_bindir}/gbrainy
|
||||||
|
Loading…
Reference in New Issue
Block a user