]>
Commit | Line | Data |
---|---|---|
2aea91b8 | 1 | # |
e66c95bd ZU |
2 | Summary: Awesome Window Manager |
3 | Summary(hu.UTF-8): awesome ablakkezelő | |
4 | Summary(pl.UTF-8): Zarządca okien X - Awesome | |
5 | Name: awesome | |
f4579953 ZU |
6 | Version: 3.1 |
7 | Release: 0.1 | |
e66c95bd ZU |
8 | License: GPL v2 |
9 | Group: X11/Window Managers | |
e4a5b042 | 10 | Source0: http://awesome.naquadah.org/download/%{name}-%{version}.tar.bz2 |
f4579953 | 11 | # Source0-md5: e687a9c0056437207cbdba2f64412624 |
e66c95bd | 12 | Source1: %{name}-xsession.desktop |
e4a5b042 | 13 | Patch0: %{name}-3.0-lua-files.patch |
2692bda2 | 14 | URL: http://awesome.naquadah.org/ |
e66c95bd ZU |
15 | BuildRequires: asciidoc |
16 | BuildRequires: cairo-devel | |
17 | BuildRequires: cmake >= 2.6 | |
18 | BuildRequires: dbus-devel | |
e519f8ed | 19 | BuildRequires: doxygen |
e66c95bd | 20 | BuildRequires: gperf |
166fff07 | 21 | BuildRequires: imlib2-devel |
e66c95bd | 22 | BuildRequires: libev-devel |
e519f8ed | 23 | BuildRequires: lua-doc |
e66c95bd ZU |
24 | BuildRequires: lua51-devel |
25 | BuildRequires: pango-devel | |
26 | BuildRequires: pkgconfig >= 0.9.0 | |
ab20464d | 27 | BuildRequires: readline-devel |
e216db54 | 28 | BuildRequires: rpmbuild(macros) >= 1.293 |
e66c95bd | 29 | BuildRequires: sed >= 4.0 |
e4a5b042 | 30 | BuildRequires: xcb-util-devel >= 0.3 |
e66c95bd ZU |
31 | BuildRequires: xmlto |
32 | BuildRequires: xorg-lib-libICE-devel | |
33 | BuildRequires: xorg-lib-libXext-devel | |
34 | BuildRequires: xorg-lib-libXft-devel | |
35 | BuildRequires: xorg-lib-libXinerama-devel | |
36 | BuildRequires: xorg-lib-libXrandr-devel | |
37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
38 | ||
e216db54 | 39 | %define _sysconfdir /etc/X11 |
e66c95bd ZU |
40 | |
41 | %description | |
42 | awesome is a highly configurable, next generation framework window | |
43 | manager for X. It is very fast, light and extensible. It is primarly | |
44 | targeted at power user, developer and any people dealing with every | |
45 | day computing tasks and want to have fine-grained control on its | |
46 | graphical environment. | |
47 | ||
48 | %description -l hu.UTF-8 | |
49 | awesome egy végletekig beállítható, következő generációs ablakkezelő | |
50 | az X-hez. Nagyon gyors, könnyed és bővíthető. Az elsődleges | |
51 | célközönség a "power user"-ek, fejlesztők és bárki, aki minden nap | |
52 | számítógéppel dolgozik és teljeskörű irányítást akar a grafikus | |
53 | felületén. | |
54 | ||
2aea91b8 | 55 | %description -l pl.UTF-8 |
56 | awesome jest menedżerem okien charakteryzującym się bardzo dużymi | |
57 | możliwościami konfiguracji i rozszerzania fnkcjonalności, pozostając | |
58 | przy tym szybki i lekki. Cel ten został osiągnięty dzięki wbudowaniu w | |
0d65962b | 59 | program języka skryptowego lua. Awesome został zaprojektowany z myślą |
2aea91b8 | 60 | o bardziej zaawansowanych użytkonikach: programistach oraz innych |
61 | ludziach pracujących na codzień z komputerami, którzy chcą mieć dużą | |
62 | kontrolę nad swoim środowiskiem graficznym. | |
63 | ||
e519f8ed ZU |
64 | %package doc |
65 | Summary: awesome window manager API documentation | |
66 | Summary(hu.UTF-8): awesome ablakkezelő API dokumentációja | |
0d65962b | 67 | Summary(pl.UTF-8): Dokumentacja API awesome |
e519f8ed ZU |
68 | Group: X11/Window Managers |
69 | ||
70 | %description doc | |
2aea91b8 | 71 | awesome window manager API documentation. |
e519f8ed ZU |
72 | |
73 | %description doc -l hu.UTF-8 | |
2aea91b8 | 74 | awesome ablakkezelő API dokumentációja. |
e519f8ed | 75 | |
2aea91b8 | 76 | %description doc -l pl.UTF-8 |
77 | Dokumentacja API menedżera okien awesome. | |
e519f8ed | 78 | |
ab20464d ZU |
79 | %package example-config |
80 | Summary: Example config for awesome window manager | |
81 | Summary(hu.UTF-8): Egy alap/példa konfig az awesome ablakkezelőhöz | |
82 | Group: X11/Window Managers | |
83 | Requires: awesome-plugin-awful | |
84 | Requires: awesome-plugin-beautiful | |
85 | Requires: awesome-plugin-tabulous | |
86 | ||
87 | %description example-config | |
88 | Example config for awesome window manager. If you never used before | |
89 | awesome 3.x window manager, it can be a good starting point. | |
90 | ||
91 | %description example-config -l hu.UTF-8 | |
92 | Egy alap/példa konfig az awesome ablakkezelőhöz. Ha még sose | |
93 | használtál awesome 3.x ablakkezelőt, jó kiindulópont lehet. | |
94 | ||
ab20464d ZU |
95 | %package plugin-awful |
96 | Summary: awful plugin for awesome window manager | |
97 | Summary(hu.UTF-8): awful plugin az awesome ablakkezelőhöz | |
98 | Group: X11/Window Managers | |
99 | ||
100 | %description plugin-awful | |
101 | AWesome Functions very UsefuL: awful plugin for awesome window manager | |
102 | ||
103 | %description plugin-awful -l hu.UTF-8 | |
104 | AWesome Functions very UsefuL: awful plugin az awesome ablakkezelőhöz | |
105 | ||
ab20464d ZU |
106 | %package plugin-beautiful |
107 | Summary: theme library for awesome window manager | |
108 | Summary(hu.UTF-8): theme könyvtár az awesome ablakkezelőhöz | |
109 | Group: X11/Window Managers | |
d5fe614c | 110 | Requires: Esetroot |
111 | Requires: habak | |
ab20464d ZU |
112 | |
113 | %description plugin-beautiful | |
114 | Theme library for awesome window manager | |
115 | ||
116 | %description plugin-beautiful | |
117 | Theme könyvtár az awesome ablakkezelőhöz | |
118 | ||
f4579953 ZU |
119 | %package plugin-invaders |
120 | Summary: Awesome Invaders game | |
121 | Summary(hu.UTF-8): Awesome Invaders játék | |
122 | Group: X11/Window Managers | |
123 | Requires: %{name}-plugin-awful | |
124 | Requires: %{name}-plugin-beautiful | |
125 | Requires: ImageMagick | |
126 | ||
127 | %description plugin-invaders | |
128 | Awesome Invaders is, as the name says, an implementation of Space | |
129 | Invaders using Awesome 3's Lua interface. | |
130 | ||
131 | %description plugin-invaders -l hu.UTF-8 | |
132 | Awesome Invaders, ahogy a neve is mutatja, a Space Invaders | |
133 | megvalósítása az awesome 3 lua interfészét használva. | |
134 | ||
f4579953 ZU |
135 | %package plugin-naughty |
136 | Summary: Naughty is a lua library that implements popup notifications for awesome3 | |
137 | Summary(hu.UTF-8): Naughty egy lua-könyvtár, amely felugró értesítéseket tesz lehetővé awesome3-ban | |
138 | Group: X11/Window Managers | |
139 | Requires: %{name}-plugin-awful | |
140 | Requires: %{name}-plugin-beautiful | |
141 | ||
142 | %description plugin-naughty | |
143 | Naughty is a lua library that implements popup notifications for | |
144 | awesome3. | |
145 | ||
146 | %description plugin-naughty -l hu.UTF-8 | |
147 | Naughty egy lua-könyvtár, amely felugró értesítéseket tesz lehetővé | |
148 | awesome3-ban. | |
149 | ||
f4579953 ZU |
150 | %package plugin-revelation |
151 | Summary: Revelation brings up a view of all your open clients | |
152 | Summary(hu.UTF-8): Revelation egy nézetet hoz létre az összes megnyitott kliensről | |
153 | Group: X11/Window Managers | |
154 | ||
155 | %description plugin-revelation | |
156 | Revelation brings up a view of all your open clients; left-clicking a | |
157 | client pops to the first tag that client is visible on and | |
158 | raises/focuses the client. In addition, the Enter key pops to the | |
159 | currently focused client, and Escape aborts. | |
160 | ||
161 | %description plugin-revelation -l hu.UTF-8 | |
162 | Revelation egy nézetet hoz létre az összes megnyitott kliensről; egy | |
163 | kliensre bal gombbal kattintva az első olyan cimkére ugorhatsz, ahol a | |
164 | kliens látható, és fókuszba hozza a klienst. Az Enter billentyűre a | |
165 | fókuszban levő kliensre ugrik, és az Escape billentyűvel megszakítható | |
166 | a művelet. | |
167 | ||
ab20464d ZU |
168 | %package plugin-tabulous |
169 | Summary: Fabulous tabs for awesome | |
170 | Summary(hu.UTF-8): Tab-ok awesome-hoz | |
171 | Group: X11/Window Managers | |
172 | ||
173 | %description plugin-tabulous | |
174 | Fabulous tabs for awesome | |
175 | ||
176 | %description plugin-tabulous -l hu.UTF-8 | |
177 | Tab-ok awesome-hoz | |
178 | ||
e66c95bd | 179 | %prep |
e4a5b042 | 180 | %setup -q |
e66c95bd ZU |
181 | %patch0 -p1 |
182 | ||
183 | %build | |
a043f8d3 ER |
184 | %cmake \ |
185 | -DLUA_INC_DIR=%{_includedir}/lua51 \ | |
186 | -DPREFIX=%{_prefix} \ | |
187 | -DAWESOME_DOC_PATH=%{_docdir}/%{name}-%{version} \ | |
188 | -DAWESOME_DATA_PATH=%{_datadir}/%{name} \ | |
189 | -DSYSCONFDIR=%{_sysconfdir} | |
e66c95bd ZU |
190 | %{__make} |
191 | ||
192 | %install | |
193 | rm -rf $RPM_BUILD_ROOT | |
58290601 | 194 | install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_docdir}/%{name}-doc-%{version}} |
e66c95bd ZU |
195 | |
196 | %{__make} install \ | |
197 | DESTDIR=$RPM_BUILD_ROOT | |
198 | install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop | |
58290601 | 199 | |
200 | mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/luadoc $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/luadoc | |
e66c95bd ZU |
201 | |
202 | %clean | |
203 | rm -rf $RPM_BUILD_ROOT | |
204 | ||
205 | %files | |
206 | %defattr(644,root,root,755) | |
e66c95bd ZU |
207 | %attr(755,root,root) %{_bindir}/%{name} |
208 | %attr(755,root,root) %{_bindir}/%{name}-client | |
209 | %attr(755,root,root) %{_bindir}/awsetbg | |
f4579953 ZU |
210 | %dir %{_datadir}/%{name}/lib |
211 | %{_datadir}/%{name}/lib/capi.lua | |
ab20464d ZU |
212 | %dir %{_datadir}/%{name} |
213 | %dir %{_datadir}/%{name}/icons | |
f4579953 | 214 | %dir %{_datadir}/%{name}/icons |
ab20464d | 215 | %{_datadir}/%{name}/icons |
e66c95bd ZU |
216 | %{_datadir}/xsessions/%{name}.desktop |
217 | %{_mandir}/man1/%{name}* | |
f4579953 | 218 | %{_mandir}/man1/awsetbg* |
e66c95bd | 219 | %{_mandir}/man5/%{name}* |
58290601 | 220 | %doc AUTHORS BUGS README STYLE |
e519f8ed ZU |
221 | |
222 | %files doc | |
223 | %defattr(644,root,root,755) | |
58290601 | 224 | %{_docdir}/%{name}-doc-%{version} |
ab20464d | 225 | |
ab20464d ZU |
226 | %files example-config |
227 | %defattr(644,root,root,755) | |
228 | %dir %{_sysconfdir}/xdg | |
229 | %dir %{_sysconfdir}/xdg/awesome | |
230 | %{_sysconfdir}/xdg/awesome/* | |
231 | ||
ab20464d ZU |
232 | %files plugin-awful |
233 | %defattr(644,root,root,755) | |
f4579953 ZU |
234 | %dir %{_datadir}/awesome/lib/awful |
235 | %{_datadir}/awesome/lib/awful/*.lua | |
ab20464d | 236 | |
ab20464d ZU |
237 | %files plugin-beautiful |
238 | %defattr(644,root,root,755) | |
ab20464d ZU |
239 | %dir %{_datadir}/awesome/themes/* |
240 | %{_datadir}/awesome/lib/beautiful.lua | |
241 | %{_datadir}/awesome/themes | |
242 | ||
f4579953 ZU |
243 | %files plugin-invaders |
244 | %defattr(644,root,root,755) | |
245 | %{_datadir}/awesome/lib/invaders.lua | |
246 | %dir %{_datadir}/awesome/icons/invaders | |
247 | %{_datadir}/awesome/icons/invaders/*.png | |
248 | ||
f4579953 ZU |
249 | %files plugin-naughty |
250 | %defattr(644,root,root,755) | |
251 | %{_datadir}/awesome/lib/naughty.lua | |
252 | ||
f4579953 ZU |
253 | %files plugin-revelation |
254 | %defattr(644,root,root,755) | |
255 | %{_datadir}/awesome/lib/revelation.lua | |
256 | ||
ab20464d ZU |
257 | %files plugin-tabulous |
258 | %defattr(644,root,root,755) | |
ab20464d | 259 | %{_datadir}/awesome/lib/tabulous.lua |