summaryrefslogtreecommitdiffstats
path: root/scripts/plymouth.spec
blob: 90ba5b6feaa14d6e88688c159b5549d92a7c5f75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Summary: Plymouth Graphical Boot Animation
Name: plymouth
Version: 0.0.1
Release: 1%{?dist} 
License: GPL
Group: System Environment/Base
Source0: %{name}-%{version}.tar.bz2
URL: http://people.freedesktop.org/~halfline/plymouth
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 

Conflicts: rhgb
BuildRequires: libpng-devel
Requires: mkinitrd

%description
Plymouth provides an attractive graphical boot animation in place 
of the text messages that normally get shown.

%prep
%setup -q 

%build
%configure 
make

%install
rm -rf $RPM_BUILD_ROOT

make install DESTDIR=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;

%clean
rm -rf $RPM_BUILD_ROOT

%post
/usr/libexec/plymouth/plymouth-update-initrd > /dev/null
%preun

%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS README
%{_datadir}/plymouth/star.png
%{_libexecdir}/plymouth/plymouth
%{_libexecdir}/plymouth/plymouth-update-initrd
%{_libdir}/plymouth/fedora-fade-in.so
%{_libdir}/libply.so*
%{_bindir}/rhgb-client

%changelog
* Fri Jun  8 2007 Ray Strode <rstrode@redhat.com> - 0.0.1-1
- Initial import, version 0.0.1