diff --git a/gnome-icon-theme.spec b/gnome-icon-theme.spec index c7dc835..a7fcb92 100644 --- a/gnome-icon-theme.spec +++ b/gnome-icon-theme.spec @@ -1,7 +1,7 @@ Summary: GNOME icon theme Name: gnome-icon-theme Version: 2.30.2.1 -Release: 1%{?dist} +Release: 2%{?dist} #VCS: git:git://git.gnome.org/gnome-icon-theme Source0: http://download.gnome.org/sources/gnome-icon-theme/2.30/%{name}-%{version}.tar.bz2 License: GPL+ @@ -37,6 +37,71 @@ available under old names. %install make install DESTDIR=$RPM_BUILD_ROOT +# Add scalable directories for symbolic icons +(cd $RPM_BUILD_ROOT%{_datadir}/icons/gnome + +mkdir -p scalable/actions +mkdir -p scalable/apps +mkdir -p scalable/devices +mkdir -p scalable/emblems +mkdir -p scalable/mimetypes +mkdir -p scalable/places +mkdir -p scalable/status + +sed -i -e 's#^\(Directories=.*\)$#\1,scalable/actions,scalable/apps,scalable/devices,scalable/emblems,scalable/mimetypes,scalable/places,scalable/status#' index.theme + +cat >>index.theme < 2.30.2.1-2 +- Add scalable directories for symbolic icons + * Thu Apr 29 2010 Bastien Nocera 2.30.2.1-1 - Update to 2.30.2.1