]> git.pld-linux.org Git - packages/bootsplash.git/blob - bootsplash.spec
- added init script for activating bootsplash on other consoles
[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.0.7
9 Release:        0.7
10 Epoch:          0
11 License:        GPL v2
12 Group:          Applications/System
13 Source0:        ftp://ftp.suse.com/pub/people/stepan/%{name}/rpm-sources/%{name}/%{name}-%{version}.tar.bz2
14 # Source0-md5:  d7c7cdab692fb2edc5cf5ebb554f20a1
15 Source1:        %{name}.script
16 Source2:        %{name}-bootanim.script
17 Source3:        %{name}.sysconfig
18 Source4:        %{name}.init
19 Patch0:         %{name}-freetype-includes.patch
20 URL:            http://www.bootsplash.org/
21 BuildRequires:  freetype-devel >= 2.1
22 BuildRequires:  libmng-devel
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         _bindir /bin
26
27 %description
28 When you have a kernel with bootsplash capability you can use the
29 bootsplash and control it's behaviour with this set of userspace
30 utilities.
31
32 %description -l pl
33 Maj±c j±dro z opcj± bootsplash mo¿na uzyskaæ graficzny ekran podczas
34 startu systemu i sterowaæ jego zachowaniem przy u¿yciu tego zbioru
35 narzêdzi przestrzeni u¿ytkownika.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40
41 %build
42 %{__make} -C Utilities \
43         CC="%{__cc}" \
44         CFLAGS="%{rpmcflags} -Wall -I/usr/include/freetype2 -DDEFAULT_FONTNAME=\\\"%{_datadir}/%{name}/luxisri.ttf\\\"" \
45         STRIP=true
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},/etc/{bootsplash/themes,sysconfig}}
50
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/splash
52 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/bootanim
53 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/bootsplash
54 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/bootsplash
55 install Scripts/* $RPM_BUILD_ROOT%{_datadir}/%{name}
56 install Utilities/splash $RPM_BUILD_ROOT%{_bindir}/splash.bin
57 install Utilities/{fbmngplay,fbresolution,fbtruetype} $RPM_BUILD_ROOT%{_bindir}
58 install Utilities/*.ttf $RPM_BUILD_ROOT%{_datadir}/%{name}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc {Documentation,Utilities}/README.*
66 %attr(755,root,root) %{_bindir}/*
67 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/bootsplash
68 %attr(754,root,root) /etc/rc.d/init.d/bootsplash
69 %{_datadir}/%{name}
70 %dir /etc/bootsplash
71 %dir /etc/bootsplash/themes
This page took 0.053581 seconds and 3 git commands to generate.