]> git.pld-linux.org Git - packages/bootsplash.git/blob - bootsplash.spec
818822bc40afe4dfdb646c1cd53cbf211aefd1fa
[packages/bootsplash.git] / bootsplash.spec
1 #
2 # TODO:
3 # - place somewhere info that distkernel support only 16bit splashes (thnx Tomasz Grobelny)
4 #
5 Summary:        Bootsplash - graphical boot process for Linux
6 Summary(pl):    Bootsplash - graficzny proces startu systemu dla Linuksa
7 Name:           bootsplash
8 Version:        3.1
9 Release:        1
10 License:        GPL v2
11 Group:          Applications/System
12 Source0:        http://www.bootsplash.de/files/splashutils/%{name}-%{version}.tar.bz2
13 # Source0-md5:  f9950a4d61fe6261e3211d317eab0e03
14 Source1:        %{name}.script
15 Source2:        %{name}-bootanim.script
16 Source3:        %{name}.sysconfig
17 Source4:        %{name}.init
18 URL:            http://www.bootsplash.org/
19 BuildRequires:  freetype-devel >= 2.1
20 BuildRequires:  libmng-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _bindir /bin
24
25 %description
26 When you have a kernel with bootsplash capability you can use the
27 bootsplash and control it's behaviour with this set of userspace
28 utilities.
29
30 %description -l pl
31 Maj±c j±dro z opcj± bootsplash mo¿na uzyskaæ graficzny ekran podczas
32 startu systemu i sterowaæ jego zachowaniem przy u¿yciu tego zbioru
33 narzêdzi przestrzeni u¿ytkownika.
34
35 %prep
36 %setup -q
37
38 %build
39 %{__make} -C Utilities \
40         CC="%{__cc}" \
41         CFLAGS="%{rpmcflags} -Wall -I/usr/include/freetype2 -DDEFAULT_FONTNAME=\\\"%{_datadir}/%{name}/luxisri.ttf\\\"" \
42         STRIP=true
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},/etc/{bootsplash/themes,rc.d/init.d,sysconfig}}
47
48 install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/splash
49 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/bootanim
50 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/bootsplash
51 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/bootsplash
52 install Scripts/* $RPM_BUILD_ROOT%{_datadir}/%{name}
53 install Utilities/splash $RPM_BUILD_ROOT%{_bindir}/splash.bin
54 install Utilities/{fbmngplay,fbresolution,fbtruetype} $RPM_BUILD_ROOT%{_bindir}
55 install Utilities/*.ttf $RPM_BUILD_ROOT%{_datadir}/%{name}
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc {Documentation,Utilities}/README.*
63 %attr(755,root,root) %{_bindir}/*
64 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/bootsplash
65 %attr(754,root,root) /etc/rc.d/init.d/bootsplash
66 %{_datadir}/%{name}
67 %dir /etc/bootsplash
68 %dir /etc/bootsplash/themes
This page took 0.055129 seconds and 2 git commands to generate.