save some space
This commit is contained in:
parent
c146920165
commit
4730963473
18
gedit.spec
18
gedit.spec
@ -18,7 +18,7 @@
|
||||
Summary: gEdit is a small but powerful text editor for GNOME
|
||||
Name: gedit
|
||||
Version: 2.24.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Epoch: 1
|
||||
License: GPLv2+ and GFDL
|
||||
Group: Applications/Editors
|
||||
@ -112,6 +112,19 @@ autoreconf
|
||||
--enable-python
|
||||
make
|
||||
|
||||
# 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.*\|.*[.]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
|
||||
|
||||
@ -189,6 +202,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Sep 25 2008 Matthias Clasen <mclasen@redhat.com> - 1:2.24.0-3
|
||||
- Save some space
|
||||
|
||||
* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 1:2.24.0-2
|
||||
- Update to 2.24.0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user