File plymouth-lite.spec of Package plymouth-lite
#
# spec file for package plymouth-lite (Version 0.6.0)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: plymouth-lite
Summary: Boot Splash Screen
Group: Applications/System
Version: 0.6.0
Release: 1
License: GPLv2
Url: http://www.moblin.org
Source0: plymouth-lite-%{version}.tar.bz2
Source1: ply-splash.init
Source99: plymouth-lite-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch1: plymouth-lite-vtswitch.patch
Patch2: plymouth-lite-fix_makefile.patch
Patch3: plymouth-lite-libpng14.patch
BuildRequires: libpng14-devel make pkgconfig
PreReq: %insserv_prereq
%description
Boot splash screen based on Fedora's Plymouth code.
%prep
%setup -q -n plymouth-lite-0.6.0
%patch1 -p1
%patch2
%patch3 -p1
%build
%configure --disable-static
%__make %{?_smp_mflags} OPTFLAGS="%{optflags}" CC="%__cc"
%install
%__install -D -m0755 "%{SOURCE1}" "%{buildroot}/etc/init.d/ply-splash"
%__make install DESTDIR="%{buildroot}" PREFIX="%{_prefix}"
%clean
%__rm -rf "%{buildroot}"
%post
%{insserv_force_if_yast ply-splash}
%postun
%{insserv_cleanup}
%files
%defattr(-,root,root,-)
%doc COPYING
%config %attr(0755,root,root) /etc/init.d/ply-splash
%{_bindir}/ply-image
%dir %{_datadir}/plymouth
%{_datadir}/plymouth/splash.png
%changelog