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