]>
Commit | Line | Data |
---|---|---|
1 | ||
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 | |
6 | Version: 3.4.3 | |
7 | Release: 1 | |
8 | License: GPL v2 | |
9 | Group: X11/Window Managers | |
10 | Source0: http://awesome.naquadah.org/download/%{name}-%{version}.tar.bz2 | |
11 | # Source0-md5: bd6c56a0b0e1cc4ce53b0c53d8b0c7c2 | |
12 | Source1: %{name}-xsession.desktop | |
13 | Patch0: %{name}-3.0-lua-files.patch | |
14 | Patch1: %{name}-xmlto.patch | |
15 | Patch2: %{name}-magnifier.patch | |
16 | URL: http://awesome.naquadah.org/ | |
17 | BuildRequires: ImageMagick-coder-png | |
18 | BuildRequires: asciidoc | |
19 | BuildRequires: cairo-devel | |
20 | BuildRequires: cmake >= 2.6 | |
21 | BuildRequires: dbus-devel | |
22 | BuildRequires: docbook-dtd45-xml | |
23 | BuildRequires: doxygen | |
24 | BuildRequires: glib-devel | |
25 | BuildRequires: glib2-devel | |
26 | BuildRequires: gperf | |
27 | BuildRequires: imlib2-devel | |
28 | BuildRequires: libev-devel | |
29 | BuildRequires: libxcb-devel >= 1.4 | |
30 | BuildRequires: libxdg-basedir-devel >= 1.0.1 | |
31 | BuildRequires: lua-doc | |
32 | BuildRequires: lua51-devel | |
33 | BuildRequires: pango-devel | |
34 | BuildRequires: pkgconfig >= 0.9.0 | |
35 | BuildRequires: readline-devel | |
36 | BuildRequires: rpmbuild(macros) >= 1.293 | |
37 | BuildRequires: sed >= 4.0 | |
38 | BuildRequires: startup-notification-devel >= 0.10 | |
39 | BuildRequires: which | |
40 | BuildRequires: xcb-util-devel >= 0.3.6 | |
41 | BuildRequires: xmlto | |
42 | BuildRequires: xorg-lib-libICE-devel | |
43 | BuildRequires: xorg-lib-libXext-devel | |
44 | BuildRequires: xorg-lib-libXft-devel | |
45 | BuildRequires: xorg-lib-libXinerama-devel | |
46 | BuildRequires: xorg-lib-libXrandr-devel | |
47 | BuildRequires: xorg-proto-xproto-devel >= 7.0.15 | |
48 | Requires: startup-notification >= 0.10 | |
49 | Requires: xcb-util >= 0.3.6 | |
50 | Provides: awesome-plugin-awful | |
51 | Provides: awesome-plugin-beautiful | |
52 | Obsoletes: awesome-plugin-awful | |
53 | Obsoletes: awesome-plugin-beautiful | |
54 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
55 | ||
56 | %description | |
57 | awesome is a highly configurable, next generation framework window | |
58 | manager for X. It is very fast, light and extensible. It is primarly | |
59 | targeted at power user, developer and any people dealing with every | |
60 | day computing tasks and want to have fine-grained control on its | |
61 | graphical environment. | |
62 | ||
63 | %description -l hu.UTF-8 | |
64 | awesome egy végletekig beállítható, következő generációs ablakkezelő | |
65 | az X-hez. Nagyon gyors, könnyed és bővíthető. Az elsődleges | |
66 | célközönség a "power user"-ek, fejlesztők és bárki, aki minden nap | |
67 | számítógéppel dolgozik és teljeskörű irányítást akar a grafikus | |
68 | felületén. | |
69 | ||
70 | %description -l pl.UTF-8 | |
71 | awesome jest zarządcą okien charakteryzującym się bardzo dużymi | |
72 | możliwościami konfiguracji i rozszerzania funkcjonalności, pozostając | |
73 | przy tym szybkim i lekkim. Cel ten został osiągnięty dzięki wbudowaniu | |
74 | w program języka skryptowego lua. Awesome został zaprojektowany z | |
75 | myślą o bardziej zaawansowanych użytkownikach: programistach oraz | |
76 | innych pracujących na codzień z komputerami, którzy chcą mieć dużą | |
77 | kontrolę nad swoim środowiskiem graficznym. | |
78 | ||
79 | %package client | |
80 | Summary: awesome window manager command line client | |
81 | Summary(hu.UTF-8): Parancssoros kliens az awesome ablakkezelőhöz | |
82 | Summary(pl.UTF-8): Klient zarządcy okien awesome | |
83 | Group: X11/Window Managers/Tools | |
84 | Requires: dbus | |
85 | Requires: rlwrap | |
86 | ||
87 | %description client | |
88 | awesome-client is command line utility (in fact shell script) for | |
89 | executing an arbitrary lua code in working awesome window manager | |
90 | instance. | |
91 | ||
92 | %description client -l hu.UTF-8 | |
93 | awesome-client egy parancssoros eszköz (lényegében egy shell script) | |
94 | tetszőleges lua kód futtatásához egy működő awesome ablakkezelőben. | |
95 | ||
96 | %description client -l pl.UTF-8 | |
97 | awesome-client to skrypt powłoki pozwalający wykonać dowolny kod lua w | |
98 | działającej instancji zarządcy okien awesome. | |
99 | ||
100 | %package doc | |
101 | Summary: awesome window manager API documentation | |
102 | Summary(hu.UTF-8): awesome ablakkezelő API dokumentációja | |
103 | Summary(pl.UTF-8): Dokumentacja API awesome | |
104 | Group: Documentation | |
105 | ||
106 | %description doc | |
107 | awesome window manager API documentation. | |
108 | ||
109 | %description doc -l hu.UTF-8 | |
110 | awesome ablakkezelő API dokumentációja. | |
111 | ||
112 | %description doc -l pl.UTF-8 | |
113 | Dokumentacja API zarządcy okien awesome. | |
114 | ||
115 | %package example-config | |
116 | Summary: Example config for awesome window manager | |
117 | Summary(hu.UTF-8): Egy alap/példa konfig az awesome ablakkezelőhöz | |
118 | Summary(pl.UTF-8): Przykładowy plik konfiguracyjny dla zarządcy okien awesome | |
119 | Group: Documentation | |
120 | Requires: %{name} = %{version}-%{release} | |
121 | Requires: %{name}-themes-default = %{version}-%{release} | |
122 | ||
123 | %description example-config | |
124 | Example config for awesome window manager. It can be a good starting | |
125 | point for those people, who have never used awesome window manager | |
126 | before. | |
127 | ||
128 | %description example-config -l hu.UTF-8 | |
129 | Egy alap/példa konfig az awesome ablakkezelőhöz. Ha még sose | |
130 | használtál awesome 3.x ablakkezelőt, jó kiindulópont lehet. | |
131 | ||
132 | %description example-config -l pl.UTF-8 | |
133 | Przykładowy plik konfiguracyjny dla zarządcy okien awesome. Ten plik | |
134 | jest dobrym punktem wyjścia dla osób nie używających wcześniej awesome | |
135 | 3.x. | |
136 | ||
137 | %package plugin-naughty | |
138 | Summary: Naughty is a lua library that implements popup notifications for awesome 3 | |
139 | Summary(hu.UTF-8): Naughty egy lua-könyvtár, amely felugró értesítéseket tesz lehetővé awesome3-ban | |
140 | Summary(pl.UTF-8): Powiadomienia w postaci wyskakujących okienek dla awesome 3 | |
141 | Group: X11/Window Managers/Tools | |
142 | Requires: %{name} = %{version}-%{release} | |
143 | Provides: dbus(org.freedesktop.Notifications) | |
144 | ||
145 | %description plugin-naughty | |
146 | Naughty is a lua library that implements popup notifications for | |
147 | awesome3. | |
148 | ||
149 | %description plugin-naughty -l hu.UTF-8 | |
150 | Naughty egy lua-könyvtár, amely felugró értesítéseket tesz lehetővé | |
151 | awesome3-ban. | |
152 | ||
153 | %description plugin-naughty -l pl.UTF-8 | |
154 | Biblioteka lua dla zarządcy okien awesome 3 implementująca | |
155 | powiadomienia w formie wyskakujących okienek. | |
156 | ||
157 | %package themes | |
158 | Summary: Themes for awesome window manager (metapackage) | |
159 | Summary(hu.UTF-8): Témák az awesome ablakkezelőhöz (metacsomag) | |
160 | Summary(pl.UTF-8): Tematy dla zarządcy okien awesome | |
161 | Group: X11/Window Managers/Tools | |
162 | Requires: %{name} = %{version}-%{release} | |
163 | Requires: %{name}-themes-default = %{version}-%{release} | |
164 | Requires: %{name}-themes-sky = %{version}-%{release} | |
165 | Requires: %{name}-themes-zenburn = %{version}-%{release} | |
166 | ||
167 | %description themes | |
168 | Themes for awesome window manager (metapackage). | |
169 | ||
170 | %description themes -l hu.UTF-8 | |
171 | Témák az awesome ablakkezelőhöz (metacsomag). | |
172 | ||
173 | %description themes -l pl.UTF-8 | |
174 | Dodatkowe "tematy" (definicje wyglądu) zarządcy okien awesome. | |
175 | ||
176 | %package themes-default | |
177 | Summary: Default theme for awesome window manager | |
178 | Summary(hu.UTF-8): Alapértelmezett téma az awesome ablakkezelőhöz | |
179 | Group: X11/Window Managers/Tools | |
180 | ||
181 | %description themes-default | |
182 | Default theme for awesome window manager. | |
183 | ||
184 | %description themes-default -l hu.UTF-8 | |
185 | Alapértelmezett téma az awesome ablakkezelőhöz. | |
186 | ||
187 | %package themes-sky | |
188 | Summary: Sky theme for awesome window manager | |
189 | Summary(hu.UTF-8): Sky téma az awesome ablakkezelőhöz | |
190 | Group: X11/Window Managers/Tools | |
191 | ||
192 | %description themes-sky | |
193 | Sky theme for awesome window manager. | |
194 | ||
195 | %description themes-sky -l hu.UTF-8 | |
196 | Sky téma az awesome ablakkezelőhöz. | |
197 | ||
198 | %package themes-zenburn | |
199 | Summary: Zenburn theme for awesome window manager | |
200 | Summary(hu.UTF-8): Zenburn téma az awesome ablakkezelőhöz | |
201 | Group: X11/Window Managers/Tools | |
202 | ||
203 | %description themes-zenburn | |
204 | Zenburn theme for awesome window manager. | |
205 | ||
206 | %description themes-zenburn -l hu.UTF-8 | |
207 | Zenburn téma az awesome ablakkezelőhöz. | |
208 | ||
209 | %prep | |
210 | %setup -q | |
211 | %patch0 -p1 | |
212 | %patch1 -p1 | |
213 | %patch2 -p1 | |
214 | ||
215 | %build | |
216 | %cmake \ | |
217 | -DLUA_INC_DIR=%{_includedir}/lua51 \ | |
218 | -DPREFIX=%{_prefix} \ | |
219 | -DAWESOME_DOC_PATH=%{_docdir}/%{name}-%{version} \ | |
220 | -DAWESOME_DATA_PATH=%{_datadir}/%{name} \ | |
221 | -DSYSCONFDIR=%{_sysconfdir} | |
222 | %{__make} | |
223 | ||
224 | %install | |
225 | rm -rf $RPM_BUILD_ROOT | |
226 | install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_docdir}/%{name}-%{version}} | |
227 | install AUTHORS BUGS README STYLE $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} | |
228 | ||
229 | %{__make} install \ | |
230 | DESTDIR=$RPM_BUILD_ROOT | |
231 | install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop | |
232 | ||
233 | for file in $(%{__find} $RPM_BUILD_ROOT%{_datadir}/%{name} -iname "*.in"); do | |
234 | %{__rm} ${file} | |
235 | done | |
236 | ||
237 | %clean | |
238 | rm -rf $RPM_BUILD_ROOT | |
239 | ||
240 | %files | |
241 | %defattr(644,root,root,755) | |
242 | %doc %{_docdir}/%{name}-%{version} | |
243 | %exclude %{_docdir}/%{name}-%{version}/luadoc | |
244 | %attr(755,root,root) %{_bindir}/%{name} | |
245 | %attr(755,root,root) %{_bindir}/awsetbg | |
246 | %dir %{_datadir}/%{name} | |
247 | %dir %{_datadir}/%{name}/lib | |
248 | %{_datadir}/%{name}/icons | |
249 | %{_datadir}/xsessions/%{name}.desktop | |
250 | %{_mandir}/man1/%{name}.1* | |
251 | %{_mandir}/man1/awsetbg.1* | |
252 | %{_mandir}/man5/awesomerc.5* | |
253 | ||
254 | # plugin-awful | |
255 | %dir %{_datadir}/awesome/lib/awful | |
256 | %{_datadir}/awesome/lib/awful/*.lua | |
257 | %{_datadir}/awesome/lib/awful/layout | |
258 | %{_datadir}/awesome/lib/awful/mouse | |
259 | %{_datadir}/awesome/lib/awful/widget | |
260 | ||
261 | # plugin-beautiful | |
262 | %dir %{_datadir}/awesome/themes | |
263 | %{_datadir}/awesome/lib/beautiful.lua | |
264 | ||
265 | %files client | |
266 | %defattr(644,root,root,755) | |
267 | %attr(755,root,root) %{_bindir}/%{name}-client | |
268 | %{_mandir}/man1/%{name}-client.1* | |
269 | ||
270 | %files doc | |
271 | %defattr(644,root,root,755) | |
272 | %doc %{_docdir}/%{name}-%{version}/luadoc | |
273 | ||
274 | %files example-config | |
275 | %defattr(644,root,root,755) | |
276 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/awesome | |
277 | ||
278 | %files themes | |
279 | %defattr(644,root,root,755) | |
280 | ||
281 | %files themes-default | |
282 | %defattr(644,root,root,755) | |
283 | %{_datadir}/awesome/themes/default | |
284 | ||
285 | %files themes-sky | |
286 | %defattr(644,root,root,755) | |
287 | %{_datadir}/awesome/themes/sky | |
288 | ||
289 | %files themes-zenburn | |
290 | %defattr(644,root,root,755) | |
291 | %{_datadir}/awesome/themes/zenburn | |
292 | ||
293 | %files plugin-naughty | |
294 | %defattr(644,root,root,755) | |
295 | %{_datadir}/awesome/lib/naughty.lua |