3 # - place somewhere info that distkernel support only 16bit splashes (thnx Tomasz Grobelny)
5 Summary: Bootsplash - graphical boot process for Linux
6 Summary(pl): Bootsplash - graficzny proces startu systemu dla Linuksa
11 Group: Applications/System
12 Source0: http://www.bootsplash.de/files/splashutils/%{name}-%{version}.tar.bz2
13 # Source0-md5: b74c104372fd182d0442b3ed63210e29
14 Source1: %{name}.script
15 Source2: %{name}-bootanim.script
16 Source3: %{name}.sysconfig
18 Patch0: %{name}-3.2_makefile_libmng.patch
19 URL: http://www.bootsplash.org/
20 BuildRequires: freetype-devel >= 2.1
21 BuildRequires: libmng-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 When you have a kernel with bootsplash capability you can use the
28 bootsplash and control its behaviour with this set of userspace
32 Maj±c j±dro z opcj± bootsplash mo¿na uzyskaæ graficzny ekran podczas
33 startu systemu i sterowaæ jego zachowaniem przy u¿yciu tego zbioru
34 narzêdzi przestrzeni u¿ytkownika.
41 %{__make} -C Utilities \
43 CFLAGS="%{rpmcflags} -Wall -I/usr/include/freetype2 -DDEFAULT_FONTNAME=\\\"%{_datadir}/%{name}/luxisri.ttf\\\"" \
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},/etc/{bootsplash/themes,rc.d/init.d,sysconfig}}
50 install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/splash
51 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/bootanim
52 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/bootsplash
53 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/bootsplash
54 install Scripts/* $RPM_BUILD_ROOT%{_datadir}/%{name}
55 install Utilities/splash $RPM_BUILD_ROOT%{_bindir}/splash.bin
56 install Utilities/{fbmngplay,fbresolution,fbtruetype} $RPM_BUILD_ROOT%{_bindir}
57 install Utilities/*.ttf $RPM_BUILD_ROOT%{_datadir}/%{name}
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
64 %doc {Documentation,Utilities}/README.*
65 %attr(755,root,root) %{_bindir}/*
66 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bootsplash
67 %attr(754,root,root) /etc/rc.d/init.d/bootsplash
70 %dir /etc/bootsplash/themes