diff --git a/gtranslator.changes b/gtranslator.changes index 55c88e8..7c6ee3e 100644 --- a/gtranslator.changes +++ b/gtranslator.changes @@ -24,21 +24,25 @@ Tue May 24 19:36:30 CEST 2011 - dimstar@opensuse.org + Port to GtkApplication + Misc Bugfixes + Updated translations. -- Change BuildRequires to pkgconfig()-style: - + Old ones: libxml2-devel, gdl-devel, glib2-devel, libgda-devel, - gtksourceview-devel, gtk2-devel, gtkspell-devel - + New ones: libxml-2.0, gdl-3.0, glib-2.0, libgda-4.0, - gtksourceview-3.0, gtk+-3.0, gtkspell-2.0 -- Drop no longer needed BuildRequires: - + libunique-devel, libsoup-devel, gucharmap-devel, - and gnome-utils-devel -- Add new BuildRequires: - + iso-codes-devel, pkgconfig(libpeas-1.0), pkgconfig(gdict-1.0), - pkgconfig(libpeas-gtk-1.0), pkgconfig(json-glib-1.0) -- Drop gtranslator-disable-update-db.patch: no longer required +- Note that gtkspell support is disabled for now because there's no + gtk3-powered gtkspell. +- Change BuildRequires to pkgconfig()-style and move to GNOME 3: + + Old ones: gdl-devel, glib2-devel, gnome-utils-devel, + gtk2-devel, gtksourceview-devel, gtkspell-devel, libgda-devel, + libxml2-devel. + + New ones: gdict-1.0, gdl-3.0, glib-2.0, gtk+-3.0, + gtksourceview-3.0, gtkspell-2.0, libgda-4.0, libxml-2.0. +- Drop no longer needed BuildRequires: gucharmap-devel, + libsoup-devel, libunique-devel. +- Add new BuildRequires: pkgconfig(iso-codes), + pkgconfig(json-glib-1.0, pkgconfig(libpeas-1.0), + pkgconfig(libpeas-gtk-1.0). +- Drop gtranslator-disable-update-db.patch: no longer required. - Drop gnome-common BuildRequires, gnome-autogen.sh call during build and --disable-update-mimedb configure flag: obsoleted. -- Move .gir file to -devel package. +- Move .gir file to devel subpackage. +- Add call to ldconfig in %post/%postun scriptlet because of the + new library in the package. ------------------------------------------------------------------- Mon Feb 14 19:49:23 CET 2011 - sbrabec@suse.cz diff --git a/gtranslator.spec b/gtranslator.spec index 791ec23..bbbc62a 100644 --- a/gtranslator.spec +++ b/gtranslator.spec @@ -28,7 +28,8 @@ Source: http://www.kabalak.net/gtranslator/download/releases/%{version}/ BuildRequires: fdupes BuildRequires: gnome-doc-utils-devel BuildRequires: intltool -BuildRequires: iso-codes-devel +BuildRequires: translation-update-upstream +BuildRequires: update-desktop-files BuildRequires: pkgconfig(gdict-1.0) BuildRequires: pkgconfig(gdl-3.0) BuildRequires: pkgconfig(glib-2.0) @@ -36,13 +37,12 @@ BuildRequires: pkgconfig(gsettings-desktop-schemas) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtksourceview-3.0) BuildRequires: pkgconfig(gtkspell-2.0) +BuildRequires: pkgconfig(iso-codes) BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libgda-4.0) BuildRequires: pkgconfig(libpeas-1.0) BuildRequires: pkgconfig(libpeas-gtk-1.0) BuildRequires: pkgconfig(libxml-2.0) -BuildRequires: translation-update-upstream -BuildRequires: update-desktop-files Requires: gsettings-desktop-schemas Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -113,20 +113,20 @@ find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print %{_libdir}/%{name}/ %{_libdir}/libgtranslator-private.so.0* %{_datadir}/%{name}/ -# .gir file goes to -devel package -%exclude %{_datadir}/%{name}/gir-1.0/Gtranslator-3.0.gir %{_datadir}/applications/*.desktop %{_datadir}/glib-2.0/schemas/*.gschema.xml %{_datadir}/icons/hicolor/*/apps/gtranslator.* %{_datadir}/pixmaps/%{name}/ +# .gir file goes to -devel package +%exclude %{_datadir}/%{name}/gir-1.0/ %files devel %defattr(-, root, root) -%{_datadir}/%{name}/gir-1.0/Gtranslator-3.0.gir %{_includedir}/gtranslator-3.0/ %{_libdir}/libgtranslator-private.so %{_libdir}/pkgconfig/gtranslator.pc -%{_datadir}/gtk-doc/html/%{name}/ +%doc %{_datadir}/gtk-doc/html/%{name}/ +%{_datadir}/%{name}/gir-1.0/ %files lang -f %{name}.lang