# # spec file for package awesome-branding-openSUSE # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012 Togan Muftuoglu # # 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 _version 3.5-v0.3 %define _name awesome Name: awesome-branding-openSUSE Version: 3.5 Release: 0 Summary: openSUSE Branding for awesome License: GPL-2.0+ Group: System/GUI/Other Url: https://github.com/madanyang/awesome-branding-opensuse Source: %{name}-%{_version}.tar.xz Requires: adwaita-icon-theme Requires: awesome-freedesktop Requires: awesome-vicious Requires: light-locker Requires: wallpaper-branding-openSUSE Recommends: awesome-shifty Supplements: packageand(%{_name}:branding-openSUSE) Conflicts: otherproviders(%{_name}-branding) Provides: %{_name}-branding = %{version} BuildArch: noarch %description This package provides the openSUSE specific additions both for functions and look and feel for awesome window manager. %prep %setup -q -n %{name}-%{_version} %build # Nothing to build. %install install -Dm 0644 rc.lua %{buildroot}%{_sysconfdir}/xdg/awesome/rc.lua install -Dm 0644 calendar2.lua %{buildroot}%{_datadir}/awesome/lib/calendar2.lua install -Dm 0644 keydoc.lua %{buildroot}%{_datadir}/awesome/lib/keydoc.lua mkdir -p %{buildroot}%{_datadir}/awesome/ cp -a themes/ %{buildroot}%{_datadir}/awesome/ %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