2012-10-31 19:58:39 +01:00
|
|
|
#
|
|
|
|
# spec file for package awesome-vicious
|
|
|
|
#
|
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# 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 packname vicious
|
|
|
|
|
|
|
|
Name: awesome-vicious
|
|
|
|
Version: 2.1.0
|
|
|
|
Release: 0
|
|
|
|
Summary: Vicious plugins for awesome
|
2012-11-08 13:08:00 +01:00
|
|
|
License: GPL-2.0+
|
2012-10-31 19:58:39 +01:00
|
|
|
Group: System/GUI/Other
|
|
|
|
Source0: %packname-%{version}.tar.xz
|
|
|
|
Source1: AUTHORS
|
|
|
|
Url: http://git.sysphere.org/vicious/
|
|
|
|
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
|
|
|
|
ones:
|
|
|
|
|
|
|
|
http://git.sysphere.org/vicious/about/
|
|
|
|
|
|
|
|
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
|
|
|
|
%setup -q -n %packname-%version
|
|
|
|
cp %{S:1} .
|
|
|
|
|
|
|
|
%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
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc LICENSE README CHANGES AUTHORS TODO
|
|
|
|
%{_datadir}/awesome/lib/vicious
|
|
|
|
%dir %{_datadir}/awesome
|
|
|
|
%dir %{_datadir}/awesome/lib
|
|
|
|
|
|
|
|
%changelog
|