forked from pool/awesome-branding-openSUSE
71 lines
2.3 KiB
RPMSpec
71 lines
2.3 KiB
RPMSpec
|
#
|
||
|
# spec file for package awesome-branding-openSUSE
|
||
|
#
|
||
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# 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/
|
||
|
#
|
||
|
|
||
|
|
||
|
%define main_pack awesome
|
||
|
Name: awesome-branding-openSUSE
|
||
|
Version: 3.4.13
|
||
|
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
|
||
|
Release: 0
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
Source: %name-%version.tar.xz
|
||
|
Requires: awesome-freedesktop
|
||
|
Requires: awesome-vicious
|
||
|
Requires: gnome-icon-theme
|
||
|
Requires: nitrogen
|
||
|
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
|
||
|
%setup -q
|
||
|
|
||
|
%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
|