]> git.pld-linux.org Git - packages/bootsplash.git/blame - bootsplash.spec
- tabs in preamble
[packages/bootsplash.git] / bootsplash.spec
CommitLineData
2acc4fb7 1# TODO:
2# - place somewhere info that distkernel support only 16bit splashes (thnx Tomasz Grobelny)
3#
57af4306 4Summary: Bootsplash - graphical boot process for Linux
3876d33b
ER
5Summary(de.UTF-8): Bootsplash - graphischer System Start
6Summary(pl.UTF-8): Bootsplash - graficzny proces startu systemu dla Linuksa
96fdc6dd 7Name: bootsplash
53ee5297 8Version: 3.2
bf1f485a 9Release: 2
96fdc6dd 10License: GPL v2
57af4306 11Group: Applications/System
a22a7a46 12Source0: http://www.bootsplash.de/files/splashutils/%{name}-%{version}.tar.bz2
53ee5297 13# Source0-md5: b74c104372fd182d0442b3ed63210e29
c9a3e7d5 14Source1: %{name}.script
22378773
AM
15Source2: %{name}-bootanim.script
16Source3: %{name}.sysconfig
9c11ca06 17Source4: %{name}.init
53ee5297 18Patch0: %{name}-3.2_makefile_libmng.patch
1cb41aea
JB
19URL: http://www.bootsplash.org/
20BuildRequires: freetype-devel >= 2.1
fd2c7fcf 21BuildRequires: libmng-devel
0d1762fd 22BuildRequires: rpmbuild(macros) >= 1.268
ee901123 23Requires(post,preun): /sbin/chkconfig
96fdc6dd 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
c800a360
AM
26%define _bindir /bin
27
96fdc6dd 28%description
29When you have a kernel with bootsplash capability you can use the
3f3dd1a9 30bootsplash and control its behaviour with this set of userspace
96fdc6dd 31utilities.
32
42a05921 33%description -l de.UTF-8
451cc909 34Wenn du einen Kernel mit der bootsplash Option hast, kannst du diese
35mit diesen Programmen steuern.
36
42a05921
JR
37%description -l pl.UTF-8
38Mając jądro z opcją bootsplash można uzyskać graficzny ekran podczas
39startu systemu i sterować jego zachowaniem przy użyciu tego zbioru
40narzędzi przestrzeni użytkownika.
1cb41aea 41
96fdc6dd 42%prep
f69762b8 43%setup -q
53ee5297 44%patch0 -p1
5b548eb2 45rm -f Utilities/splash.o
96fdc6dd 46
47%build
1cb41aea
JB
48%{__make} -C Utilities \
49 CC="%{__cc}" \
50 CFLAGS="%{rpmcflags} -Wall -I/usr/include/freetype2 -DDEFAULT_FONTNAME=\\\"%{_datadir}/%{name}/luxisri.ttf\\\"" \
51 STRIP=true
96fdc6dd 52
53%install
54rm -rf $RPM_BUILD_ROOT
9f353baf
ER
55install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_sysconfdir}/bootsplash/themes} \
56 $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
96fdc6dd 57
c800a360 58install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/splash
22378773
AM
59install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/bootanim
60install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/bootsplash
9c11ca06 61install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/bootsplash
96fdc6dd 62install Scripts/* $RPM_BUILD_ROOT%{_datadir}/%{name}
c9a3e7d5
AM
63install Utilities/splash $RPM_BUILD_ROOT%{_bindir}/splash.bin
64install Utilities/{fbmngplay,fbresolution,fbtruetype} $RPM_BUILD_ROOT%{_bindir}
96fdc6dd 65install Utilities/*.ttf $RPM_BUILD_ROOT%{_datadir}/%{name}
16098607 66
96fdc6dd 67%clean
68rm -rf $RPM_BUILD_ROOT
69
ee901123 70%post
71/sbin/chkconfig --add bootsplash
72
73%preun
74if [ "$1" = "0" ]; then
75 %service bootsplash stop
76 /sbin/chkconfig --del bootsplash
77fi
78
96fdc6dd 79%files
80%defattr(644,root,root,755)
1cb41aea 81%doc {Documentation,Utilities}/README.*
96fdc6dd 82%attr(755,root,root) %{_bindir}/*
5b548eb2 83%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bootsplash
9c11ca06 84%attr(754,root,root) /etc/rc.d/init.d/bootsplash
96fdc6dd 85%{_datadir}/%{name}
451cc909 86%dir %{_sysconfdir}/bootsplash
87%dir %{_sysconfdir}/bootsplash/themes
This page took 0.086293 seconds and 4 git commands to generate.