2012-12-10 19:30:57 +01:00
#
# spec file for package awesome-branding-openSUSE
#
2014-05-15 12:31:13 +02:00
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
2012-12-10 19:30:57 +01:00
# Copyright (c) 2012 Togan Muftuoglu <toganm@opensuse.org>
#
# 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/
#
2013-07-07 14:39:32 +02:00
%define git_version 3.4.15-v0.1
2012-12-10 19:30:57 +01:00
%define main_pack awesome
Name : awesome-branding-openSUSE
2013-07-07 14:39:32 +02:00
Version : 3.4.15
2013-01-30 14:21:36 +01:00
Release : 0
2012-12-10 19:30:57 +01:00
Url : https://github.com/madanyang/awesome-branding-opensuse.git
Summary : openSUSE Branding for awesome
License : GPL-2.0+
Group : System/GUI/Other
Supplements: packageand(%{main_pack} :branding-openSUSE)
Provides : %{main_pack} -branding = %{version}
Conflicts : otherproviders(%main_pack-branding)
BuildArch : noarch
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2013-07-07 14:39:32 +02:00
Source0 : %name-%git_version.tar.xz
2014-05-15 12:31:13 +02:00
# PATCH-FIX-UPSTREAM awesome-branding-openSUSE-systemctl.patch glin@suse.com -- Use systemctl to allow the local user to reboot and shutdown the system without typing the password
Patch0 : awesome-branding-openSUSE-systemctl.patch
2012-12-10 19:30:57 +01:00
Requires : awesome-freedesktop
Requires : awesome-vicious
Requires : gnome-icon-theme
Requires : nitrogen
2013-07-07 14:39:32 +02:00
Requires : wallpaper-branding-openSUSE
2012-12-10 19:30:57 +01:00
Requires : xscreensaver
Recommends: awesome-shifty
%description
This package provides the openSUSE specific additions both for functions and
look and feel for awesome window manager.
%prep
2013-07-07 14:39:32 +02:00
%setup -q -n %name-%git_version
2014-05-15 12:31:13 +02:00
%patch0 -p1
2012-12-10 19:30:57 +01:00
%build
%install
install -d %{buildroot} %{_sysconfdir} /xdg/awesome
install -d %{buildroot} %{_datadir} /awesome/lib
install -d %{buildroot} %{_datadir} /awesome/themes
install -m 644 calendar2.lua %{buildroot} %{_datadir} /awesome/lib/.
install -m 644 keydoc.lua %{buildroot} %{_datadir} /awesome/lib/.
cp -ar themes/ %{buildroot} %{_datadir} /awesome/
install -m 644 rc.lua %{buildroot} %{_sysconfdir} /xdg/awesome/rc.lua
%files
%defattr (-,root,root,-)
%doc README.openSUSE
%dir %{_sysconfdir} /xdg/awesome
%config (noreplace) %{_sysconfdir} /xdg/awesome/rc.lua
%dir %{_datadir} /awesome
%{_datadir} /awesome/lib
%{_datadir} /awesome/themes
%changelog