rpms/epiphany/devel epiphany.spec,1.200,1.201

Matthias Clasen mclasen at fedoraproject.org
Fri Sep 26 02:24:05 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/epiphany/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22686

Modified Files:
	epiphany.spec 
Log Message:
save some space



Index: epiphany.spec
===================================================================
RCS file: /cvs/extras/rpms/epiphany/devel/epiphany.spec,v
retrieving revision 1.200
retrieving revision 1.201
diff -u -r1.200 -r1.201
--- epiphany.spec	24 Sep 2008 04:15:25 -0000	1.200
+++ epiphany.spec	26 Sep 2008 02:23:34 -0000	1.201
@@ -8,7 +8,7 @@
 Summary: GNOME web browser based on the Mozilla rendering engine
 Name: epiphany
 Version: 2.24.0.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+ and GFDL
 Group: Applications/Internet
 URL: http://www.gnome.org/projects/epiphany/
@@ -117,6 +117,19 @@
 	%{enable_nm}
 make %{?_smp_mflags}
 
+# strip unneeded translations from .mo files
+# ideally intltool (ha!) would do that for us
+# http://bugzilla.gnome.org/show_bug.cgi?id=474987
+cd po
+grep -v ".*[.]desktop[.]in[.]in$\|.*[.]server[.]in[.]in$\|.*[.]schemas[.]in$" POTFILES.in > POTFILES.keep
+mv POTFILES.keep POTFILES.in
+intltool-update --pot
+for p in *.po; do
+  msgmerge $p %{name}.pot > $p.out
+  msgfmt -o `basename $p .po`.gmo $p.out
+done
+
+
 %install
 rm -rf $RPM_BUILD_ROOT
 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
@@ -212,6 +225,9 @@
 %{_datadir}/pygtk/2.0/defs/epiphany.defs
 
 %changelog
+* Thu Sep 25 2008 Matthias Clasen <mclasen at redhat.com> - 2.24.0.1-3
+- Save some space
+
 * Tue Sep 23 2008 Matthias Clasen <mclasen at redhat.com> - 2.24.0.1-2
 - Update to 2.24.0.1
 




More information about the scm-commits mailing list