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

#
# spec file for package gtk2-theme-openSUSE (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-openSUSE
Version:        11.1
Release:        1
Group:          System/GUI/GNOME
License:        GPL v2 or later
Summary:        openSUSE 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-openSUSE = 10.2
Provides:       metacity-theme-openSUSE = %{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
OpenSUSE themes and metathemes for gtk2 and metacity contains several
themes in openSUSE 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
- Updated methatheme-gilouche to 11.1.1 (bnc#433838)
* Fri May 30 2008 sbrabec@suse.cz
- Created new version 11.0.7 of metatheme-gilouche (bnc#391865):
  * added missing icon theme index
  * fixed broken metacity theme
  * make notification message stripes themed
* Tue May 20 2008 sbrabec@suse.cz
- Industrial icon theme renamed to Gilouche and moved from
  gtk2-metatheme-industrial (bnc#369276#c9).
* Tue May 06 2008 sbrabec@suse.cz
- Obsolete conflicting gnome2-SuSE.
* Fri Apr 18 2008 sbrabec@suse.cz
- Updated metatheme-gilouche-0.4 to gtk2-theme-openSUSE-0.5 and
  opensuse-theme-metacity-gilouche-0.3 (bnc#369309).
* Mon Apr 07 2008 sbrabec@suse.cz
- Updated Gilouche to version 0.4 (bnc#369313).
- Rename to gtk2-theme-openSUSE following branding conventions.
- Package source of each theme separately.
- Added AUTHORS and COPYING files (bnc#368607).
- Removed obsolete chlorophyll theme (bnc#368159).
* Mon Mar 10 2008 sbrabec@suse.cz
- Added metacity theme SuSE from gnome2-SuSE.
* Fri Mar 07 2008 sbrabec@suse.cz
- Split gtk2 and metacity themes out from gnome2-SuSE to a separate
  package.
openSUSE Build Service is sponsored by