File sedation.spec of Package gtk2-theme-sedation

#
# spec file for package sedation
#
# 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:           gtk2-theme-sedation
Version:        1
Release:	SOAD.1
License:        BSD
URL:		http://jp.bizet.free.fr/themes/gnome.html
#Provides:	%{name}
BuildRoot:      /tmp/%{name}-%{version}-build
Source: 	GNOME-Sedation.tar.gz
Packager: 	sda00 <sda00@himki.net>
Group:          System/GUI/Themes
Summary: 	An adaptation of the Sedation theme for Enlightenment (http://pixelmasochist.deviantart.com)

#BuildRequires:	iputils cvs   
#BuildRequires:	E16

#Requires:		E16

%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/themes

## Function declaration

build_without_uninstall ()
{
mkdir -p $RPM_BUILD_ROOT$NEW_SHARED_DIR
cd $RPM_BUILD_ROOT$NEW_SHARED_DIR
tar xfm $RPM_SOURCE_DIR/GNOME-Sedation.tar.gz
}

## Build all components
build_without_uninstall

%clean
rm -rf "$RPM_BUILD_ROOT"
# $RPM_SOURCE_DIR

#%pre

#%post

%files
%defattr(-,root,root)
%dir %{_datadir}/themes/Sedation
%{_datadir}/themes/Sedation/*


%changelog
* Wed Nov  18 2008  first build for SOAD project <sda00@himki.net>
- just because I wanted to make my Linux CD  :)

openSUSE Build Service is sponsored by