save some space

This commit is contained in:
Matthias Clasen 2008-10-09 04:46:59 +00:00
parent 37a9b4e22d
commit f00932ddc3

View File

@ -1,6 +1,6 @@
Name: seahorse
Version: 2.24.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A GNOME application for managing encryption keys
Group: User Interface/Desktops
# seahorse is GPLv2+
@ -88,6 +88,18 @@ rm -f ${RPM_BUILD_ROOT}/usr/share/icons/hicolor/icon-theme.cache
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
find ${RPM_BUILD_ROOT} -type f -name "*.a" -exec rm -f {} ';'
# save some space: only one screenshot is actually used, and it is
# identical in all languages
cd ${RPM_BUILD_ROOT}/usr/share/gnome/help/seahorse
mv C/figures/seahorse-window.png .
rm C/figures/*
mv seahorse-window.png C/figures
for d in *; do
if [ -d $d -a "$d" != "C" ]; then
rm $d/figures/*
ln -s ../../C/figures/seahorse-window.png $d/figures/seahorse-window.png
fi
done
%clean
rm -rf ${RPM_BUILD_ROOT}
@ -143,6 +155,9 @@ fi
%{_libdir}/pkgconfig/cryptui-0.0.pc
%changelog
* Thu Oct 9 2008 Matthias Clasen <mclasen@redhat.com> 2.24.0-3
- Save some space
* Sun Sep 21 2008 Matthias Clasen <mclasen@redhat.com> 2.24.0-2
- Update to 2.24.0