]>
Commit | Line | Data |
---|---|---|
8fccf021 | 1 | |
441c252e | 2 | Summary: awesome window manager |
e66c95bd | 3 | Summary(hu.UTF-8): awesome ablakkezelő |
b6bb5576 | 4 | Summary(pl.UTF-8): Zarządca okien X - Awesome |
e66c95bd | 5 | Name: awesome |
39ba5dbb | 6 | Version: 3.4.2 |
0260a54a | 7 | Release: 1 |
e66c95bd ZU |
8 | License: GPL v2 |
9 | Group: X11/Window Managers | |
882ef172 | 10 | Source0: http://awesome.naquadah.org/download/%{name}-%{version}.tar.bz2 |
39ba5dbb | 11 | # Source0-md5: 9cdd7298071b2f89646085daa1f6322d |
e66c95bd | 12 | Source1: %{name}-xsession.desktop |
e4a5b042 | 13 | Patch0: %{name}-3.0-lua-files.patch |
8fccf021 | 14 | Patch1: %{name}-xmlto.patch |
15 | Patch2: %{name}-magnifier.patch | |
2692bda2 | 16 | URL: http://awesome.naquadah.org/ |
66cb08a4 | 17 | BuildRequires: ImageMagick-coder-png |
e66c95bd ZU |
18 | BuildRequires: asciidoc |
19 | BuildRequires: cairo-devel | |
20 | BuildRequires: cmake >= 2.6 | |
21 | BuildRequires: dbus-devel | |
25a44485 | 22 | BuildRequires: docbook-dtd45-xml |
e519f8ed | 23 | BuildRequires: doxygen |
489fc5b2 | 24 | BuildRequires: glib-devel |
25 | BuildRequires: glib2-devel | |
e66c95bd | 26 | BuildRequires: gperf |
166fff07 | 27 | BuildRequires: imlib2-devel |
e66c95bd | 28 | BuildRequires: libev-devel |
8fccf021 | 29 | BuildRequires: libxcb-devel >= 1.4 |
82f625bc | 30 | BuildRequires: libxdg-basedir-devel >= 1.0.1 |
e519f8ed | 31 | BuildRequires: lua-doc |
e66c95bd ZU |
32 | BuildRequires: lua51-devel |
33 | BuildRequires: pango-devel | |
34 | BuildRequires: pkgconfig >= 0.9.0 | |
ab20464d | 35 | BuildRequires: readline-devel |
e216db54 | 36 | BuildRequires: rpmbuild(macros) >= 1.293 |
e66c95bd | 37 | BuildRequires: sed >= 4.0 |
82f625bc | 38 | BuildRequires: startup-notification-devel >= 0.10 |
25a44485 | 39 | BuildRequires: which |
dc71363e | 40 | BuildRequires: xcb-util-devel >= 0.3.6 |
e66c95bd ZU |
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 | |
8fccf021 | 47 | BuildRequires: xorg-proto-xproto-devel >= 7.0.15 |
3f79079d | 48 | Requires: startup-notification >= 0.10 |
95cf139a | 49 | Requires: xcb-util >= 0.3.6 |
8fccf021 | 50 | Provides: awesome-plugin-awful |
51 | Provides: awesome-plugin-beautiful | |
52 | Obsoletes: awesome-plugin-awful | |
53 | Obsoletes: awesome-plugin-beautiful | |
e66c95bd ZU |
54 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
55 | ||
e66c95bd ZU |
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 | ||
2aea91b8 | 70 | %description -l pl.UTF-8 |
b6bb5576 | 71 | awesome jest zarządcą okien charakteryzującym się bardzo dużymi |
441c252e | 72 | możliwościami konfiguracji i rozszerzania funkcjonalności, pozostając |
b6bb5576 JB |
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żą | |
2aea91b8 | 77 | kontrolę nad swoim środowiskiem graficznym. |
78 | ||
66d00da9 | 79 | %package client |
80 | Summary: awesome window manager command line client | |
7f7404e0 | 81 | Summary(hu.UTF-8): Parancssoros kliens az awesome ablakkezelőhöz |
82 | Summary(pl.UTF-8): Klient zarządcy okien awesome | |
6349e542 | 83 | Group: X11/Window Managers/Tools |
66d00da9 | 84 | Requires: dbus |
85 | Requires: rlwrap | |
86 | ||
87 | %description client | |
df15ecc6 ZU |
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. | |
66d00da9 | 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 | ||
e519f8ed ZU |
100 | %package doc |
101 | Summary: awesome window manager API documentation | |
102 | Summary(hu.UTF-8): awesome ablakkezelő API dokumentációja | |
0d65962b | 103 | Summary(pl.UTF-8): Dokumentacja API awesome |
0f457278 | 104 | Group: Documentation |
e519f8ed ZU |
105 | |
106 | %description doc | |
2aea91b8 | 107 | awesome window manager API documentation. |
e519f8ed ZU |
108 | |
109 | %description doc -l hu.UTF-8 | |
2aea91b8 | 110 | awesome ablakkezelő API dokumentációja. |
e519f8ed | 111 | |
2aea91b8 | 112 | %description doc -l pl.UTF-8 |
b6bb5576 | 113 | Dokumentacja API zarządcy okien awesome. |
e519f8ed | 114 | |
ab20464d ZU |
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 | |
b6bb5576 | 118 | Summary(pl.UTF-8): Przykładowy plik konfiguracyjny dla zarządcy okien awesome |
0f457278 | 119 | Group: Documentation |
70e12a76 | 120 | Requires: %{name} = %{version}-%{release} |
2a79941f | 121 | Requires: %{name}-themes-default = %{version}-%{release} |
ab20464d ZU |
122 | |
123 | %description example-config | |
860cb08a JB |
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. | |
ab20464d ZU |
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 | ||
441c252e | 132 | %description example-config -l pl.UTF-8 |
b6bb5576 | 133 | Przykładowy plik konfiguracyjny dla zarządcy okien awesome. Ten plik |
0445c2b8 ER |
134 | jest dobrym punktem wyjścia dla osób nie używających wcześniej awesome |
135 | 3.x. | |
441c252e | 136 | |
f4579953 | 137 | %package plugin-naughty |
441c252e | 138 | Summary: Naughty is a lua library that implements popup notifications for awesome 3 |
f4579953 | 139 | Summary(hu.UTF-8): Naughty egy lua-könyvtár, amely felugró értesítéseket tesz lehetővé awesome3-ban |
441c252e | 140 | Summary(pl.UTF-8): Powiadomienia w postaci wyskakujących okienek dla awesome 3 |
6349e542 | 141 | Group: X11/Window Managers/Tools |
70e12a76 | 142 | Requires: %{name} = %{version}-%{release} |
a6f79adc | 143 | Provides: dbus(org.freedesktop.Notifications) |
f4579953 ZU |
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 | ||
441c252e | 153 | %description plugin-naughty -l pl.UTF-8 |
b6bb5576 | 154 | Biblioteka lua dla zarządcy okien awesome 3 implementująca |
441c252e | 155 | powiadomienia w formie wyskakujących okienek. |
156 | ||
8fccf021 | 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 | |
6349e542 | 161 | Group: X11/Window Managers/Tools |
70e12a76 | 162 | Requires: %{name} = %{version}-%{release} |
8fccf021 | 163 | Requires: %{name}-themes-default = %{version}-%{release} |
164 | Requires: %{name}-themes-sky = %{version}-%{release} | |
165 | Requires: %{name}-themes-zenburn = %{version}-%{release} | |
ab20464d | 166 | |
8fccf021 | 167 | %description themes |
168 | Themes for awesome window manager (metapackage). | |
ab20464d | 169 | |
8fccf021 | 170 | %description themes -l hu.UTF-8 |
171 | Témák az awesome ablakkezelőhöz (metacsomag). | |
441c252e | 172 | |
8fccf021 | 173 | %description themes -l pl.UTF-8 |
174 | Dodatkowe "tematy" (definicje wyglądu) zarządcy okien awesome. | |
ab20464d | 175 | |
8fccf021 | 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 | |
6349e542 | 179 | Group: X11/Window Managers/Tools |
6703f79f | 180 | |
8fccf021 | 181 | %description themes-default |
182 | Default theme for awesome window manager. | |
6703f79f | 183 | |
8fccf021 | 184 | %description themes-default -l hu.UTF-8 |
185 | Alapértelmezett téma az awesome ablakkezelőhöz. | |
dbffd21e | 186 | |
8fccf021 | 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 | |
6349e542 | 190 | Group: X11/Window Managers/Tools |
6703f79f | 191 | |
8fccf021 | 192 | %description themes-sky |
193 | Sky theme for awesome window manager. | |
6703f79f | 194 | |
8fccf021 | 195 | %description themes-sky -l hu.UTF-8 |
196 | Sky téma az awesome ablakkezelőhöz. | |
6703f79f | 197 | |
8fccf021 | 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. | |
dbffd21e | 208 | |
e66c95bd | 209 | %prep |
25a44485 | 210 | %setup -q |
e66c95bd | 211 | %patch0 -p1 |
dbffd21e | 212 | %patch1 -p1 |
7f7404e0 | 213 | %patch2 -p1 |
e66c95bd ZU |
214 | |
215 | %build | |
906dda6d | 216 | %cmake \ |
a043f8d3 ER |
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} | |
e66c95bd ZU |
222 | %{__make} |
223 | ||
224 | %install | |
225 | rm -rf $RPM_BUILD_ROOT | |
d746ca4e ZU |
226 | install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_docdir}/%{name}-%{version}} |
227 | install AUTHORS BUGS README STYLE $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} | |
e66c95bd ZU |
228 | |
229 | %{__make} install \ | |
230 | DESTDIR=$RPM_BUILD_ROOT | |
231 | install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop | |
58290601 | 232 | |
6703f79f ZU |
233 | for file in $(%{__find} $RPM_BUILD_ROOT%{_datadir}/%{name} -iname "*.in"); do |
234 | %{__rm} ${file} | |
235 | done | |
e66c95bd ZU |
236 | |
237 | %clean | |
238 | rm -rf $RPM_BUILD_ROOT | |
239 | ||
240 | %files | |
241 | %defattr(644,root,root,755) | |
d746ca4e ZU |
242 | %doc %{_docdir}/%{name}-%{version} |
243 | %exclude %{_docdir}/%{name}-%{version}/luadoc | |
e66c95bd | 244 | %attr(755,root,root) %{_bindir}/%{name} |
e66c95bd | 245 | %attr(755,root,root) %{_bindir}/awsetbg |
122893b8 | 246 | %dir %{_datadir}/%{name} |
f4579953 | 247 | %dir %{_datadir}/%{name}/lib |
ab20464d | 248 | %{_datadir}/%{name}/icons |
e66c95bd | 249 | %{_datadir}/xsessions/%{name}.desktop |
66d00da9 | 250 | %{_mandir}/man1/%{name}.1* |
251 | %{_mandir}/man1/awsetbg.1* | |
252 | %{_mandir}/man5/awesomerc.5* | |
253 | ||
8fccf021 | 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 | ||
66d00da9 | 265 | %files client |
266 | %defattr(644,root,root,755) | |
267 | %attr(755,root,root) %{_bindir}/%{name}-client | |
268 | %{_mandir}/man1/%{name}-client.1* | |
e519f8ed ZU |
269 | |
270 | %files doc | |
271 | %defattr(644,root,root,755) | |
d746ca4e | 272 | %doc %{_docdir}/%{name}-%{version}/luadoc |
ab20464d | 273 | |
ab20464d ZU |
274 | %files example-config |
275 | %defattr(644,root,root,755) | |
d350aebc | 276 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/awesome |
ab20464d | 277 | |
8fccf021 | 278 | %files themes |
ab20464d | 279 | %defattr(644,root,root,755) |
ab20464d | 280 | |
8fccf021 | 281 | %files themes-default |
ab20464d | 282 | %defattr(644,root,root,755) |
8fccf021 | 283 | %{_datadir}/awesome/themes/default |
ab20464d | 284 | |
8fccf021 | 285 | %files themes-sky |
6703f79f | 286 | %defattr(644,root,root,755) |
6703f79f ZU |
287 | %{_datadir}/awesome/themes/sky |
288 | ||
8fccf021 | 289 | %files themes-zenburn |
f4579953 | 290 | %defattr(644,root,root,755) |
8fccf021 | 291 | %{_datadir}/awesome/themes/zenburn |
f4579953 | 292 | |
f4579953 ZU |
293 | %files plugin-naughty |
294 | %defattr(644,root,root,755) | |
295 | %{_datadir}/awesome/lib/naughty.lua |