SPECS: splashutils-theme-black.spec - propper _sysconfdir location

dzeus dzeus at pld-linux.org
Sat Jan 13 23:31:56 CET 2007


Author: dzeus                        Date: Sat Jan 13 22:31:56 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- propper _sysconfdir location

---- Files affected:
SPECS:
   splashutils-theme-black.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/splashutils-theme-black.spec
diff -u SPECS/splashutils-theme-black.spec:1.3 SPECS/splashutils-theme-black.spec:1.4
--- SPECS/splashutils-theme-black.spec:1.3	Wed Dec 15 20:47:03 2004
+++ SPECS/splashutils-theme-black.spec	Sat Jan 13 23:31:49 2007
@@ -14,6 +14,8 @@
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_sysconfdir	/etc/splash
+
 %description
 Black PLD theme for splashutils.
 
@@ -26,27 +28,27 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
-THEME_DIR=$RPM_BUILD_ROOT%{_sysconfdir}/splash/%{theme}
+THEME_DIR=$RPM_BUILD_ROOT%{_sysconfdir}/%{theme}
 
 install -d $THEME_DIR/images
 install %{theme}/*.cfg $THEME_DIR
 install %{theme}/images/*.jpg $THEME_DIR/images
 
-ln -sf	%{_sysconfdir}/splash/%{theme}/images/verbose-640x480.jpg \
-	$RPM_BUILD_ROOT%{_sysconfdir}/splash/%{theme}/images/silent-640x480.jpg
-ln -sf	%{_sysconfdir}/splash/%{theme}/images/verbose-800x600.jpg \
-	$RPM_BUILD_ROOT%{_sysconfdir}/splash/%{theme}/images/silent-800x600.jpg
-ln -sf	%{_sysconfdir}/splash/%{theme}/images/verbose-1024x768.jpg \
-	$RPM_BUILD_ROOT%{_sysconfdir}/splash/%{theme}/images/silent-1024x768.jpg
-ln -sf	%{_sysconfdir}/splash/%{theme}/images/verbose-1280x1024.jpg \
-	$RPM_BUILD_ROOT%{_sysconfdir}/splash/%{theme}/images/silent-1280x1024.jpg
+ln -sf	%{_sysconfdir}/%{theme}/images/verbose-640x480.jpg \
+	$RPM_BUILD_ROOT%{_sysconfdir}/%{theme}/images/silent-640x480.jpg
+ln -sf	%{_sysconfdir}/%{theme}/images/verbose-800x600.jpg \
+	$RPM_BUILD_ROOT%{_sysconfdir}/%{theme}/images/silent-800x600.jpg
+ln -sf	%{_sysconfdir}/%{theme}/images/verbose-1024x768.jpg \
+	$RPM_BUILD_ROOT%{_sysconfdir}/%{theme}/images/silent-1024x768.jpg
+ln -sf	%{_sysconfdir}/%{theme}/images/verbose-1280x1024.jpg \
+	$RPM_BUILD_ROOT%{_sysconfdir}/%{theme}/images/silent-1280x1024.jpg
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_sysconfdir}/splash/%{theme}
+%{_sysconfdir}/%{theme}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -54,6 +56,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007/01/13 22:31:49  dzeus
+- propper _sysconfdir location
+
 Revision 1.3  2004/12/15 19:47:03  qboosh
 - ehm, copy-pasto?
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/splashutils-theme-black.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list