[gtranslator] Revert "Retire gtranslator."

Ignacio Casal Quinteiro nacho at fedoraproject.org
Thu Oct 13 16:49:03 UTC 2011


commit 7141391a040777942a24f32ffcb8400d5976bd2f
Author: Ignacio Casal Quinteiro <icq at gnome.org>
Date:   Thu Oct 13 18:46:56 2011 +0200

    Revert "Retire gtranslator."
    
    This reverts commit ab395591440f6f9cdb3f762a62400e374037aa82.

 dead.package     |    1 -
 gtranslator.spec |  181 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 182 insertions(+), 1 deletions(-)
---
diff --git a/gtranslator.spec b/gtranslator.spec
new file mode 100644
index 0000000..51561cd
--- /dev/null
+++ b/gtranslator.spec
@@ -0,0 +1,181 @@
+%define libpeas_version 1.0.0
+%define isocodes_version 0.35
+
+Name:		gtranslator
+Version:	2.90.5
+Release:	1%{?dist}
+Summary:	Gettext po file editor for GNOME
+Group:		Development/Tools
+License:	GPLv3
+URL:		http://projects.gnome.org/gtranslator/
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.90/%{name}-%{version}.tar.xz
+BuildRequires:	glib2-devel
+BuildRequires:	gtk3-devel
+BuildRequires:	intltool gnome-doc-utils desktop-file-utils
+BuildRequires:	libgdl-devel gnome-utils-devel
+BuildRequires:	gtksourceview3-devel gtkspell-devel
+BuildRequires:	json-glib-devel libgda-devel
+BuildRequires:	libpeas-devel >= %{libpeas_version}
+BuildRequires:	gobject-introspection-devel
+BuildRequires:	gsettings-desktop-schemas-devel
+BuildRequires:	iso-codes-devel >= %{isocodes_version}
+Requires:	hicolor-icon-theme
+Requires:	gsettings-desktop-schemas
+
+%description
+gtranslator is an enhanced gettext po file editor for the GNOME
+desktop environment. It handles all forms of gettext po files and
+features many comfortable everyday usage features like find and
+replace functions, auto translation, and translation learning,
+
+%package devel
+Summary:	Development files for %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	gettext-devel gtksourceview3-devel
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--disable-static \
+	--disable-scrollkeeper \
+	--enable-debug=no \
+	--enable-introspection=yes
+make %{?_smp_mflags} CFLAGS="%{optflags}"
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+desktop-file-install --delete-original \
+	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
+	$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
+
+## clean up all the static libs for plugins (workaround for no -module)
+/bin/rm -f `find $RPM_BUILD_ROOT%{_libdir} -name "*.a"`
+/bin/rm -f `find $RPM_BUILD_ROOT%{_libdir} -name "*.la"`
+
+%find_lang %{name} --with-gnome
+# Convert to utf-8
+for file in doc/UMTF/*.UMTF; do
+    iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \
+    touch -r $file $file.new && \
+    mv $file.new $file
+done
+mkdir UMTF
+cp -p doc/UMTF/{README.UMTF,ChangeLog,example.xml} UMTF
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+update-desktop-database -q
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+update-desktop-database -q
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+    glib-compile-schemas %{_datadir}/glib-2.0/schemas
+fi
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+glib-compile-schemas %{_datadir}/glib-2.0/schemas
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README THANKS
+%doc UMTF
+%{_bindir}/gtranslator
+%{_libdir}/gtranslator
+%{_libdir}/libgtranslator-private.so*
+%{_datadir}/applications/*.desktop
+%{_datadir}/%{name}
+%{_datadir}/pixmaps/gtranslator
+%{_datadir}/icons/hicolor/*/apps/gtranslator.*
+%{_mandir}/man1/*
+%{_datadir}/glib-2.0/schemas/org.gnome.gtranslator.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.gnome.gtranslator.plugins.codeview.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.gnome.gtranslator.plugins.dictionary.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.gnome.gtranslator.plugins.open-tran.gschema.xml
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/gtranslator-3.0
+%{_libdir}/pkgconfig/gtranslator.pc
+%{_datadir}/gtk-doc/html/gtranslator
+
+%changelog
+* Wed Jun 15 2011 Tomas Bzatek <tbzatek at redhat.com> - 2.90.5-1
+- Update to 2.90.5
+
+* Wed May 18 2011 Tomas Bzatek <tbzatek at redhat.com> - 2.90.4-1
+- Update to 2.90.4
+
+* Wed May  4 2011 Tomas Bzatek <tbzatek at redhat.com> - 2.90.3-1
+- Update to 2.90.3
+
+* Wed Apr 27 2011 Tomas Bzatek <tbzatek at redhat.com> - 2.90.2-1
+- Update to 2.90.2
+
+* Tue Apr 05 2011 Ignacio Casal Quinteiro <icq at gnome.org> - 2.90.1-1
+- Update to 2.90.1
+
+* Fri Apr 01 2011 Ignacio Casal Quinteiro <icq at gnome.org> - 2.90.0-1
+- Update to 2.90.0
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.9.12-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Oct 13 2010 Chen Lei <supercyper at 163.com> - 1.9.12-1
+- Update to 1.9.12
+
+* Fri Jul 16 2010 Chen Lei <supercyper at 163.com> - 1.9.11-3
+- Disable debugging flags(-ggdb -DDEBUG)
+- Fix to honor %%{optflags} correctly
+
+* Fri Jul 16 2010 Chen Lei <supercyper at 163.com> - 1.9.11-2
+- Remove *.la files
+
+* Fri Jul 16 2010 Chen Lei <supercyper at 163.com> - 1.9.11-1
+- Update to 1.9.11
+- Clean up spec agaist latest guideline
+
+* Fri Apr 30 2010 Caius 'kaio' Chance <me at kaio.net> - 1.9.10-3
+- Remove scrollkeeper and desktop-file-utils.
+- Rarian has placed scrollkeeper and no scriptlet needed for rarian.
+  https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Scrollkeeper
+
+* Thu Apr 29 2010 Caius 'kaio' Chance <me at kaio.net> - 1.9.10-2
+- Update license info.
+- Added requires of hicolor-icon-theme.
+- Converted README.umtf to UTF-8.
+
+* Fri Apr 23 2010 Gianluca Sforna <giallu gmail com> - 1.9.10-1
+- new upstream release
+
+* Thu Nov  5 2009 Bill Nottingham <notting at redhat.com> - 1.9.6-2
+- Rebuild against newer libgdl
+
+* Tue Sep 29 2009 Alexey Torkhov <atorkhov at gmail.com> - 1.9.6-1
+- Update to 1.9.6
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.9.5-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Tue Jul 14 2009 Alexey Torkhov <atorkhov at gmail.com> - 1.9.5-2
+- Update for new gdl and requiring libuuid directly
+
+* Sat May 30 2009 Alexey Torkhov <atorkhov at gmail.com> - 1.9.5-1
+- Update to 1.9.5 with help of patch by Arkady Shane. New version required a bunch of changes:
+- Dropped old patches
+- Adjust Requires
+- Added new scriplets
diff --git a/sources b/sources
new file mode 100644
index 0000000..fadb67c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+a852f295acc8dbaaa517ece35ba53ab3  gtranslator-2.90.5.tar.xz


More information about the scm-commits mailing list