]>
Commit | Line | Data |
---|---|---|
57af4306 | 1 | Summary: Bootsplash - graphical boot process for Linux |
96fdc6dd | 2 | Name: bootsplash |
3 | Version: 3.0.7 | |
4 | Release: 0.1 | |
5 | Epoch: 0 | |
6 | License: GPL v2 | |
57af4306 | 7 | Group: Applications/System |
96fdc6dd | 8 | Source0: ftp://ftp.suse.com/pub/people/stepan/%{name}/rpm-sources/%{name}/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: d7c7cdab692fb2edc5cf5ebb554f20a1 | |
c9a3e7d5 | 10 | Source1: %{name}.script |
96fdc6dd | 11 | URL: http://www.bootsplash.org |
12 | BuildRequires: freetype-devel >= 2 | |
fd2c7fcf | 13 | BuildRequires: libmng-devel |
96fdc6dd | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
17 | When you have a kernel with bootsplash capability you can use the | |
18 | bootsplash and control it's behaviour with a set of userspace | |
19 | utilities. | |
20 | ||
96fdc6dd | 21 | %prep |
22 | %setup -q | |
23 | ||
24 | %build | |
25 | cd Utilities | |
57af4306 AM |
26 | %{__make} \ |
27 | CC="%{__cc}" | |
96fdc6dd | 28 | cd .. |
29 | ||
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | # create directories if necessary | |
33 | install -d $RPM_BUILD_ROOT%{_docdir}/%{name} | |
34 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} | |
35 | install -d $RPM_BUILD_ROOT%{_bindir} | |
36 | ||
c9a3e7d5 | 37 | install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/splash |
96fdc6dd | 38 | install Documentation/* $RPM_BUILD_ROOT%{_docdir}/%{name} |
39 | install Scripts/* $RPM_BUILD_ROOT%{_datadir}/%{name} | |
c9a3e7d5 AM |
40 | install Utilities/splash $RPM_BUILD_ROOT%{_bindir}/splash.bin |
41 | install Utilities/{fbmngplay,fbresolution,fbtruetype} $RPM_BUILD_ROOT%{_bindir} | |
96fdc6dd | 42 | install Utilities/*.ttf $RPM_BUILD_ROOT%{_datadir}/%{name} |
43 | install Utilities/README.* $RPM_BUILD_ROOT%{_docdir}/%{name} | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc Documentation/README.{bootsplash,kernel,config,themes} | |
51 | %doc Utilities/README.{fbmngplay,fbtruetype} | |
52 | %attr(755,root,root) %{_bindir}/* | |
53 | %{_datadir}/%{name} | |
54 | ||
55 | #%files subpackage | |
56 | #%defattr(644,root,root,755) | |
57 | #%doc extras/*.gz | |
58 | #%{_datadir}/%{name}-ext |