File aperture-studio-boot.spec of Package aperture-studio-boot
#
# spec file for package aperture-studio-boot
#
# Copyright 2012 Aperture Linux
#
# 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://aperturelinux.org/bugs
#
Name: aperture-studio-boot
License: GPLV 3
Group: Productivity/Graphics/Other
URL: http://aperturelinux.org/
Summary: Aperture Linux Bootsplash-theme
Version: 0.0.1
Release: 1
Source: %{name}-%{version}.tar.gz
# sysconfig files
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: bootsplash-branding-aperturelinux
BuildArch: noarch
%description
For branding Aperture Linux bootsplash live session
%define image_themefolder /etc/bootsplash/themes/studio/images/
%define con_themefolder /etc/bootsplash/themes/studio/config/
%prep
%setup -q
%setup -T -D -a 0
%build
%install
install -d -m 755 %{buildroot}/etc/bootsplash/themes/
install -d -m 755 %{buildroot}/etc/bootsplash/themes/studio/
install -d -m 755 %{buildroot}/etc/bootsplash/themes/studio/images/
install -d -m 755 %{buildroot}/etc/bootsplash/themes/studio/config/
# install -m 755 ./conf/bootsplash {buildroot}/etc/sysconfig/
install -m 644 *.jpg %{buildroot}/etc/bootsplash/themes/studio/images/
install -m 644 *.mng %{buildroot}/etc/bootsplash/themes/studio/images/
install -m 644 *.cfg %{buildroot}/etc/bootsplash/themes/studio/config/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%dir /etc/bootsplash/
%dir /etc/bootsplash/themes/
%dir /etc/bootsplash/themes/studio/
%dir /etc/bootsplash/themes/studio/images/
%dir /etc/bootsplash/themes/studio/config/
%image_themefolder/*.jpg
%image_themefolder/*.mng
%con_themefolder/*.cfg
# config /etc/sysconfig/bootsplash
%changelog
* Sat Apr 28 2012 Aperture Linux - Terje Gulbrandsen <tertitten74@gmail.com>
- Packaged aperture-studio-boot for Aperture Linux