File e-theme-darkness.spec of Package e-theme-darkness
#
# spec file for package e_theme-darkness
#
# 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/
#
%define theme darkness
Name: e-theme-%{theme}
Version: 81195
Release: 0
License: BSD-2-Clause and CC-BY-ND-3.0
Summary: Theme %{theme} for Enlightenment 17
Url: http://enlightenment.org
Group: Amusements/Toys/Graphics
Source: %{name}-%{version}.tar.bz2
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch0: version.patch
BuildRequires: edje
Requires: e17
Provides: e17-theme
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Theme %{theme} for Enlightenment 17 - fast and beautiful DE.
%prep
%setup -q -n %{theme}
%patch0 -p1
%build
export v=%{version}
sh build.sh -v
%install
mkdir -p %{buildroot}%{_datadir}/enlightenment/data/themes/
cp %{theme}.edj %{buildroot}%{_datadir}/enlightenment/data/themes/
chmod 0755 %{buildroot}%{_datadir}/enlightenment/data/themes/ %{buildroot}%{_datadir}/enlightenment/data/ %{buildroot}%{_datadir}/enlightenment
chmod 0644 %{buildroot}%{_datadir}/enlightenment/data/themes/*.edj
%clean
%{?buildroot:rm -rf %{buildroot}}
%files
%defattr(-,root,root)
%dir %{_datadir}/enlightenment
%dir %{_datadir}/enlightenment/data
%dir %{_datadir}/enlightenment/data/themes
%{_datadir}/enlightenment/data/themes/%{theme}.edj
%changelog