File E17_wallpapers.spec of Package E17_wallpapers
#
# spec file for package E17_sda_static_wallpapers
#
# Copyright (c) 2008 SOAD Project, Russia.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bug fixes or comments to the Maintainer: sda00@himki.net
#
# norootforbuild
Name: E17_sda_static_wallpapers
Version: 1
Release: SOAD.1
License: GPL/BSD/Others non critical
URL: http://sda.scwlab.com/E17_wallpapers/index.html
#Provides: %{name}
BuildArch: noarch
BuildRoot: /tmp/%{name}%{version}build
Source: static.tar.bz2
Packager: sda00 <sda00@himki.net>
Group: System/GUI/Enlightenment/Wallpapers
Summary: Several wallpapers for E17 which was created by Nathan Baxter or located at povray HOF
# BuildRequires: E17
# Requires: E17
%description
Please visit the url:// to see the screenshots.
Prepared by SOAD project.
%prep
rm -rf "$RPM_BUILD_ROOT"
#%setup
%{?suse_update_config:%{suse_update_config -f}}
%build
%install
#export NEW_SHARED_DIR=/usr/share/icons
## Function declaration
build_without_uninstall ()
{
mkdir -p $RPM_BUILD_ROOT/usr/share/enlightenment/data/backgrounds/
cd $RPM_BUILD_ROOT/usr/share/enlightenment/data/backgrounds/
tar xf $RPM_SOURCE_DIR/static.tar.bz2
# cp -r ./* $RPM_BUILD_ROOT$NEW_SHARED_DIR/
}
## Build all components
build_without_uninstall
%clean
rm -rf "$RPM_BUILD_ROOT"
# $RPM_SOURCE_DIR
#%pre
#%post
%files
%defattr(-,root,root)
%dir %{_datadir}/enlightenment
%{_datadir}/enlightenment/*
%changelog
* Tue Jul 8 2008 first build for SOAD project <sda00@himki.net>
- just because I wanted to make my Linux CD :)