save some space

f38
Matthias Clasen 16 years ago
parent 511c8d392e
commit b0ccb3ff18

@ -14,7 +14,7 @@
Summary: The GNOME virtual file-system libraries
Name: gnome-vfs2
Version: 2.24.0
Release: 2%{?dist}
Release: 3%{?dist}
License: LGPLv2+ and GPLv2+
# the daemon and the library are LGPLv2+
# the modules are LGPLv2+ and GPLv2+
@ -137,6 +137,19 @@ fi
export tagname=CC
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
rm -fr $RPM_BUILD_ROOT
@ -226,6 +239,9 @@ fi
%config %{_sysconfdir}/gnome-vfs-2.0/modules/smb-module.conf
%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
- Update to 2.24.0
- Drop upstreamed patches

Loading…
Cancel
Save