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