rpms/gtranslator/devel Makefile, 1.6, 1.7 gtranslator-1.9.6-fix-update-desktop-database.patch, 1.2, 1.3 gtranslator.spec, 1.31, 1.32 sources, 1.10, 1.11 dead.package, 1.3, NONE

supercyper supercyper at fedoraproject.org
Fri Jul 16 03:53:51 UTC 2010


Author: supercyper

Update of /cvs/pkgs/rpms/gtranslator/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv16241

Added Files:
	Makefile gtranslator-1.9.6-fix-update-desktop-database.patch 
	gtranslator.spec sources 
Removed Files:
	dead.package 
Log Message:



Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Makefile	16 Jul 2010 03:53:51 -0000	1.7
@@ -0,0 +1,21 @@
+# Makefile for source rpm: gtranslator
+# $Id$
+NAME := gtranslator
+SPECFILE = $(firstword $(wildcard *.spec))
+
+define find-makefile-common
+for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
+endef
+
+MAKEFILE_COMMON	:= $(shell $(find-makefile-common))
+
+ifeq ($(MAKEFILE_COMMON),)
+# attept a checkout
+define checkout-makefile-common
+test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
+endef
+
+MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
+endif
+
+include $(MAKEFILE_COMMON)

gtranslator-1.9.6-fix-update-desktop-database.patch:
 Makefile.am |    4 ++--
 Makefile.in |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Index: gtranslator-1.9.6-fix-update-desktop-database.patch
===================================================================
RCS file: gtranslator-1.9.6-fix-update-desktop-database.patch
diff -N gtranslator-1.9.6-fix-update-desktop-database.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gtranslator-1.9.6-fix-update-desktop-database.patch	16 Jul 2010 03:53:51 -0000	1.3
@@ -0,0 +1,30 @@
+diff -ur gtranslator-1.9.5.orig/data/desktop/Makefile.am gtranslator-1.9.5/data/desktop/Makefile.am
+--- gtranslator-1.9.5.orig/data/desktop/Makefile.am	2009-04-11 05:03:51.000000000 +0400
++++ gtranslator-1.9.5/data/desktop/Makefile.am	2009-05-30 16:41:48.000000000 +0400
+@@ -22,9 +22,9 @@
+ CLEANFILES = $(Application_DATA)
+ 
+ UPDATE_DESKTOP = \
+-	if [ -f $(Applicationdir)/defaults.list ] ; then \
++	if [ -f $(DESTDIR)$(Applicationdir)/defaults.list ] ; then \
+ 		if which update-desktop-database>/dev/null 2>&1 ; then \
+-			update-desktop-database $(Applicationdir); \
++			update-desktop-database $(DESTDIR)$(Applicationdir); \
+ 		fi \
+ 	fi
+ 
+diff -ur gtranslator-1.9.5.orig/data/desktop/Makefile.in gtranslator-1.9.5/data/desktop/Makefile.in
+--- gtranslator-1.9.5.orig/data/desktop/Makefile.in	2009-04-11 05:38:53.000000000 +0400
++++ gtranslator-1.9.5/data/desktop/Makefile.in	2009-05-30 16:42:04.000000000 +0400
+@@ -252,9 +252,9 @@
+ 
+ CLEANFILES = $(Application_DATA)
+ UPDATE_DESKTOP = \
+-	if [ -f $(Applicationdir)/defaults.list ] ; then \
++	if [ -f $(DESTDIR)$(Applicationdir)/defaults.list ] ; then \
+ 		if which update-desktop-database>/dev/null 2>&1 ; then \
+-			update-desktop-database $(Applicationdir); \
++			update-desktop-database $(DESTDIR)$(Applicationdir); \
+ 		fi \
+ 	fi
+ 


