2012-10-31 19:58:39 +01:00
|
|
|
#
|
|
|
|
# spec file for package awesome-vicious
|
|
|
|
#
|
2022-10-12 06:36:12 +02:00
|
|
|
# Copyright (c) 2022 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
|
2022-10-12 06:36:12 +02:00
|
|
|
Version: 2.5.1
|
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
|
2021-05-26 20:16:54 +02:00
|
|
|
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-05-27 16:57:59 +02:00
|
|
|
%autosetup -n %{packname}-%{version}
|
2012-10-31 19:58:39 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2021-05-27 16:57:59 +02:00
|
|
|
install -d %{buildroot}/%{_datadir}/awesome/lib/vicious/contrib
|
|
|
|
install -d %{buildroot}/%{_datadir}/awesome/lib/vicious/widgets
|
|
|
|
install -Dm 644 contrib/* %{buildroot}/%{_datadir}/awesome/lib/vicious/contrib
|
|
|
|
install -Dm 644 widgets/* %{buildroot}/%{_datadir}/awesome/lib/vicious/widgets
|
|
|
|
install -Dm 644 init.lua %{buildroot}/%{_datadir}/awesome/lib/vicious
|
|
|
|
install -Dm 644 helpers.lua %{buildroot}/%{_datadir}/awesome/lib/vicious
|
|
|
|
install -Dm 644 spawn.lua %{buildroot}/%{_datadir}/awesome/lib/vicious
|
2012-10-31 19:58:39 +01:00
|
|
|
|
|
|
|
%files
|
2021-05-26 20:16:54 +02:00
|
|
|
%doc README.md CHANGELOG.rst TODO
|
2018-07-23 13:17:38 +02:00
|
|
|
%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
|