]> git.pld-linux.org Git - packages/bootsplash.git/blob - bootsplash.spec
- rel 0.3; all utils in /bin since these are run at boot time
[packages/bootsplash.git] / bootsplash.spec
1 Summary:        Bootsplash - graphical boot process for Linux
2 Summary(pl):    Bootsplash - graficzny proces startu systemu dla Linuksa
3 Name:           bootsplash
4 Version:        3.0.7
5 Release:        0.3
6 Epoch:          0
7 License:        GPL v2
8 Group:          Applications/System
9 Source0:        ftp://ftp.suse.com/pub/people/stepan/%{name}/rpm-sources/%{name}/%{name}-%{version}.tar.bz2
10 # Source0-md5:  d7c7cdab692fb2edc5cf5ebb554f20a1
11 Source1:        %{name}.script
12 Patch0:         %{name}-freetype-includes.patch
13 URL:            http://www.bootsplash.org/
14 BuildRequires:  freetype-devel >= 2.1
15 BuildRequires:  libmng-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _bindir /bin
19
20 %description
21 When you have a kernel with bootsplash capability you can use the
22 bootsplash and control it's behaviour with this set of userspace
23 utilities.
24
25 %description -l pl
26 Maj±c j±dro z opcj± bootsplash mo¿na uzyskaæ graficzny ekran podczas
27 startu systemu i sterowaæ jego zachowaniem przy u¿yciu tego zbioru
28 narzêdzi przestrzeni u¿ytkownika.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33
34 %build
35 %{__make} -C Utilities \
36         CC="%{__cc}" \
37         CFLAGS="%{rpmcflags} -Wall -I/usr/include/freetype2 -DDEFAULT_FONTNAME=\\\"%{_datadir}/%{name}/luxisri.ttf\\\"" \
38         STRIP=true
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
43
44 install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/splash
45 install Scripts/* $RPM_BUILD_ROOT%{_datadir}/%{name}
46 install Utilities/splash $RPM_BUILD_ROOT%{_bindir}/splash.bin
47 install Utilities/{fbmngplay,fbresolution,fbtruetype} $RPM_BUILD_ROOT%{_bindir}
48 install Utilities/*.ttf $RPM_BUILD_ROOT%{_datadir}/%{name}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc {Documentation,Utilities}/README.*
56 %attr(755,root,root) %{_bindir}/*
57 %{_datadir}/%{name}
This page took 0.05966 seconds and 4 git commands to generate.