File gtk2-theme-SLED.spec of Package gtk2-theme-SLED

#
# spec file for package gtk2-theme-SLED (Version 11.1)
#
# Copyright (c) 2008 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

%define gilouche_version 11.1.1

Name:           gtk2-theme-SLED
Version:        11.1
Release:        1
Group:          System/GUI/GNOME
License:        GPL v2 or later
Summary:        SLED  themes and metathemes for gtk2 and metacity
Source:         metatheme-gilouche-%{gilouche_version}.tar.bz2
Source1:        metacity-theme-greygilouche.tar.bz2
Source2:        metacity-theme-suse.tar.bz2
Source3:        metatheme-synchronicity.tar.bz2
Source4:        %{name}-COPYING
Source5:        %{name}-AUTHORS
Supplements:    branding-SLED = 10.2
Provides:       metacity-theme-SLED = %{version}
Enhances:       gtk2 metacity
# Existed for openSUSE <= 10.3, SLE <= 10
Obsoletes:      gnome2-SuSE
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  fdupes gtk2-devel gtk2-engines-devel icon-naming-utils-devel intltool
BuildArch:      noarch
# Gilouche Chlorophyll Synchronicity requires engine "clearlooks"
Requires:       gtk2-engines
# Gilouche requires engine "pixmap"
Requires:       gtk2

%description
SLED themes and metathemes for gtk2 and metacity contains several
themes in SLED look: Gilouche, GreyGilouche, Synchonicity and SuSE.



Authors:
--------
    Jakub Steiner <jimmac@novell.com>
    Garrett LeSage <glesage@novell.com>
    Richard Stellingwerff <remenic@gmail.com>
    Daniel Borgmann <daniel.borgmann@gmail.com>
    Kenneth Wimer <wimer@suse.de>
    Everaldo Coelho <everaldo@everaldo.com>

%prep
%setup -q -T -a0 -a1 -a2 -a3 -c %{name}-%{version}
cp -a %{S:4} COPYING
cp -a %{S:5} AUTHORS

%build
cd metatheme-gilouche-%{gilouche_version}
intltoolize -f
autoreconf -f -i
%configure
make %{?jobs:-j %jobs}

%install
install -d $RPM_BUILD_ROOT%{_datadir}/themes
for DIR in * ; do
    if test $DIR = metatheme-gilouche-%{gilouche_version} ; then
	continue
    fi
    if test -d $DIR ; then
	cp -a $DIR $RPM_BUILD_ROOT%{_datadir}/themes/
    fi
done
cd metatheme-gilouche-%{gilouche_version}
%makeinstall
%fdupes $RPM_BUILD_ROOT%{_datadir}
%find_lang metatheme-gilouche

%clean
rm -rf $RPM_BUILD_ROOT

%files -f metatheme-gilouche-%{gilouche_version}/metatheme-gilouche.lang
%defattr (-, root, root)
%doc COPYING AUTHORS
%{_datadir}/themes/*
%{_datadir}/icons/*

%changelog
* Tue Nov 04 2008 vuntz@novell.com
- Bump version to 11.1. Part of bnc#440849.
* Tue Oct 21 2008 mauro@suse.de
- metatheme-gilouche updated to 11.1.1 (bnc#433838)
* Mon Aug 25 2008 jpr@suse.de
- Initial SLED package copied from openSUSE
openSUSE Build Service is sponsored by