packages: gnome-icon-theme/gnome-icon-theme.spec - mark cachefile as ghost ...

glen glen at pld-linux.org
Tue Jul 12 23:32:13 CEST 2011


Author: glen                         Date: Tue Jul 12 21:32:13 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- mark cachefile as ghost
- avoid building cachefile at build time that won't be used
- use binary install (faster) and preserve timestamps
- rel 2

---- Files affected:
packages/gnome-icon-theme:
   gnome-icon-theme.spec (1.71 -> 1.72) 

---- Diffs:

================================================================
Index: packages/gnome-icon-theme/gnome-icon-theme.spec
diff -u packages/gnome-icon-theme/gnome-icon-theme.spec:1.71 packages/gnome-icon-theme/gnome-icon-theme.spec:1.72
--- packages/gnome-icon-theme/gnome-icon-theme.spec:1.71	Wed Apr  6 10:02:11 2011
+++ packages/gnome-icon-theme/gnome-icon-theme.spec	Tue Jul 12 23:32:07 2011
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Domyślne motywy ikon dla środowiska GNOME
 Name:		gnome-icon-theme
 Version:	3.0.0
-Release:	1
+Release:	2
 License:	GPL
 Group:		Themes
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gnome-icon-theme/3.0/%{name}-%{version}.tar.bz2
@@ -44,10 +44,13 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
+	GTK_UPDATE_ICON_CACHE="true" \
+	install_sh="install -p" \
 	DESTDIR=$RPM_BUILD_ROOT
 
+> $RPM_BUILD_ROOT%{_iconsdir}/gnome/icon-theme.cache
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -57,7 +60,10 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS README TODO
-%{_iconsdir}/gnome
+%dir %{_iconsdir}/gnome
+%{_iconsdir}/gnome/index.theme
+%{_iconsdir}/gnome/[0-9]*x*
+%ghost %{_iconsdir}/gnome/icon-theme.cache
 %{_pkgconfigdir}/gnome-icon-theme.pc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -66,6 +72,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.72  2011/07/12 21:32:07  glen
+- mark cachefile as ghost
+- avoid building cachefile at build time that won't be used
+- use binary install (faster) and preserve timestamps
+- rel 2
+
 Revision 1.71  2011/04/06 08:02:11  megabajt
 - updated to 3.0.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gnome-icon-theme/gnome-icon-theme.spec?r1=1.71&r2=1.72&f=u



More information about the pld-cvs-commit mailing list