File e-theme-efenniht.spec of Package e-theme-efenniht
#
# spec file for package e_theme-efenniht
#
# 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 efenniht
Name: e-theme-%{theme}
Version: 79994
Release: 0
License: LGPL-2.1
Summary: Theme %{theme} for Enlightenment 17
Url: http://enlightenment.org
Group: Amusements/Toys/Graphics
Source: %{name}-%{version}.tar.bz2
Source2: elementary-images.tar.bz2
Patch: change_elm_location.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}
tar xjf %SOURCE2
%patch -p1
%build
make
%install
mkdir -p %{buildroot}%{_datadir}/enlightenment/data/themes/
cp %{theme}.edj %{buildroot}%{_datadir}/enlightenment/data/themes/
cp elm-%{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/*.edj
%changelog