File metacity-themes.spec of Package metacity-themes

#
# spec file for package metacity-themes
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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://bugs.opensuse.org/
#

# norootforbuild


Name:           metacity-themes
BuildRequires:  metacity
License:        GPL-2.0+
Group:          System/GUI/GNOME
AutoReqProv:    on
Requires:       metacity
Version:        0.1
Release:        766
Summary:        Themes for the Metacity Window Manager
Url:            http://www.sunshineinabag.co.uk
Source:         keramik-metacity-0.2.tar.gz
Source1:        BeautifulAndFree-0.1.1.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This package contains themes usable with the Metacity window manager
for the GNOME Desktop.

%prep

%build

%install
mkdir -p $RPM_BUILD_ROOT%{_datadir}/themes/keramik
mkdir -p $RPM_BUILD_ROOT%{_datadir}/themes/"Beautiful and Free"
cd $RPM_BUILD_ROOT%{_datadir}/themes/keramik
tar xvfz %SOURCE0 
mv $RPM_BUILD_ROOT%{_datadir}/themes/keramik/keramik $RPM_BUILD_ROOT%{_datadir}/themes/keramik/metacity-1
cd $RPM_BUILD_ROOT%{_datadir}/themes/"Beautiful and Free"
tar xvfz %SOURCE1
mv $RPM_BUILD_ROOT%{_datadir}/themes/"Beautiful and Free"/"Beautiful and Free" $RPM_BUILD_ROOT%{_datadir}/themes/"Beautiful and Free"/metacity-1

%clean

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

%changelog
openSUSE Build Service is sponsored by