rpms/xdg-user-dirs/F-12 typo.patch, NONE, 1.1 use-fuzzy.patch, NONE, 1.1 xdg-user-dirs.spec, 1.13, 1.14

Matthias Clasen mclasen at fedoraproject.org
Tue Nov 3 06:17:57 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/xdg-user-dirs/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9931

Modified Files:
	xdg-user-dirs.spec 
Added Files:
	typo.patch use-fuzzy.patch 
Log Message:
Use fuzzy translations for Downloads


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: xdg-user-dirs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xdg-user-dirs/F-12/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	3 Nov 2009 06:17:56 -0000	1.14
@@ -1,6 +1,6 @@
 Name:		xdg-user-dirs
 Version:	0.11
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Handles user special directories
 
 Group:		User Interface/Desktops
@@ -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,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_sysconfdir}/X11/xinit/xinitrc.d/*
 
 %changelog
+* Tue Nov  3 2009 Matthias Clasen <mclasen at redhat.com> - 0.11-2
+- 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 fedora-extras-commits mailing list