rpms/evolution/devel evolution.spec,1.355,1.356

Matthew Barnes mbarnes at fedoraproject.org
Thu Sep 25 15:56:55 UTC 2008


Author: mbarnes

Update of /cvs/pkgs/rpms/evolution/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv641

Modified Files:
	evolution.spec 
Log Message:

* Thu Sep 25 2008 Matthew Barnes <mbarnes at redhat.com> - 2.24.0-2.fc10
- Strip unneeded translations from .mo files (RH bug #463887).
- Split Perl-based utilities into a "perl" subpackage (RH bug #462345).



Index: evolution.spec
===================================================================
RCS file: /cvs/pkgs/rpms/evolution/devel/evolution.spec,v
retrieving revision 1.355
retrieving revision 1.356
diff -u -r1.355 -r1.356
--- evolution.spec	22 Sep 2008 11:18:23 -0000	1.355
+++ evolution.spec	25 Sep 2008 15:56:25 -0000	1.356
@@ -45,7 +45,7 @@
 
 Name: evolution
 Version: 2.24.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2 and GFDL
 Group: Applications/Productivity
 Summary: Mail and calendar client for GNOME
@@ -216,6 +216,14 @@
 %description spamassassin
 This package contains the plugin to filter junk mail using SpamAssassin.
 
+%package perl
+Group: Applications/Productivity
+Summary: Supplemental utilities that require Perl
+Requires: %{name} = %{version}-%{release}
+
+%description perl
+This package contains supplemental utilities for %{name} that require Perl.
+
 %prep
 %setup -q -n evolution-%{version}
 %patch10 -p1 -b .ldaphack
@@ -308,15 +316,28 @@
 %endif
 
 %configure \
-  --enable-gtk-doc \
-  --enable-ipv6 \
-  --with-sub-version=" (%{version}-%{release})" \
-  --with-kde-applnk-path=no \
-  %ldap_flags %pilot_flags %krb5_flags %nntp_flags %ssl_flags %exchange_flags \
-  --enable-plugins=all
+	--enable-gtk-doc \
+	--enable-ipv6 \
+	--with-sub-version=" (%{version}-%{release})" \
+	--with-kde-applnk-path=no \
+	%ldap_flags %pilot_flags %krb5_flags \
+	%nntp_flags %ssl_flags %exchange_flags \
+	--enable-plugins=all
 export tagname=CC
 make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool CFLAGS="$CFLAGS -UGNOME_DISABLE_DEPRECATED -fno-strict-aliasing"
 
+# Strip unneeded translations from .mo files.
+# This reduces the RPM size by several megabytes.
+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 evolution-%{evo_major}.pot > $p.out
+	msgfmt -o `basename $p .po`.gmo $p.out
+done
+cd -
+
 %install
 rm -rf $RPM_BUILD_ROOT
 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
@@ -458,8 +479,6 @@
 # Various libexec programs:
 %dir %{_libexecdir}/evolution
 %dir %{_libexecdir}/evolution/%{evo_major}
-%{_libexecdir}/evolution/%{evo_major}/csv2vcard
-%{_libexecdir}/evolution/%{evo_major}/evolution-addressbook-clean
 %{_libexecdir}/evolution/%{evo_major}/evolution-addressbook-export
 %{_libexecdir}/evolution/%{evo_major}/evolution-alarm-notify
 %{_libexecdir}/evolution/%{evo_major}/evolution-backup
@@ -651,7 +670,18 @@
 %{evo_plugin_dir}/org-gnome-sa-junk-plugin.eplug
 %{evo_plugin_dir}/liborg-gnome-sa-junk-plugin.so
 
+%files perl
+%defattr(-, root, root)
+%dir %{_libexecdir}/evolution
+%dir %{_libexecdir}/evolution/%{evo_major}
+%{_libexecdir}/evolution/%{evo_major}/csv2vcard
+%{_libexecdir}/evolution/%{evo_major}/evolution-addressbook-clean
+
 %changelog
+* Thu Sep 25 2008 Matthew Barnes <mbarnes at redhat.com> - 2.24.0-2.fc10
+- Strip unneeded translations from .mo files (RH bug #463887).
+- Split Perl-based utilities into a "perl" subpackage (RH bug #462345).
+
 * Mon Sep 22 2008 Matthew Barnes <mbarnes at redhat.com> - 2.24.0-1.fc10
 - Update to 2.24.0
 




More information about the fedora-extras-commits mailing list