commit genius for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package genius for openSUSE:Factory checked in at Mon Feb 14 01:32:39 CET 2011. -------- --- GNOME/genius/genius.changes 2010-11-25 19:05:58.000000000 +0100 +++ /mounts/work_src_done/STABLE/genius/genius.changes 2011-02-12 20:27:50.000000000 +0100 @@ -1,0 +2,17 @@ +Sat Feb 12 17:27: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. + + %mime_database_post/postun because the package ships a mime + type definition. +- 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. +- Remove shared-mime-info Requires: if it's not there, then we + simply don't need to update the mime database. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ genius.spec ++++++ --- /var/tmp/diff_new_pack.t6ehg0/_old 2011-02-14 01:32:30.000000000 +0100 +++ /var/tmp/diff_new_pack.t6ehg0/_new 2011-02-14 01:32:30.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package genius (Version 1.0.12) +# spec file for package genius # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Name: genius Version: 1.0.12 -Release: 1 +Release: 2 License: GPLv3+ Summary: General purpose calculator and mathematics tool Group: Productivity/Scientific/Math @@ -37,8 +37,7 @@ BuildRequires: scrollkeeper BuildRequires: update-desktop-files BuildRequires: vte-devel -Requires: %{name}-lang = %{version} -Requires(pre): shared-mime-info +Recommends: %{name}-lang %description Genius is a general purpose calculator program similar in some aspects @@ -105,22 +104,34 @@ rm %{buildroot}%{_datadir}/mime-info/genius.* # Change sr@Latn to sr@latin mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin -%find_lang %{name} +%find_lang %{name} %{?no_lang_C} %suse_update_desktop_file gnome-genius %fdupes %{buildroot}%{_datadir}/genius +%clean +rm -rf %{buildroot} + %post +%if 0%{?suse_version} > 1130 +%desktop_database_post +%icon_theme_cache_post +%mime_database_post +%else if test -x usr/bin/update-mime-database ; then usr/bin/update-mime-database usr/share/mime >/dev/null fi +%endif -%postun +%postun -n gnome-genius +%if 0%{?suse_version} > 1130 +%desktop_database_postun +%icon_theme_cache_postun +%mime_database_postun +%else if test -x usr/bin/update-mime-database ; then usr/bin/update-mime-database usr/share/mime >/dev/null fi - -%clean -rm -rf %{buildroot} +%endif %files %defattr(-,root,root) @@ -130,6 +141,13 @@ %files -n gnome-genius %defattr(-,root,root) +%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 %{_bindir}/gnome-genius %{_prefix}/lib/genius %{_datadir}/applications/gnome-genius.desktop ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de