2012-12-10 19:30:57 +01:00
|
|
|
#
|
|
|
|
# spec file for package awesome-branding-openSUSE
|
|
|
|
#
|
2021-05-18 14:27:35 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
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.
|
|
|
|
|
2021-05-18 14:27:35 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-12-10 19:30:57 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-01-10 17:49:23 +01:00
|
|
|
%define awesome_version %(rpm -q --queryformat '%%{VERSION}' awesome)
|
|
|
|
%define _version 4.0-v0.1
|
2012-12-10 19:30:57 +01:00
|
|
|
Name: awesome-branding-openSUSE
|
2017-01-10 17:49:23 +01:00
|
|
|
Version: 4.0
|
2013-01-30 14:21:36 +01:00
|
|
|
Release: 0
|
2012-12-10 19:30:57 +01:00
|
|
|
Summary: openSUSE Branding for awesome
|
2021-05-18 14:27:35 +02:00
|
|
|
License: GPL-2.0-or-later
|
2012-12-10 19:30:57 +01:00
|
|
|
Group: System/GUI/Other
|
2021-05-18 14:27:35 +02:00
|
|
|
URL: https://github.com/madanyang/awesome-branding-opensuse
|
2015-11-11 08:50:35 +01:00
|
|
|
Source: %{name}-%{_version}.tar.xz
|
2021-05-18 14:27:35 +02:00
|
|
|
Patch0: awesome-branding-without-calendar.patch
|
2017-01-10 17:49:23 +01:00
|
|
|
BuildRequires: awesome-branding-upstream >= 4.0
|
2015-11-11 08:50:35 +01:00
|
|
|
Requires: adwaita-icon-theme
|
2017-01-10 17:49:23 +01:00
|
|
|
Requires: awesome = %{awesome_version}
|
2012-12-10 19:30:57 +01:00
|
|
|
Requires: awesome-freedesktop
|
|
|
|
Requires: awesome-vicious
|
2015-11-11 08:50:35 +01:00
|
|
|
Requires: light-locker
|
2017-01-10 17:49:23 +01:00
|
|
|
Requires: lua-lgi
|
2013-07-07 14:39:32 +02:00
|
|
|
Requires: wallpaper-branding-openSUSE
|
2017-01-10 17:49:23 +01:00
|
|
|
Requires: typelib(Gtk) = 3.0
|
2012-12-10 19:30:57 +01:00
|
|
|
Recommends: awesome-shifty
|
2017-01-10 17:49:23 +01:00
|
|
|
Supplements: packageand(awesome:branding-openSUSE)
|
|
|
|
Conflicts: otherproviders(awesome-branding)
|
|
|
|
Provides: awesome-branding = %{awesome_version}
|
2015-11-11 08:50:35 +01:00
|
|
|
BuildArch: noarch
|
2012-12-10 19:30:57 +01:00
|
|
|
|
|
|
|
%description
|
2015-11-11 08:50:35 +01:00
|
|
|
This package provides the openSUSE specific additions both for
|
|
|
|
functions and look and feel for awesome window manager.
|
2012-12-10 19:30:57 +01:00
|
|
|
|
|
|
|
%prep
|
2021-05-18 14:27:35 +02:00
|
|
|
%autosetup -n %{name}-%{_version} -p1
|
2012-12-10 19:30:57 +01:00
|
|
|
|
|
|
|
%build
|
2015-11-11 08:50:35 +01:00
|
|
|
# Nothing to build.
|
2012-12-10 19:30:57 +01:00
|
|
|
|
|
|
|
%install
|
2017-01-10 17:49:23 +01:00
|
|
|
install -Dpm 0644 rc.lua %{buildroot}%{_sysconfdir}/xdg/awesome/rc.lua
|
|
|
|
install -Dpm 0644 calendar2.lua %{buildroot}%{_datadir}/awesome/lib/calendar2.lua
|
2012-12-10 19:30:57 +01:00
|
|
|
|
2015-11-11 08:50:35 +01:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/awesome/
|
2017-01-10 17:49:23 +01:00
|
|
|
cp -a themes/ %{buildroot}%{_datadir}/awesome/
|
2012-12-10 19:30:57 +01:00
|
|
|
|
|
|
|
%files
|
2015-11-11 08:50:35 +01:00
|
|
|
%defattr(-,root,root)
|
2012-12-10 19:30:57 +01:00
|
|
|
%doc README.openSUSE
|
2015-11-11 08:50:35 +01:00
|
|
|
%dir %{_sysconfdir}/xdg/awesome/
|
2012-12-10 19:30:57 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/xdg/awesome/rc.lua
|
2015-11-11 08:50:35 +01:00
|
|
|
%dir %{_datadir}/awesome/
|
|
|
|
%{_datadir}/awesome/lib/
|
|
|
|
%{_datadir}/awesome/themes/
|
2012-12-10 19:30:57 +01:00
|
|
|
|
|
|
|
%changelog
|