File b2w_Gloss.spec of Package black-white_2-Gloss-icon-theme
#
# spec file for package black-white_2-Gloss-icon-theme
#
# 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: black-white_2-Gloss-icon-theme
Version: 1
Release: SOAD.1
License: BSD
URL: http://gnome-look.org/content/show.php/black-white+2+Style?content=72619
#Provides: %{name}
BuildRoot: /tmp/%{name}%{version}build
Source: black-white_2-Gloss.tar.bz2
Packager: sda00 <sda00@himki.net>
Group: System/GUI/Themes
Summary: Nice gnome icon theme
#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/icons
## 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/black-white_2-Gloss.tar.bz2
}
## Build all components
build_without_uninstall
cd -
%clean
rm -rf "$RPM_BUILD_ROOT"
# $RPM_SOURCE_DIR
#%pre
#%post
%files
%defattr(-,root,root)
%dir %{_datadir}/icons/black-white_2-Gloss
%{_datadir}/icons/black-white_2-Gloss/*
%changelog
* Tue Jul 8 2008 first build for SOAD project <sda00@himki.net>
- just because I wanted to make my Linux CD :)