diff --git a/gtranslator-1.9.11.tar.bz2 b/gtranslator-1.9.11.tar.bz2 deleted file mode 100644 index 2e8524f..0000000 --- a/gtranslator-1.9.11.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e87e95bccc69fac2e14468dd191df822bbe3bc6a384c8ea4d00165b807d34504 -size 4349138 diff --git a/gtranslator-1.9.12.tar.bz2 b/gtranslator-1.9.12.tar.bz2 new file mode 100644 index 0000000..e9cadd4 --- /dev/null +++ b/gtranslator-1.9.12.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8dfe6bb381633c14d9a1c45dc4cfe5717e10e8df1d237e6fcfb482c4d68c8b7b +size 4627831 diff --git a/gtranslator.changes b/gtranslator.changes index 21f60a4..e8533ee 100644 --- a/gtranslator.changes +++ b/gtranslator.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Sat Oct 9 10:49:09 CEST 2010 - vuntz@opensuse.org + +- Update to version 1.9.12: + + Port to GSettings + + Make it work with GSEAL enabled + + Misc Bugfixes + + Updated translations. +- Remove gconf schemas handling: + + remove gconf2-devel BuildRequires. + + remove %gconf_schemas_prereq, %find_gconf_schemas and + schemas-related scriptlets. +- Use %glib2_gsettings_schema_* macros for GSettings schemas. +- Add pkgconfig(gsettings-desktop-schemas) BuildRequires and + gsettings-desktop-schemas Requires, since the schemas are needed + at runtime too. + ------------------------------------------------------------------- Fri Aug 13 09:37:35 CEST 2010 - vuntz@opensuse.org diff --git a/gtranslator.spec b/gtranslator.spec index f30b995..ab742e7 100644 --- a/gtranslator.spec +++ b/gtranslator.spec @@ -1,5 +1,5 @@ # -# spec file for package gtranslator (Version 1.9.11) +# spec file for package gtranslator (Version 1.9.12) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,8 +19,8 @@ Name: gtranslator -Version: 1.9.11 -Release: 2 +Version: 1.9.12 +Release: 1 License: GPLv3+ Summary: A GNOME po file editor with many bells and whistles Group: Development/Tools/Other @@ -29,7 +29,6 @@ Source: http://www.kabalak.net/gtranslator/download/releases/%{version}/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes BuildRequires: gnome-doc-utils-devel -BuildRequires: gconf2-devel BuildRequires: gdl-devel BuildRequires: glib2-devel BuildRequires: gnome-utils-devel @@ -43,7 +42,9 @@ BuildRequires: libsoup-devel BuildRequires: libunique-devel BuildRequires: libxml2-devel BuildRequires: update-desktop-files -%gconf_schemas_prereq +BuildRequires: pkgconfig(gsettings-desktop-schemas) +Requires: gsettings-desktop-schemas +%glib2_gsettings_schema_requires %description gtranslator is a comfortable po file editor with many bells and whistles. @@ -77,35 +78,35 @@ files imminently. %install %makeinstall %suse_update_desktop_file %{name} -%find_gconf_schemas %find_lang %{name} %fdupes $RPM_BUILD_ROOT -%pre -f %{name}.schemas_pre - -%preun -f %{name}.schemas_preun - -%posttrans -f %{name}.schemas_posttrans - %clean %{__rm} -rf %{buildroot} -%files -f %{name}.schemas_list +%post +%glib2_gsettings_schema_post + +%postun +%glib2_gsettings_schema_postun + +%files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING NEWS README THANKS %doc %{_mandir}/man?/* -%{_bindir}/* -%{_libdir}/%{name} -%{_datadir}/%{name} +%{_bindir}/%{name} +%{_libdir}/%{name}/ +%{_datadir}/%{name}/ %{_datadir}/applications/*.desktop +%{_datadir}/glib-2.0/schemas/*.gschema.xml %{_datadir}/icons/hicolor/*/apps/gtranslator.* %{_datadir}/pixmaps/%{name}/ %files devel %defattr(-, root, root) -%{_includedir}/gtranslator-2.0 +%{_includedir}/gtranslator-2.0/ %{_libdir}/pkgconfig/gtranslator.pc -%{_datadir}/gtk-doc/html/%{name} +%{_datadir}/gtk-doc/html/%{name}/ %files lang -f %{name}.lang