]> git.pld-linux.org Git - packages/bootsplash-theme-darkblue.git/blobdiff - bootsplash-theme-darkblue.spec
- all bootsplash themes provide bootsplash-theme
[packages/bootsplash-theme-darkblue.git] / bootsplash-theme-darkblue.spec
index 4f97a4c83b238a13aa4ee4c67a4a3968fac52275..4d0f88d8ba336f5feafc4dd5d64aff79cee87775 100644 (file)
@@ -1,14 +1,18 @@
+
+%define        theme   darkblue
+
 Summary:       Bootsplash - darkblue theme
-Summary(pl):   Bootsplash - motyw darkblue
-Name:          bootsplash-theme-darkblue
+Summary(pl.UTF-8):     Bootsplash - motyw darkblue
+Name:          bootsplash-theme-%{theme}
 Version:       1.2
-Release:       1
+Release:       2
 Epoch:         0
 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}/
+Provides:      bootsplash-theme
 Requires:      bootsplash
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -16,7 +20,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Darkblue PLD theme for bootsplash.
 
-%description -l pl
+%description -l pl.UTF-8
 Motyw PLD darkblue do bootsplash.
 
 %prep
@@ -24,15 +28,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.046608 seconds and 4 git commands to generate.