save some space

f38
Matthias Clasen 16 years ago
parent 511c8d392e
commit b0ccb3ff18

@ -14,7 +14,7 @@
Summary: The GNOME virtual file-system libraries Summary: The GNOME virtual file-system libraries
Name: gnome-vfs2 Name: gnome-vfs2
Version: 2.24.0 Version: 2.24.0
Release: 2%{?dist} Release: 3%{?dist}
License: LGPLv2+ and GPLv2+ License: LGPLv2+ and GPLv2+
# the daemon and the library are LGPLv2+ # the daemon and the library are LGPLv2+
# the modules are LGPLv2+ and GPLv2+ # the modules are LGPLv2+ and GPLv2+
@ -137,6 +137,19 @@ fi
export tagname=CC export tagname=CC
make LIBTOOL=/usr/bin/libtool make LIBTOOL=/usr/bin/libtool
# 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 %{po_package}.pot > $p.out
msgfmt -o `basename $p .po`.gmo $p.out
done
%install %install
rm -fr $RPM_BUILD_ROOT rm -fr $RPM_BUILD_ROOT
@ -226,6 +239,9 @@ fi
%config %{_sysconfdir}/gnome-vfs-2.0/modules/smb-module.conf %config %{_sysconfdir}/gnome-vfs-2.0/modules/smb-module.conf
%changelog %changelog
* Thu Sep 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-3
- Save some space
* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-2 * Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-2
- Update to 2.24.0 - Update to 2.24.0
- Drop upstreamed patches - Drop upstreamed patches

Loading…
Cancel
Save