2011-01-11 19:52:18 +00:00
|
|
|
Name: qubes-logos
|
|
|
|
Summary: Icons and pictures
|
|
|
|
Version: 1
|
2011-04-08 13:14:06 +00:00
|
|
|
Release: 3
|
2011-01-11 19:52:18 +00:00
|
|
|
Group: System Environment/Base
|
|
|
|
Source0: qubes-logos-%{version}.tar.bz2
|
|
|
|
License: GPLv2 and LGPL
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
Obsoletes: fedora-logos
|
|
|
|
Obsoletes: redhat-logos
|
|
|
|
Provides: fedora-logos = 13-%{release}
|
|
|
|
Provides: redhat-logos = 13-%{release}
|
|
|
|
Provides: system-logos = %{version}-%{release}
|
|
|
|
Conflicts: kdebase <= 3.1.5
|
|
|
|
Conflicts: anaconda-images <= 10
|
|
|
|
Conflicts: redhat-artwork <= 5.0.5
|
|
|
|
# For _kde4_appsdir macro:
|
|
|
|
BuildRequires: kde-filesystem
|
2011-04-08 18:06:06 +00:00
|
|
|
Requires: plymouth-plugin-script
|
2011-06-23 21:36:12 +00:00
|
|
|
# For plymouth-set-default-theme
|
2011-10-14 10:24:19 +00:00
|
|
|
Requires(post): plymouth-scripts
|
2011-04-08 18:06:06 +00:00
|
|
|
|
2011-01-11 19:52:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
The qubes-logos package contains various image files which can be
|
|
|
|
used by the bootloader, anaconda, and other related tools.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
# should be ifarch i386
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/boot/grub
|
|
|
|
install -p -m 644 bootloader/splash.xpm.gz $RPM_BUILD_ROOT/boot/grub/splash.xpm.gz
|
|
|
|
# end i386 bits
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/firstboot/themes/qubes
|
|
|
|
for i in firstboot/* ; do
|
|
|
|
install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/firstboot/themes/qubes
|
|
|
|
done
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash
|
|
|
|
for i in gnome-splash/* ; do
|
|
|
|
install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash
|
|
|
|
done
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_kde4_appsdir}/ksplash/Themes/Leonidas/2048x1536
|
|
|
|
install -p -m 644 ksplash/SolarComet-kde.png $RPM_BUILD_ROOT%{_kde4_appsdir}/ksplash/Themes/Leonidas/2048x1536/logo.png
|
|
|
|
|
2011-04-08 13:14:06 +00:00
|
|
|
for k in charge qubes; do
|
2011-04-06 12:26:25 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/$k/
|
|
|
|
for i in plymouth/$k/* ; do
|
|
|
|
install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/$k/
|
|
|
|
done
|
2011-01-11 19:52:18 +00:00
|
|
|
done
|
2011-04-06 14:38:30 +00:00
|
|
|
install -p -m 644 plymouth/plymouthd.defaults.qubes $RPM_BUILD_ROOT%{_datadir}/plymouth
|
2011-01-11 19:52:18 +00:00
|
|
|
|
|
|
|
(cd anaconda; make DESTDIR=$RPM_BUILD_ROOT install)
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2011-04-06 21:59:06 +00:00
|
|
|
%triggerin -- plymouth
|
2011-04-06 14:38:30 +00:00
|
|
|
cp -f %{_datadir}/plymouth/plymouthd.defaults.qubes %{_datadir}/plymouth/plymouthd.defaults
|
2011-04-11 19:13:35 +00:00
|
|
|
/usr/sbin/plymouth-set-default-theme qubes || :
|
2011-04-06 11:46:11 +00:00
|
|
|
|
2011-04-06 21:59:06 +00:00
|
|
|
%post
|
2011-04-11 19:13:35 +00:00
|
|
|
/usr/sbin/plymouth-set-default-theme qubes || :
|
2011-04-06 21:59:06 +00:00
|
|
|
|
2011-01-11 19:52:18 +00:00
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc COPYING COPYING-kde-logo
|
|
|
|
%{_datadir}/firstboot/themes/*
|
|
|
|
%{_datadir}/anaconda/pixmaps/*
|
2011-04-06 14:38:30 +00:00
|
|
|
%{_datadir}/plymouth/plymouthd.defaults.qubes
|
2011-01-11 19:52:18 +00:00
|
|
|
%{_datadir}/plymouth/themes/charge/*
|
2011-04-08 13:14:06 +00:00
|
|
|
%{_datadir}/plymouth/themes/qubes/*
|
2011-04-03 15:32:36 +00:00
|
|
|
%{_datadir}/pixmaps/splash/*
|
2011-01-11 19:52:18 +00:00
|
|
|
/usr/lib/anaconda-runtime/*.jpg
|
|
|
|
%{_kde4_appsdir}/ksplash/Themes/Leonidas/2048x1536/logo.png
|
|
|
|
# should be ifarch i386
|
|
|
|
/boot/grub/splash.xpm.gz
|
|
|
|
# end i386 bits
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Tue Jan 13 2010 Tomasz Sterna <smoku@xiaoka.com> - 1
|
|
|
|
- Initial Qubes 1 Release package
|