Index: gtranslator.spec
===================================================================
RCS file: gtranslator.spec
diff -N gtranslator.spec
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gtranslator.spec	16 Jul 2010 03:53:51 -0000	1.32
@@ -0,0 +1,173 @@
+Name:		gtranslator
+Version:	1.9.11
+Release:	1%{?dist}
+Summary:	Gettext po file editor for GNOME
+Group:		Development/Tools
+License:	GPLv3
+URL:		http://gtranslator.sourceforge.net
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/gtranslator/1.9/%{name}-%{version}.tar.bz2
+# Bug reported: http://bugzilla.gnome.org/show_bug.cgi?id=584608
+Patch0:		%{name}-1.9.6-fix-update-desktop-database.patch
+
+BuildRequires:	intltool gnome-doc-utils desktop-file-utils
+BuildRequires:	db4-devel GConf2-devel libgdl-devel gnome-utils-devel
+BuildRequires:	gtksourceview2-devel gtkspell-devel gucharmap-devel
+BuildRequires:	libsoup-devel unique-devel libgda-devel
+Requires:	hicolor-icon-theme
+Requires(pre):	GConf2
+Requires(post):	GConf2
+Requires(preun):GConf2
+
+%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 gtksourceview2-devel unique-devel
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q
+%patch0 -p1 -z .fix-update
+
+%build
+%configure --disable-static	--disable-scrollkeeper \
+	--disable-schemas-install
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
+
+desktop-file-install --delete-original \
+	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
+	$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
+
+%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
+
+%pre
+%gconf_schema_prepare %{name}
+
+%post
+update-desktop-database -q
+%gconf_schema_upgrade %{name}
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%preun
+%gconf_schema_remove %{name}
+
+%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 || :
+fi
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README THANKS
+%doc UMTF
+%{_sysconfdir}/gconf/schemas/gtranslator.schemas
+%{_bindir}/gtranslator
+%{_libdir}/gtranslator
+%{_datadir}/applications/*.desktop
+%{_datadir}/%{name}
+%{_datadir}/pixmaps/gtranslator
+%{_datadir}/icons/hicolor/*/apps/gtranslator.*
+%{_mandir}/man?/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/gtranslator-2.0
+%{_libdir}/pkgconfig/gtranslator.pc
+%{_datadir}/gtk-doc/html/gtranslator
+
+%changelog
+* 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
+
+* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.7-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Tue Jul 29 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 1.1.7-9
+- fix license tag
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.1.7-8
+- Autorebuild for GCC 4.3
+
+* Tue Oct 23 2007 Sindre Pedersen Bjordal <foolish at guezz.net> - 1.1.7-7
+- Add patch to fix scrollkeeper configure issue
+* Tue Oct 02 2007 Sindre Pedersen Bjordal <foolish at guezz.net> - 1.1.7-5
+- Add missing dependency on which
+* Mon Sep 24 2007 Jesse Keating <jkeating at redhat.com> - 1.1.7-4
+- Bump release for upgrade path
+
+* Fri Jun 08 2007 Sindre Pedersen Bjørdal <foolish at guezz.net> 1.1.7-3
+- Add yelp dependency, closes #243401
+* Tue Feb 13 2007 Sindre Pedersen Bjørdal <foolish at guezz.net> 1.1.7-2
+- Rebuild 
+
+* Mon Jan 22 2007 Sindre Pedersen Bjørdal <foolish at guezz.net> 1.1.7-1
+- Take over ownership of package
+- Update to 1.1.7
+
+* Mon Feb 13 2006 Roozbeh Pournader <roozbeh at farsiweb.info> 1.1.6-3
+- Rebuild for Fedora Extras 5
+
+* Mon Jan 16 2006 Roozbeh Pournader <roozbeh at farsiweb.info> 1.1.6-2
+- Add %{?dist} tag
+- Rebuild


Index: sources
===================================================================
RCS file: sources
diff -N sources
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sources	16 Jul 2010 03:53:51 -0000	1.11
@@ -0,0 +1 @@
+c24727599a57f30be87c6267199f5c81  gtranslator-1.9.11.tar.bz2


--- dead.package DELETED ---



More information about the scm-commits mailing list