Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
bootsplash
bootsplash.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bootsplash.spec of Package bootsplash
# # spec file for package bootsplash # # Copyright (c) 2011 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/ # Name: bootsplash BuildRequires: freetype2-devel libjpeg-devel libmng-devel Url: http://www.bootsplash.org/ Version: 3.3 Release: 171 Summary: Graphical System Boot Utilities License: GPL-2.0+ Group: System/Boot PreReq: %insserv_prereq %fillup_prereq coreutils mkinitrd Obsoletes: splashanim Provides: splashanim Recommends: bootsplash-branding Source0: bootsplash-%{version}.tar.bz2 Source1: mkinitrd-setup.sh Patch0: bootsplash-3.3-decodejpeg.patch Patch1: bootsplash-3.3-fix-init.diff Patch2: bootsplash-3.3-no-build-date.patch Patch3: bootsplash-3.3-sysconfig.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The bootsplash package contains utilities and scripts for displaying graphics, animations, or text when the system boots. To use bootsplash, you also need a bootsplash theme that contains pictures and configuration files. Find information about bootsplash at http://www.bootsplash.org/. %prep %setup %patch0 %patch1 -p1 %patch2 %patch3 %build cd Utilities PREFIX=%{_exec_prefix} LIB=%{_lib} make STRIP=: CC="gcc $RPM_OPT_FLAGS" \ %{?_smp_mflags} %install # create directory structure mkdir -p ${RPM_BUILD_ROOT}/sbin mkdir -p ${RPM_BUILD_ROOT}/usr/sbin mkdir -p ${RPM_BUILD_ROOT}/etc/bootsplash/themes mkdir -p ${RPM_BUILD_ROOT}/etc/init.d mkdir -p ${RPM_BUILD_ROOT}/lib/mkinitrd/scripts mkdir -p ${RPM_BUILD_ROOT}/var/adm/fillup-templates # copy program files cd Utilities install -m 755 fbmngplay ${RPM_BUILD_ROOT}/usr/sbin install -m 755 fbtruetype ${RPM_BUILD_ROOT}/usr/sbin install -m 755 splash ${RPM_BUILD_ROOT}/sbin install -m 755 splashpbm ${RPM_BUILD_ROOT}/sbin install -m 755 fbresolution ${RPM_BUILD_ROOT}/sbin # copy scripts cd ../Scripts ln -s splash ${RPM_BUILD_ROOT}/sbin/splash.bin install -m 755 bootanim ${RPM_BUILD_ROOT}/sbin install -m 755 splash_early ${RPM_BUILD_ROOT}/etc/init.d install -m 755 rcsplash ${RPM_BUILD_ROOT}/etc/init.d/splash ln -sf ../../etc/init.d/splash ${RPM_BUILD_ROOT}/usr/sbin/rcsplash install -m 644 sysconfig.bootsplash $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.bootsplash install -m 755 %{S:1} ${RPM_BUILD_ROOT}/lib/mkinitrd/scripts/setup-splash.sh %post # add start/stop links %{insserv_force_if_yast etc/init.d/splash_early } %{insserv_force_if_yast etc/init.d/splash } %{fillup_only bootsplash } #test -e /dev/bootsplash || (umask 077 ; mknod /dev/bootsplash p) || : /sbin/mkinitrd_setup %preun cd etc/bootsplash/themes test -L current || exit 0 rm -f current %postun %{insserv_cleanup} /sbin/mkinitrd_setup if test -s /etc/sysconfig/bootloader ; then /sbin/mkinitrd fi %files %defattr(-,root,root) %doc Documentation/* /sbin/bootanim /usr/sbin/fbmngplay /usr/sbin/fbtruetype /sbin/fbresolution /sbin/splash /sbin/splashpbm /sbin/splash.bin #%ghost /dev/bootsplash %dir /etc/bootsplash %dir /etc/bootsplash/themes %config /etc/init.d/splash_early %config /etc/init.d/splash %dir /lib/mkinitrd %dir /lib/mkinitrd/scripts /lib/mkinitrd/scripts/setup-splash.sh %config /var/adm/fillup-templates/sysconfig.bootsplash /usr/sbin/rcsplash %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor