File vision.spec of Package gtk2-theme-vision

#
# spec file for package vision
#
# 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-vision
Version:        1
Release:	SOAD.1
License:        BSD
URL:		http://gnome-look.org/content/show.php/vision+(codename+inspiration)?content=80064
#Provides:	%{name}
BuildRoot:      /tmp/%{name}-%{version}-build
Source: 	vision.tar.bz2
Packager: 	sda00 <sda00@himki.net>
Group:          System/GUI/Themes
Summary: 	Nice gtk2 theme by Robert Metsäranta

#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/vision.tar.bz2
}

## Build all components
build_without_uninstall

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

#%pre

#%post

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


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

openSUSE Build Service is sponsored by