Source1: %{name}.script
Source2: %{name}-bootanim.script
Source3: %{name}.sysconfig
-Source4: %{name}-theme-darkblue-1.2.tar.gz
-# Source4-md5: a5b64219f284ff772a4f3ebcd4f2bc34
Patch0: %{name}-freetype-includes.patch
URL: http://www.bootsplash.org/
BuildRequires: freetype-devel >= 2.1
startu systemu i sterowaæ jego zachowaniem przy u¿yciu tego zbioru
narzêdzi przestrzeni u¿ytkownika.
-%if %{with themes}
%package theme-darkblue
Summary: Bootsplash - darkblue theme
Summary(pl): Bootsplash - motyw darkblue
%description theme-darkblue -l pl
Motyw darkblue do bootsplash.
-%endif
-
%prep
%setup -q %{?with_themes:-a4}
%patch0 -p1
install Utilities/splash $RPM_BUILD_ROOT%{_bindir}/splash.bin
install Utilities/{fbmngplay,fbresolution,fbtruetype} $RPM_BUILD_ROOT%{_bindir}
install Utilities/*.ttf $RPM_BUILD_ROOT%{_datadir}/%{name}
+
%if %{with themes}
#darkblue theme
THEME_DIR=$RPM_BUILD_ROOT/etc/bootsplash/themes/darkblue
%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/bootsplash
%{_datadir}/%{name}
+%if %{with themes}
%files theme-darkblue
%defattr(644,root,root,755)
+%dir /etc/bootsplash/themes/darkblue/
+%dir /etc/bootsplash/themes/darkblue/animations
/etc/bootsplash/themes/darkblue/animations/*
+%dir /etc/bootsplash/themes/darkblue/config
%config(noreplace) %verify(not md5 size mtime)/etc/bootsplash/themes/darkblue/config/*
+%dir /etc/bootsplash/themes/darkblue/images
/etc/bootsplash/themes/darkblue/images/*
+%endif