rpms/xdg-user-dirs/devel typo.patch, NONE, 1.1 use-fuzzy.patch, NONE, 1.1 sources, 1.9, 1.10 xdg-user-dirs.spec, 1.13, 1.14

Tomas Bzatek tbzatek at fedoraproject.org
Wed Mar 24 13:17:54 UTC 2010


Author: tbzatek

Update of /cvs/extras/rpms/xdg-user-dirs/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv25183

Modified Files:
	sources xdg-user-dirs.spec 
Added Files:
	typo.patch use-fuzzy.patch 
Log Message:
* Wed Mar 24 2010 Tomas Bzatek <tbzatek at redhat.com> - 0.12-1
- Update to 0.12 which only has a few new translations of Downloads
- Use fuzzy translations (for Downloads)  (#532399)
- Fix a typo in README


typo.patch:
 README |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE typo.patch ---
diff -up xdg-user-dirs-0.11/README.typo xdg-user-dirs-0.11/README
--- xdg-user-dirs-0.11/README.typo	2009-11-03 01:13:00.592863477 -0500
+++ xdg-user-dirs-0.11/README	2009-11-03 01:13:20.565861652 -0500
@@ -1,2 +1,2 @@
 See info at:
-http://freedesktop.org/wiki/Software_2fxdg_2duser_2ddirs
+http://freedesktop.org/wiki/Software/xdg-user-dirs

use-fuzzy.patch:
 Makefile.in.in |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- NEW FILE use-fuzzy.patch ---
diff -up xdg-user-dirs-0.11/po/Makefile.in.in.use-fuzzy xdg-user-dirs-0.11/po/Makefile.in.in
--- xdg-user-dirs-0.11/po/Makefile.in.in.use-fuzzy	2008-10-24 04:17:03.000000000 -0400
+++ xdg-user-dirs-0.11/po/Makefile.in.in	2009-11-03 00:57:15.319114230 -0500
@@ -61,14 +61,14 @@ CATALOGS = @CATALOGS@
 .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update
 
 .po.mo:
-	@echo "$(MSGFMT) -c -o $@ $<"; \
-	$(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+	@echo "$(MSGFMT) -c -f -o $@ $<"; \
+	$(MSGFMT) -c -f -o t-$@ $< && mv t-$@ $@
 
 .po.gmo:
 	@lang=`echo $* | sed -e 's,.*/,,'`; \
 	test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
-	echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \
-	cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+	echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c -f --statistics -o $${lang}.gmo $${lang}.po"; \
+	cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c -f --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
 
 .sin.sed:
 	sed -e '/^#/d' $< > t-$@


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/xdg-user-dirs/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- sources	25 Sep 2009 12:54:36 -0000	1.9
+++ sources	24 Mar 2010 13:17:53 -0000	1.10
@@ -1 +1 @@
-19f2a928fd5069e4cc927ba009ff74d7  xdg-user-dirs-0.11.tar.gz
+c3a78a12bd02a5dd461c3d49f9abdd18  xdg-user-dirs-0.12.tar.gz


Index: xdg-user-dirs.spec
===================================================================
RCS file: /cvs/extras/rpms/xdg-user-dirs/devel/xdg-user-dirs.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- xdg-user-dirs.spec	25 Sep 2009 12:54:36 -0000	1.13
+++ xdg-user-dirs.spec	24 Mar 2010 13:17:54 -0000	1.14
@@ -1,5 +1,5 @@
 Name:		xdg-user-dirs
-Version:	0.11
+Version:	0.12
 Release:	1%{?dist}
 Summary:	Handles user special directories
 
@@ -8,6 +8,13 @@ License:	GPLv2+ and MIT
 URL:		http://freedesktop.org/wiki/Software/xdg-user-dirs
 Source0:	http://user-dirs.freedesktop.org/releases/%{name}-%{version}.tar.gz
 Source1:	xdg-user-dirs.sh
+
+# use fuzzy translations (for Downloads)
+# https://bugzilla.redhat.com/show_bug.cgi?id=532399
+Patch0:		use-fuzzy.patch
+# fix a typo in README
+Patch1:		typo.patch
+
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	gettext
@@ -19,11 +26,17 @@ homedirectory based on the defaults conf
 
 %prep
 %setup -q
+%patch0 -p1 -b .use-fuzzy
+%patch1 -p1 -b .typo
 
 %build
 %configure
 make %{?_smp_mflags}
 
+cd po
+touch *.po
+make update-gmo
+
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
@@ -45,6 +58,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_sysconfdir}/X11/xinit/xinitrc.d/*
 
 %changelog
+* Wed Mar 24 2010 Tomas Bzatek <tbzatek at redhat.com> - 0.12-1
+- Update to 0.12 which only has a few new translations of Downloads
+- Use fuzzy translations (for Downloads)  (#532399)
+- Fix a typo in README
+
 * Fri Sep 25 2009 Alexander Larsson <alexl at redhat.com> - 0.11-1
 - Update to 0.11
 



More information about the scm-commits mailing list