]> git.pld-linux.org Git - packages/bootsplash.git/blob - bootsplash.spec
4380eb53efd3c84105c4e01190addb345a18d969
[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(de):    Bootsplash - graphischer System Start
7 Summary(pl):    Bootsplash - graficzny proces startu systemu dla Linuksa
8 Name:           bootsplash
9 Version:        3.2
10 Release:        1
11 License:        GPL v2
12 Group:          Applications/System
13 Source0:        http://www.bootsplash.de/files/splashutils/%{name}-%{version}.tar.bz2
14 # Source0-md5:  b74c104372fd182d0442b3ed63210e29
15 Source1:        %{name}.script
16 Source2:        %{name}-bootanim.script
17 Source3:        %{name}.sysconfig
18 Source4:        %{name}.init
19 Patch0:         %{name}-3.2_makefile_libmng.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 its behaviour with this set of userspace
30 utilities.
31
32 %description -l de
33 Wenn du einen Kernel mit der bootsplash Option hast, kannst du diese
34 mit diesen Programmen steuern.
35
36 %description -l pl
37 Maj±c j±dro z opcj± bootsplash mo¿na uzyskaæ graficzny ekran podczas
38 startu systemu i sterowaæ jego zachowaniem przy u¿yciu tego zbioru
39 narzêdzi przestrzeni u¿ytkownika.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44
45 %build
46 %{__make} -C Utilities \
47         CC="%{__cc}" \
48         CFLAGS="%{rpmcflags} -Wall -I/usr/include/freetype2 -DDEFAULT_FONTNAME=\\\"%{_datadir}/%{name}/luxisri.ttf\\\"" \
49         STRIP=true
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_sysconfdir}/{bootsplash/themes,rc.d/init.d,sysconfig}}
54
55 install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/splash
56 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/bootanim
57 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/bootsplash
58 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/bootsplash
59 install Scripts/* $RPM_BUILD_ROOT%{_datadir}/%{name}
60 install Utilities/splash $RPM_BUILD_ROOT%{_bindir}/splash.bin
61 install Utilities/{fbmngplay,fbresolution,fbtruetype} $RPM_BUILD_ROOT%{_bindir}
62 install Utilities/*.ttf $RPM_BUILD_ROOT%{_datadir}/%{name}
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc {Documentation,Utilities}/README.*
70 %attr(755,root,root) %{_bindir}/*
71 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bootsplash
72 %attr(754,root,root) /etc/rc.d/init.d/bootsplash
73 %{_datadir}/%{name}
74 %dir %{_sysconfdir}/bootsplash
75 %dir %{_sysconfdir}/bootsplash/themes
This page took 0.05955 seconds and 3 git commands to generate.