File awesome-freedesktop.spec of Package awesome-freedesktop

#
# spec file for package awesome-freedesktop
#
# Copyright (c) 2016 SUSE LINUX 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  _name  freedesktop
Name:           awesome-freedesktop
Version:        @service@
Release:        0
Summary:        Freedesktop.org menu and desktop icons support for Awesome WM
License:        GPL-2.0+
Group:          System/GUI/Other
Url:            https://github.com/copycat-killer/awesome-freedesktop
Source:         %{name}-%{version}.tar.xz
Requires:       awesome >= 4.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This is a port of awesome-freedesktop to Awesome 4.0+.

Since the introduction of Menubar as core library for providing Freedesktop.org
menu functionalities in Awesome, we can now avoid all the dirty work by just
exploiting menubar.utils functions.

At the initial status of this port, the menu is pretty much complete, while the
desktop icons are very basic, so the long term objective will be to complete
functionalities on this part too.

More specifically, the todo list is:
 * Ability to drag and line up icons
 * Event-based signals (for instance, updating trash icon according to its status)
 * Dynamic update (no need to restart Awesome to see changes on Desktop)

%prep
%setup -q

%build

%install
install -dm 0755 %{buildroot}%{_datadir}/awesome/lib/%{_name}
install -Dm 0644 *.lua %{buildroot}%{_datadir}/awesome/lib/%{_name}/

%files
%defattr(0644,root,root,0755)
%doc LICENSE README.rst
%dir %{_datadir}/awesome
%dir %{_datadir}/awesome/lib
%{_datadir}/awesome/lib/%{_name}

%changelog
openSUSE Build Service is sponsored by