Hello community,

here is the log from the commit of package gedit for openSUSE:Factory checked 
in at 2012-02-28 19:22:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gedit (Old)
 and      /work/SRC/openSUSE:Factory/.gedit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/gedit/gedit.changes      2012-02-21 
12:18:54.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.gedit.new/gedit.changes 2012-02-28 
19:22:05.000000000 +0100
@@ -1,0 +2,14 @@
+Thu Feb 23 07:10:33 UTC 2012 - vu...@opensuse.org
+
+- Update to version 3.3.4:
+  + Fix many memory leaks
+  + Use Yelp Tools for docs generation
+  + Docs updates
+  + Misc bugfixes
+  + Updated translations.
+- Change gnome-doc-utils-devel BuildRequires to yelp-tools,
+  following the build system change for user documentation.
+- Manually list the translated help documents as %find_lang doesn't
+  support the new XDG help system yet.
+
+-------------------------------------------------------------------

Old:
----
  gedit-3.3.3.tar.xz

New:
----
  gedit-3.3.4.tar.xz

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

Other differences:
------------------
++++++ gedit.spec ++++++
--- /var/tmp/diff_new_pack.ZKVqx3/_old  2012-02-28 19:22:07.000000000 +0100
+++ /var/tmp/diff_new_pack.ZKVqx3/_new  2012-02-28 19:22:07.000000000 +0100
@@ -17,8 +17,9 @@
 
 
 Name:           gedit
-Version:        3.3.3
+Version:        3.3.4
 Release:        0
+# FIXME: the %%{_datadir}/help/$locale/ files be found by %%find_lang
 Summary:        Small and lightweight UTF-8 text editor
 License:        GPL-2.0+
 Group:          Productivity/Text/Editors
@@ -29,12 +30,12 @@
 BuildRequires:  enchant-devel
 BuildRequires:  fdupes
 BuildRequires:  gettext
-BuildRequires:  gnome-doc-utils-devel
 BuildRequires:  gtk-doc
 BuildRequires:  intltool
 BuildRequires:  iso-codes-devel
 BuildRequires:  translation-update-upstream
 BuildRequires:  update-desktop-files
+BuildRequires:  yelp-tools
 BuildRequires:  pkgconfig(gsettings-desktop-schemas)
 BuildRequires:  pkgconfig(gtksourceview-3.0)
 BuildRequires:  pkgconfig(ice)
@@ -94,10 +95,18 @@
 
 %install
 %makeinstall
-%suse_update_desktop_file -N gedit -G "Text Editor" gedit TextEditor
-%find_lang %{name} %{?no_lang_C}
 rm %{buildroot}%{_libdir}/*/*/*.*a
 rm %{buildroot}%{_libdir}/*.la
+%suse_update_desktop_file -N gedit -G "Text Editor" gedit TextEditor
+%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
@@ -116,10 +125,7 @@
 %files
 %defattr(-, root, root)
 %doc AUTHORS BUGS ChangeLog COPYING MAINTAINERS 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}/gedit
 %{_bindir}/gnome-text-editor
 %{_datadir}/applications/*.desktop
@@ -168,7 +174,7 @@
 %{py_sitedir}/gi/overrides/Gedit.py*
 %doc %{_mandir}/man1/gedit*
 
-%files lang -f %{name}.lang
+%files lang -f %{name}.lang -f %{name}.help-lang
 
 %files plugin-zeitgeist
 %defattr(-, root, root)

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

Reply via email to