2012-10-31 19:58:39 +01:00
|
|
|
#
|
|
|
|
# spec file for package awesome-vicious
|
|
|
|
#
|
2021-04-29 13:11:20 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2012-10-31 19:58:39 +01:00
|
|
|
#
|
|
|
|
# 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-04-29 13:11:20 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-10-31 19:58:39 +01:00
|
|
|
#
|
|
|
|
|
2018-07-23 13:17:38 +02:00
|
|
|
|
2012-10-31 19:58:39 +01:00
|
|
|
%define packname vicious
|
|
|
|
|
|
|
|
Name: awesome-vicious
|
2021-04-29 13:11:20 +02:00
|
|
|
Version: 2.3.3
|
2012-10-31 19:58:39 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Vicious plugins for awesome
|
2018-07-23 13:17:38 +02:00
|
|
|
License: GPL-2.0-or-later
|
2012-10-31 19:58:39 +01:00
|
|
|
Group: System/GUI/Other
|
2021-04-29 13:11:20 +02:00
|
|
|
URL: https://github.com/vicious-widgets/vicious
|
|
|
|
Source: %{URL}/archive/v%{version}.tar.gz#/%{packname}-%{version}.tar.gz
|
2012-10-31 19:58:39 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Requires: awesome >= 3.4.4
|
|
|
|
Recommends: awesome-freedesktop
|
|
|
|
Recommends: awesome-shifty
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Vicious is a modular widget library for the "awesome" window manager,
|
|
|
|
derived from the "Wicked" widget library. It has some of the old
|
|
|
|
Wicked widget types, a few of them rewritten, and a good number of new
|
2018-07-23 13:17:38 +02:00
|
|
|
ones.
|
2012-10-31 19:58:39 +01:00
|
|
|
|
|
|
|
Vicious widget types are a framework for creating your own awesome
|
|
|
|
widgets. Vicious contains modules that gather data about your system,
|
|
|
|
and a few helper functions that make it easier to register timers,
|
|
|
|
suspend widgets and so on.
|
|
|
|
|
|
|
|
For now Vicious doesn't depend on any third party Lua libraries, to
|
|
|
|
make it easier to install and use. That means some system utilities
|
|
|
|
are used instead, where available:
|
|
|
|
|
|
|
|
- hddtemp for the HDD Temperature widget type
|
|
|
|
- alsa-utils for the Volume widget type
|
|
|
|
- wireless_tools for the Wireless widget type
|
|
|
|
- curl for widget types accessing network resources
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-04-29 13:11:20 +02:00
|
|
|
%setup -q -n %{packname}-%{version}
|
2012-10-31 19:58:39 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%{__install} -d %{buildroot}/%{_datadir}/awesome/lib/vicious/contrib
|
|
|
|
%{__install} -d %{buildroot}/%{_datadir}/awesome/lib/vicious/widgets
|
|
|
|
%{__install} -m 644 -D contrib/* %{buildroot}/%{_datadir}/awesome/lib/vicious/contrib
|
|
|
|
%{__install} -m 644 -D widgets/* %{buildroot}/%{_datadir}/awesome/lib/vicious/widgets
|
|
|
|
%{__install} -m 644 -D init.lua %{buildroot}/%{_datadir}/awesome/lib/vicious
|
|
|
|
%{__install} -m 644 -D helpers.lua %{buildroot}/%{_datadir}/awesome/lib/vicious
|
|
|
|
|
|
|
|
%files
|
2018-07-23 13:17:38 +02:00
|
|
|
%doc README.md Changes.md TODO
|
|
|
|
%license LICENSE
|
2012-10-31 19:58:39 +01:00
|
|
|
%dir %{_datadir}/awesome
|
|
|
|
%dir %{_datadir}/awesome/lib
|
2015-06-05 23:01:06 +02:00
|
|
|
%{_datadir}/awesome/lib/vicious
|
2012-10-31 19:58:39 +01:00
|
|
|
|
|
|
|
%changelog
|