]>
Commit | Line | Data |
---|---|---|
48f2fdd9 ZU |
1 | %define shortname eminent |
2 | Summary: Quick wmii-style dynamic tagging | |
3 | Name: awesome-plugin-%{shortname} | |
4 | Version: 20101006 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: X11/Window Managers/Tools | |
8 | Source0: eminent.lua | |
9 | URL: https://awesome.naquadah.org/wiki/Eminent | |
10 | Requires: awesome >= 3.4 | |
11 | Source1: README | |
12 | BuildArch: noarch | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | Eminent is a small lua library that monkey-patches awful to provide | |
17 | you with effortless and quick wmii-style dynamic tagging. Unlike | |
18 | shifty, eminent does not aim to provide a comprehensive tagging | |
19 | system, but tries to make dynamic tagging as simple as possible. In | |
20 | fact, besides importing the eminent library, you do not have to change | |
21 | your rc.lua at all, eminent does all the work for you. | |
22 | ||
23 | %prep | |
24 | ||
25 | %install | |
26 | rm -rf $RPM_BUILD_ROOT | |
27 | install -d $RPM_BUILD_ROOT%{_datadir}/awesome/lib/%{shortname} | |
28 | install %{SOURCE0} $RPM_BUILD_ROOT%{_datadir}/awesome/lib/%{shortname} | |
29 | install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} | |
30 | install %{SOURCE1} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} | |
31 | ||
32 | %clean | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | %files | |
36 | %defattr(644,root,root,755) | |
37 | %doc %{_docdir}/%{name}-%{version} | |
38 | %{_datadir}/awesome/lib/%{shortname} |