]> git.pld-linux.org Git - packages/bootsplash.git/blob - bootsplash.spec
- updated to 3.1
[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 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:  f9950a4d61fe6261e3211d317eab0e03
15 Source1:        %{name}.script
16 Source2:        %{name}-bootanim.script
17 Source3:        %{name}.sysconfig
18 Source4:        %{name}.init
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)
23
24 %define         _bindir /bin
25
26 %description
27 When you have a kernel with bootsplash capability you can use the
28 bootsplash and control it's behaviour with this set of userspace
29 utilities.
30
31 %description -l pl
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.
35
36 %prep
37 %setup -q
38
39 %build
40 %{__make} -C Utilities \
41         CC="%{__cc}" \
42         CFLAGS="%{rpmcflags} -Wall -I/usr/include/freetype2 -DDEFAULT_FONTNAME=\\\"%{_datadir}/%{name}/luxisri.ttf\\\"" \
43         STRIP=true
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},/etc/{bootsplash/themes,rc.d/init.d,sysconfig}}
48
49 install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/splash
50 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/bootanim
51 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/bootsplash
52 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/bootsplash
53 install Scripts/* $RPM_BUILD_ROOT%{_datadir}/%{name}
54 install Utilities/splash $RPM_BUILD_ROOT%{_bindir}/splash.bin
55 install Utilities/{fbmngplay,fbresolution,fbtruetype} $RPM_BUILD_ROOT%{_bindir}
56 install Utilities/*.ttf $RPM_BUILD_ROOT%{_datadir}/%{name}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc {Documentation,Utilities}/README.*
64 %attr(755,root,root) %{_bindir}/*
65 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/bootsplash
66 %attr(754,root,root) /etc/rc.d/init.d/bootsplash
67 %{_datadir}/%{name}
68 %dir /etc/bootsplash
69 %dir /etc/bootsplash/themes
This page took 0.089346 seconds and 3 git commands to generate.