%define openmamba_theme_ver %{version} %define openmamba1_theme_ver 1.1.1 %define TARGET_THEME openmamba %define TARGET_THEME1 openmamba1 Name: ksplash-theme Version: 2.1 Release: 1mamba Summary: openmamba ksplash theme for KDE Group: Graphical Desktop/Look 'n' feel/Themes Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.openmamba.org Source: http://www.openmamba.org/distribution/sources/ksplash-theme-openmamba-%{version}.tar.bz2 Source1: http://www.openmamba.org/distribution/sources/ksplash-theme-openmamba-%{openmamba1_theme_ver}.tar.bz2 License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch %description openmamba ksplash theme for KDE. %package -n ksplash-theme-%{TARGET_THEME} Summary: %{TARGET_THEME} ksplash theme for KDE 4 Group: Graphical Desktop/Look 'n' feel/Themes Provides: ksplashtheme %description -n ksplash-theme-%{TARGET_THEME} %{TARGET_THEME} ksplash theme for KDE 4. %package -n ksplash-theme-%{TARGET_THEME1} Summary: %{TARGET_THEME1} ksplash theme for KDE 3 Group: Graphical Desktop/Look 'n' feel/Themes Provides: ksplashtheme %description -n ksplash-theme-%{TARGET_THEME1} %{TARGET_THEME1} ksplash theme for KDE3. %prep %setup -q -c %{name}-%{version} -a0 -a1 %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" cd %{name}-%{TARGET_THEME}-%{version} install -d %{buildroot}%{_kde4_datadir}/ksplash/Themes/openmamba cp -a * %{buildroot}%{_kde4_datadir}/ksplash/Themes/openmamba install -d %{buildroot}%{_kde4_configdir} cat > %{buildroot}%{_kde4_configdir}/ksplashrc << _EOF [KSplash] Theme=openmamba _EOF cd ../%{name}-%{TARGET_THEME}-%{openmamba1_theme_ver} install -d %{buildroot}%{_kdedatadir}/apps/ksplash/Themes/openmamba cp -a *.png Theme.rc %{buildroot}%{_kdedatadir}/apps/ksplash/Themes/openmamba install -d %{buildroot}%{_kdedatadir}/config cat > %{buildroot}%{_kdedatadir}/config/ksplashrc << _EOF [KSplash] Theme=openmamba _EOF %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -n ksplash-theme-%{TARGET_THEME} %defattr(-,root,root) %{_kde4_configdir}/ksplashrc %{_kde4_datadir}/ksplash/Themes/openmamba/* #%doc COPYING %files -n ksplash-theme-%{TARGET_THEME1} %defattr(-,root,root) %{_kdedatadir}/config/ksplashrc %{_kdedatadir}/apps/ksplash/Themes/openmamba/* %doc %{name}-%{TARGET_THEME}-%{openmamba1_theme_ver}/COPYING %changelog * Wed Dec 16 2009 Silvan Calarco 2.1-1mamba - update to 2.1 * Tue May 19 2009 Silvan Calarco 2.0-1mamba - update to 2.0 * Thu Jan 31 2008 Silvan Calarco 1.1.1-1mamba - update to 1.1.1 - build as noarch * Wed Jan 16 2008 Silvan Calarco 1.1-1mamba - update to 1.1 * Tue Dec 04 2007 Silvan Calarco 1.0-1mamba - package created by autospec