]>
Commit | Line | Data |
---|---|---|
c70b624e ZU |
1 | %define shortname delightful |
2 | Summary: A set of widgets for Awesome window manager | |
3 | Summary(hu.UTF-8): Widget-ek gyűjteménye Awesome ablakkezelőhöz | |
4 | Name: awesome-plugin-%{shortname} | |
5 | Version: 20110123 | |
6 | Release: 0.1 | |
7 | License: GPL v2 | |
8 | Group: X11/Window Managers/Tools | |
9 | Source0: http://carme.pld-linux.org/~uzsolt/sources/%{name}-%{version}.tar.xz | |
10 | # Source0-md5: 872b8860c74249114453da93ca234bd1 | |
11 | URL: http://solitudo.net/software/awesome/delightful/ | |
12 | Source1: imap.lua | |
13 | Requires: awesome >= 3.4 | |
14 | Requires: awesome-plugin-freedesktop | |
15 | Requires: awesome-plugin-vicious | |
16 | BuildArch: noarch | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | Your average Awesome widget is quite dull. Some might consider that a | |
21 | feature. In this case, Delightful is probably not for you. Delightful | |
22 | try to add some “bling” to the widgets. Not un-needed “bling” but | |
23 | something useful. Many Delightful widgets provide a dynamically | |
24 | updated icon along with the widget text. The icon might indicate the | |
25 | sound volume or battery level. Some of the widgets use Naughty based | |
26 | pop-ups and notifications to provide useful, additional information | |
27 | that doesn’t fit the Awesome wibox. Tooltips are used always when it | |
28 | makes sense. | |
29 | ||
30 | %package imap | |
31 | Summary: IMAP support | |
32 | Group: X11/Window Managers/Tools | |
33 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
34 | ||
35 | %description imap | |
36 | IMAP support. | |
37 | ||
38 | %package weather | |
39 | Summary: Weather support | |
40 | Group: X11/Window Managers/Tools | |
41 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
42 | Requires: lua-expat | |
43 | Requires: lua-metar | |
44 | Requires: lua-weather | |
45 | ||
46 | %description weather | |
47 | Weather support. | |
48 | ||
49 | %prep | |
50 | %setup -q | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | install -d $RPM_BUILD_ROOT%{_datadir}/awesome/lib/%{shortname} | |
55 | cp -r delightful/* $RPM_BUILD_ROOT%{_datadir}/awesome/lib/%{shortname} | |
56 | install -d $RPM_BUILD_ROOT%{_datadir}/lua/5.1 | |
57 | cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/lua/5.1 | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %doc README.txt awesome-3.4.3-delightful-sample-configuration.diff | |
65 | %dir %{_datadir}/awesome/lib/%{shortname} | |
66 | %dir %{_datadir}/awesome/lib/%{shortname}/widgets | |
67 | %{_datadir}/awesome/lib/%{shortname}/utils.lua | |
68 | %{_datadir}/awesome/lib/%{shortname}/widgets/battery.lua | |
69 | %{_datadir}/awesome/lib/%{shortname}/widgets/cpu.lua | |
70 | %{_datadir}/awesome/lib/%{shortname}/widgets/datetime.lua | |
71 | %{_datadir}/awesome/lib/%{shortname}/widgets/memory.lua | |
72 | %{_datadir}/awesome/lib/%{shortname}/widgets/network.lua | |
73 | %{_datadir}/awesome/lib/%{shortname}/widgets/pulseaudio.lua | |
74 | ||
75 | %files imap | |
76 | %defattr(644,root,root,755) | |
77 | %{_datadir}/awesome/lib/%{shortname}/widgets/imap.lua | |
78 | %{_datadir}/lua/5.1/imap.lua | |
79 | ||
80 | %files weather | |
81 | %defattr(644,root,root,755) | |
82 | %{_datadir}/awesome/lib/%{shortname}/widgets/weather.lua |