LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File bootsplash-SuSE-Elegant.spec of Package bootsplash-SuSE-Elegant (Project home:deltafox:style)

# norootforbuild

Name:           bootsplash-SuSE-Elegant
Url:            http://kde-look.org/content/show.php?content=117310
Version:        1.0
Release:        2.2
Summary:        An elegant theme for bootsplash
License:        GPL
Group:          System/Boot
Packager: 	Deltafox
AutoReqProv:    on
PreReq:         %fillup_prereq perl
Supplements:    branding-openSUSE
Provides:       bootsplash-branding
Obsoletes:      bootsplash-theme-SuSE
BuildArch:	noarch
Provides:       bootsplash-theme-SuSE
# Scripts and programs
Source0:        SuSE-Elegant.tar.gz
# sysconfig files
Source1:       sysconfig.bootsplash-SuSE-Elegant
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       bootsplash >= 3.3-11 mkinitrd


%description
SuSE Bootsplash, Dark Background, descarga desde box.net

Authors:
--------
    Cristian Rodriguez

%prep
%setup -c
%setup -T -D -a 0
#cp -p %{SOURCE1} .

%build

%install
mkdir -p %{buildroot}/etc/bootsplash
mkdir -p %{buildroot}/etc/bootsplash/themes
cp -a SuSE-Elegant %{buildroot}/etc/bootsplash/themes
#for i in %{buildroot}/etc/bootsplash/themes/* ; do
#  cp -a LICENSE $i/.
#done
mkdir -p %{buildroot}/var/adm/fillup-templates
cp %{SOURCE1} %{buildroot}/var/adm/fillup-templates/

%post 
%{fillup_only -ns bootsplash SuSE-Elegant }
perl -pi -e 's/^(THEME=).*/$1"SuSE-Elegant"/' /etc/sysconfig/bootsplash
if [ -e /sbin/mkinitrd ]
then
/sbin/mkinitrd
fi

%files
%defattr(-,root,root)
%dir /etc/bootsplash
%dir /etc/bootsplash/themes
/etc/bootsplash/themes/SuSE-Elegant
%config /var/adm/fillup-templates/sysconfig.bootsplash-SuSE-Elegant

%changelog 
* Fri Nov 26 2010 Deltafox 
- Rewrite spec file
* Fri Jun 18 2010 Grieff 
- Initial package