File oxygen-molecule.spec of Package oxygen-molecule

#
# spec file for package oxygen-molecule (Version 3.2)
#
# Copyright (c) 2010 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:           oxygen-molecule
Version:        3.2
Release:        5
Url:            http://www.kde-look.org/content/show.php?content=103741
License:        GPL-2.0+
Group:          System/GUI/KDE
Summary:        GTK theme to match KDE desktop environment
Source:         103741-Oxygen-Molecule_%{version}_theme.tar.gz
Source1:        COPYING
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
BuildRequires:  kde4-filesystem

%description
Oxygen-Molecule is a theme for GTK+ applications to provide
a uniform look when used under the KDE desktop environment.

%prep

%build
tar xfz %{SOURCE0}
tar xfz kde*-oxygen-molecule.tar.gz
cp %{SOURCE1} .

%install
mkdir -p %{buildroot}%{_datadir}/themes
mkdir -p %{buildroot}%{_datadir}/kde4/apps/color-schemes
cp -a kde*-oxygen-molecule %{buildroot}%{_datadir}/themes/Oxygen-Molecule
install -m644 *.colors %{buildroot}%{_datadir}/kde4/apps/color-schemes

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc COPYING
%dir %{_datadir}/themes/Oxygen-Molecule
%{_datadir}/themes/Oxygen-Molecule
%{_datadir}/kde4/apps/color-schemes/*

%changelog
openSUSE Build Service is sponsored by