Hello community,

here is the log from the commit of package gcalctool for openSUSE:Factory 
checked in at 2012-02-16 12:20:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcalctool (Old)
 and      /work/SRC/openSUSE:Factory/.gcalctool.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcalctool", Maintainer is "gnome-maintain...@suse.de"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcalctool/gcalctool.changes      2012-01-25 
10:36:30.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.gcalctool.new/gcalctool.changes 2012-02-16 
12:20:12.000000000 +0100
@@ -1,0 +2,12 @@
+Tue Feb  7 09:37:43 UTC 2012 - vu...@opensuse.org
+
+- Update to version 6.3.5:
+  + Build help with yelp-tools instead of gnome-doc-utils
+- Remove xz BuildRequires now that it comes for free in the build
+  system.
+- Change gnome-doc-utils-devel BuildRequires to yelp-tools,
+  following upstream change.
+- Add the usual hack to correctly detect translated help installed
+  in new directory until %find_lang does it.
+
+-------------------------------------------------------------------

Old:
----
  gcalctool-6.3.4.tar.xz

New:
----
  gcalctool-6.3.5.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gcalctool.spec ++++++
--- /var/tmp/diff_new_pack.Ki0Xp6/_old  2012-02-16 12:20:13.000000000 +0100
+++ /var/tmp/diff_new_pack.Ki0Xp6/_new  2012-02-16 12:20:13.000000000 +0100
@@ -16,8 +16,9 @@
 #
 
 Name:           gcalctool
-Version:        6.3.4
+Version:        6.3.5
 Release:        0
+# FIXME: the %%{_datadir}/help/$locale/ files be found by %%find_lang
 Summary:        A GNOME Calculator Application
 License:        GPL-2.0+
 Group:          Productivity/Scientific/Math
@@ -26,12 +27,10 @@
 BuildRequires:  bison
 BuildRequires:  fdupes
 BuildRequires:  flex
-BuildRequires:  gnome-doc-utils-devel
 BuildRequires:  intltool
 BuildRequires:  translation-update-upstream
 BuildRequires:  update-desktop-files
-# Only needed because we don't (and won't) support building xz tarballs by 
default... See bnc#697467
-BuildRequires:  xz
+BuildRequires:  yelp-tools
 BuildRequires:  pkgconfig(gio-2.0) >= 2.31
 BuildRequires:  pkgconfig(gtk+-3.0) >= 3.0
 BuildRequires:  pkgconfig(libxml-2.0)
@@ -59,6 +58,14 @@
 %endif
 %suse_update_desktop_file -N "Gnome Calculator" -G Calculator %name Calculator
 %find_lang %{name} %{?no_lang_C}
+# Localized help
+for help in %{buildroot}%{_datadir}/help/*/%{name}/; do
+    LOCALE=`echo $help | sed "s:.*%{_datadir}/help/\([^/]*\)/%{name}/:\1:g"`
+    echo "%%lang($LOCALE) %%dir %%{_datadir}/help/$LOCALE" >> 
%{name}.help-lang.tmp
+    echo "%%lang($LOCALE) %%doc /${help##%{buildroot}}" >> 
%{name}.help-lang.tmp
+done
+sort -u %{name}.help-lang.tmp | grep -v "^%%lang(C)" > %{name}.help-lang
+rm %{name}.help-lang.tmp
 %fdupes %{buildroot}
 
 %clean
@@ -75,16 +82,13 @@
 %files
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog NEWS README
-%dir %{_datadir}/gnome/
-%dir %{_datadir}/gnome/help/
-%dir %{_datadir}/gnome/help/%{name}/
-%doc %{_datadir}/gnome/help/%{name}/C/
+%doc %{_datadir}/help/C/%{name}
 %{_bindir}/*
 %{_datadir}/applications/*.desktop
 %{_datadir}/gcalctool/
 %{_datadir}/glib-2.0/schemas/org.gnome.gcalctool.gschema.xml
 %doc %{_mandir}/man?/*.*
 
-%files lang -f %{name}.lang
+%files lang -f %{name}.lang -f %{name}.help-lang
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to