Hello community, here is the log from the commit of package giver for openSUSE:Factory checked in at Mon Feb 14 01:43:12 CET 2011. -------- --- GNOME/giver/giver.changes 2009-08-26 16:06:28.000000000 +0200 +++ /mounts/work_src_done/STABLE/giver/giver.changes 2011-02-12 20:24:36.000000000 +0100 @@ -1,0 +2,12 @@ +Sat Feb 12 17:48:33 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. +- Split lang subpackage. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ giver.spec ++++++ --- /var/tmp/diff_new_pack.sTqcZc/_old 2011-02-14 01:43:06.000000000 +0100 +++ /var/tmp/diff_new_pack.sTqcZc/_new 2011-02-14 01:43:06.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package giver (Version 0.1.8) +# spec file for package giver # -# Copyright (c) 2009 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 @@ -23,10 +23,11 @@ BuildRequires: avahi-mono fdupes gnome-sharp2 gtk-sharp2 gtk2-devel mono-devel monodoc ndesk-dbus ndesk-dbus-glib notify-sharp perl-XML-Parser pkg-config update-desktop-files BuildArch: noarch Version: 0.1.8 -Release: 206 +Release: 214 License: MIT License (or similar) BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: ndesk-dbus ndesk-dbus-glib notify-sharp avahi-mono +Recommends: %{name}-lang Source: %{name}-%{version}.tar.bz2 Patch: bnc-326064.txt Group: Productivity/Networking/File-Sharing @@ -36,12 +37,7 @@ Giver is a simple desktop file sharing application based that uses Avahi and http to advertise and transfer files. - - -Authors: --------- - Calvin Gaisford (calvinrg@gmail.com) - +%lang_package %prep %setup %patch -p1 @@ -51,26 +47,39 @@ make %{?jobs:-j%jobs} %install -make DESTDIR="$RPM_BUILD_ROOT" install +%make_install %suse_update_desktop_file -N "Giver" %name System Network -%find_lang giver +%find_lang giver %{?no_lang_C} %if %suse_version > 1020 %fdupes -s $RPM_BUILD_ROOT %endif %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 -%files -f giver.lang +%postun +%desktop_database_postun +%icon_theme_cache_postun +%endif + +%files %defattr(-,root,root) -%dir %{_prefix}/lib/giver -%{_prefix}/lib/giver/* +%{_prefix}/lib/giver/ %{_bindir}/giver -%dir %{_datadir}/giver -%{_datadir}/giver/* -%{_datadir}/icons/* +%{_datadir}/giver/ +%{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/pixmaps/* -### %{_datadir}/locale/* %{_datadir}/applications/* +%files lang -f giver.lang + %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org