]> git.pld-linux.org Git - packages/bootsplash-theme-darkblue.git/commitdiff
- added %%{theme} macro
authorpzurowski <pzurowski@pld-linux.org>
Thu, 29 Jan 2004 18:06:08 +0000 (18:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bootsplash-theme-darkblue.spec -> 1.5

bootsplash-theme-darkblue.spec

index 4f97a4c83b238a13aa4ee4c67a4a3968fac52275..ec4d54b505068ee2ec86e01f35abe2a4e0a1d0fe 100644 (file)
@@ -1,6 +1,9 @@
+
+%define        theme   darkblue
+
 Summary:       Bootsplash - darkblue theme
 Summary(pl):   Bootsplash - motyw darkblue
-Name:          bootsplash-theme-darkblue
+Name:          bootsplash-theme-%{theme}
 Version:       1.2
 Release:       1
 Epoch:         0
@@ -8,7 +11,7 @@ License:       GPL v2
 Group:         Themes
 Source0:       %{name}-%{version}.tar.gz
 # Source0-md5: a5b64219f284ff772a4f3ebcd4f2bc34
-URL:           http://cvs.pld-linux.org/cgi-bin/cvsweb/pld-artwork/bootsplash/darkblue/
+URL:           http://cvs.pld-linux.org/cgi-bin/cvsweb/pld-artwork/bootsplash/%{theme}/
 Requires:      bootsplash
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,15 +27,15 @@ Motyw PLD darkblue do bootsplash.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-THEME_DIR=$RPM_BUILD_ROOT%{_sysconfdir}/bootsplash/themes/darkblue
+THEME_DIR=$RPM_BUILD_ROOT%{_sysconfdir}/bootsplash/themes/%{theme}
 install -d $THEME_DIR{,/animations,/config,/images}
-install darkblue/animations/*.mng $THEME_DIR/animations
-install darkblue/config/*.cfg $THEME_DIR/config
-install darkblue/images/*.jpeg $THEME_DIR/images
+install %{theme}/animations/*.mng $THEME_DIR/animations
+install %{theme}/config/*.cfg $THEME_DIR/config
+install %{theme}/images/*.jpeg $THEME_DIR/images
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_sysconfdir}/bootsplash/themes/darkblue
+%{_sysconfdir}/bootsplash/themes/%{theme}
This page took 0.096045 seconds and 4 git commands to generate.