commit gnokii for openSUSE:Factory
Hello community, here is the log from the commit of package gnokii for openSUSE:Factory checked in at Mon Feb 14 01:14:34 CET 2011. -------- --- gnokii/gnokii.changes 2011-01-18 00:22:09.000000000 +0100 +++ /mounts/work_src_done/STABLE/gnokii/gnokii.changes 2011-02-12 20:28:04.000000000 +0100 @@ -1,0 +2,10 @@ +Sat Feb 12 18:01:22 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. +- Split lang subpackage. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnokii.spec ++++++ --- /var/tmp/diff_new_pack.Vj1UZy/_old 2011-02-14 01:14:28.000000000 +0100 +++ /var/tmp/diff_new_pack.Vj1UZy/_new 2011-02-14 01:14:28.000000000 +0100 @@ -19,7 +19,7 @@ Name: gnokii Version: 0.6.29 -Release: 4 +Release: 5 License: GPLv2+ Summary: Nokia Connectivity Program Url: http://www.gnokii.org/ @@ -43,6 +43,7 @@ BuildRequires: update-desktop-files PreReq: permissions Requires: bluez +Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -91,6 +92,7 @@ phone in Linux. Please read the READMEs in /usr/share/doc/packages/gnokii to find out which models are supported. +%lang_package %prep %setup -q %if 0%{?suse_version} > 1130 @@ -116,7 +118,7 @@ mkdir -p %{buildroot}%{_sysconfdir} sed "s:/usr/local/sbin:%{_sbindir}:g" Docs/sample/gnokiirc > %{buildroot}%{_sysconfdir}/gnokiirc chmod +x %{buildroot}%{_bindir}/sendsms -%find_lang %{name} +%find_lang %{name} %{?no_lang_C} install -D -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/gnokii.xpm %suse_update_desktop_file -i xgnokii Utility TelephonyTools Calendar ContactManagement Office GTK # prepare documentation @@ -133,10 +135,22 @@ %postun -p /sbin/ldconfig +%if 0%{?suse_version} > 1130 + +%post -n xgnokii +%desktop_database_post +%endif + +%if 0%{?suse_version} > 1130 + +%postun -n xgnokii +%desktop_database_postun +%endif + %clean rm -rf %{buildroot} -%files -f %{name}.lang +%files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/gnokiirc %doc COPYING COPYRIGHT ChangeLog MAINTAINERS TODO Docs/* @@ -173,4 +187,6 @@ %{_includedir}/gnokii.h %{_includedir}/gnokii +%files lang -f %{name}.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
participants (1)
-
root@hilbert.suse.de