SPECS (AC-branch): kdeartwork.spec - install shortcut

glen glen at pld-linux.org
Sat Feb 16 00:50:40 CET 2008


Author: glen                         Date: Fri Feb 15 23:50:40 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- install shortcut

---- Files affected:
SPECS:
   kdeartwork.spec (1.112.2.8 -> 1.112.2.9) 

---- Diffs:

================================================================
Index: SPECS/kdeartwork.spec
diff -u SPECS/kdeartwork.spec:1.112.2.8 SPECS/kdeartwork.spec:1.112.2.9
--- SPECS/kdeartwork.spec:1.112.2.8	Fri Feb 15 12:52:04 2008
+++ SPECS/kdeartwork.spec	Sat Feb 16 00:50:34 2008
@@ -14,7 +14,7 @@
 Summary(pt_BR.UTF-8):	K Desktop Environment - Plugins e Scripts para aplicações KDE
 Name:		kdeartwork
 Version:	3.5.9
-Release:	0.1	
+Release:	1
 Epoch:		8
 License:	LGPL
 Group:		X11/Libraries
@@ -172,7 +172,6 @@
 %description -n kde-decoration-smoothblend -l pl.UTF-8
 Dekoracja okna dla KDE - Smoothblend.
 
-
 %package -n kde-emoticons
 Summary:	KDE emoticons themes
 Summary(pl.UTF-8):	Motywy emotikon dla KDE
@@ -394,19 +393,26 @@
 %{__make}
 
 %install
-rm -rf $RPM_BUILD_ROOT
+if [ ! -f makeinstall.stamp -o ! -d $RPM_BUILD_ROOT ]; then
+	rm -rf makeinstall.stamp installed.stamp $RPM_BUILD_ROOT
 
-%{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT \
-	kde_htmldir=%{_kdedocdir}
-
-# Makefile installs these basing on XSCREENSAVER_DIR/* files -
-# let's do it manually to avoid BR: xscreensaver{,-GL,-GLE}
-install kscreensaver/kxsconfig/ScreenSavers/*.desktop $RPM_BUILD_ROOT%{_datadir}/apps/kscreensaver
-rm -f $RPM_BUILD_ROOT%{_datadir}/apps/kscreensaver/pixmaps.desktop
-
-rm -f $RPM_BUILD_ROOT%{_libdir}/kde3/*.la
-rm -f $RPM_BUILD_ROOT%{_libdir}/kde3/*/*/*.la
+	%{__make} install \
+		DESTDIR=$RPM_BUILD_ROOT \
+		kde_htmldir=%{_kdedocdir}
+
+	touch makeinstall.stamp
+fi
+
+if [ ! -f installed.stamp ]; then
+	# Makefile installs these basing on XSCREENSAVER_DIR/* files -
+	# let's do it manually to avoid BR: xscreensaver{,-GL,-GLE}
+	install kscreensaver/kxsconfig/ScreenSavers/*.desktop $RPM_BUILD_ROOT%{_datadir}/apps/kscreensaver
+	rm -f $RPM_BUILD_ROOT%{_datadir}/apps/kscreensaver/pixmaps.desktop
+
+	rm -f $RPM_BUILD_ROOT%{_libdir}/kde3/*.la
+	rm -f $RPM_BUILD_ROOT%{_libdir}/kde3/*/*/*.la
+	touch installed.stamp
+fi
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -532,6 +538,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.112.2.9  2008-02-15 23:50:34  glen
+- install shortcut
+
 Revision 1.112.2.8  2008-02-15 11:52:04  glen
 - KDE 3.5.9
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kdeartwork.spec?r1=1.112.2.8&r2=1.112.2.9&f=u



More information about the pld-cvs-commit mailing list