File gnome-themes-extras.spec of Package gnome-themes-extras
#
# spec file for package gnome-themes-extras (Version 2.22.0)
#
# Copyright (c) 2009 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: gnome-themes-extras
BuildRequires: fdupes glib2-devel gtk2-engines-devel icon-naming-utils intltool translation-update-upstream
# FIXME: Should be a part of gtk2-engines-devel, which is not yet splitted:
BuildRequires: gtk2-devel
License: GPL v2 only; GPL v2 or later
Group: System/GUI/GNOME
Version: 2.22.0
Release: 49
Source: %{name}-%{version}.tar.bz2
Url: http://www.gnome.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Additional GNOME Themes
Requires: gnome-themes
Enhances: gnome-themes
BuildArch: noarch
%description
This package contains several extra GNOME themes.
Authors:
--------
Andrea Cimitan <andrea.cimitan@gmail.com>
Andreasn Nilsson <nisses.mail@home.se>
Silvestre Herrera <silvestre.herrera@gmail.com>
%prep
%setup -q
translation-update-upstream
%build
autoreconf -f -i
%configure
make %{?jobs:-j %jobs}
%install
%makeinstall
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
find -name AUTHORS -o -name "COPYING*" -o -name "README*" -o -name TODO -o -name "ChangeLog*" -o -name MAINTAINERS -o -name "*NEWS*" |
while read ; do
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/${REPLY%/*}
cp -a $REPLY $RPM_BUILD_ROOT%{_docdir}/%{name}/$REPLY
done
rm -r $RPM_BUILD_ROOT%{_docdir}/%{name}/po
# COPYING README TODO are 1 byte long
rm $RPM_BUILD_ROOT%{_docdir}/%{name}/{COPYING,README,TODO}
# NOTE: There is no real use of these locales just now:
%find_lang %{name}
%fdupes $RPM_BUILD_ROOT%{_datadir}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-, root, root)
%doc %{_docdir}/%{name}
%{_datadir}/icons/*
%{_datadir}/themes/*
%changelog
* Mon Feb 16 2009 sbrabec@suse.cz
- Added support for translation-update-upstream (FATE#301344).
* Tue May 13 2008 sbrabec@suse.cz
- Updated to version 2.22.0:
* New Unity Gtk Theme
* New Unity Metacity Theme
* New GNOME-Alternative Icon Theme
* Updated Foxtrot Icon Theme
* Wed Oct 03 2007 sbrabec@suse.cz
- New SuSE package, version 2.20.