]> git.pld-linux.org Git - packages/awesome.git/blob - awesome.spec
- BR: ImageMagic-png
[packages/awesome.git] / awesome.spec
1 %define         _rc     rc4
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.3
7 Release:        0.%{_rc}.0.1
8 License:        GPL v2
9 Group:          X11/Window Managers
10 Source0:        http://awesome.naquadah.org/download/%{name}-%{version}-%{_rc}.tar.bz2
11 # Source0-md5:  ccd951458b386d53839b29e76b60607f
12 Source1:        %{name}-xsession.desktop
13 Patch0:         %{name}-3.0-lua-files.patch
14 URL:            http://awesome.naquadah.org/
15 BuildRequires:  ImageMagic-png
16 BuildRequires:  asciidoc
17 BuildRequires:  cairo-devel
18 BuildRequires:  cmake >= 2.6
19 BuildRequires:  dbus-devel
20 BuildRequires:  doxygen
21 BuildRequires:  glib-devel
22 BuildRequires:  glib2-devel
23 BuildRequires:  gperf
24 BuildRequires:  imlib2-devel
25 BuildRequires:  libev-devel
26 BuildRequires:  libxdg-basedir-devel >= 1.0.1
27 BuildRequires:  lua-doc
28 BuildRequires:  lua51-devel
29 BuildRequires:  pango-devel
30 BuildRequires:  pkgconfig >= 0.9.0
31 BuildRequires:  readline-devel
32 BuildRequires:  rpmbuild(macros) >= 1.293
33 BuildRequires:  sed >= 4.0
34 BuildRequires:  startup-notification-devel >= 0.10
35 BuildRequires:  xcb-util-devel >= 0.3.4
36 BuildRequires:  xmlto
37 BuildRequires:  xorg-lib-libICE-devel
38 BuildRequires:  xorg-lib-libXext-devel
39 BuildRequires:  xorg-lib-libXft-devel
40 BuildRequires:  xorg-lib-libXinerama-devel
41 BuildRequires:  xorg-lib-libXrandr-devel
42 Suggests:       %{name}-plugin-awful = %{version}-%{release}
43 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45 %define         _sysconfdir     /etc/X11
46
47 %description
48 awesome is a highly configurable, next generation framework window
49 manager for X. It is very fast, light and extensible. It is primarly
50 targeted at power user, developer and any people dealing with every
51 day computing tasks and want to have fine-grained control on its
52 graphical environment.
53
54 %description -l hu.UTF-8
55 awesome egy végletekig beállítható, következő generációs ablakkezelő
56 az X-hez. Nagyon gyors, könnyed és bővíthető. Az elsődleges
57 célközönség a "power user"-ek, fejlesztők és bárki, aki minden nap
58 számítógéppel dolgozik és teljeskörű irányítást akar a grafikus
59 felületén.
60
61 %description -l pl.UTF-8
62 awesome jest zarządcą okien charakteryzującym się bardzo dużymi
63 możliwościami konfiguracji i rozszerzania funkcjonalności, pozostając
64 przy tym szybkim i lekkim. Cel ten został osiągnięty dzięki wbudowaniu
65 w program języka skryptowego lua. Awesome został zaprojektowany z
66 myślą o bardziej zaawansowanych użytkownikach: programistach oraz
67 innych pracujących na codzień z komputerami, którzy chcą mieć dużą
68 kontrolę nad swoim środowiskiem graficznym.
69
70 %package doc
71 Summary:        awesome window manager API documentation
72 Summary(hu.UTF-8):      awesome ablakkezelő API dokumentációja
73 Summary(pl.UTF-8):      Dokumentacja API awesome
74 Group:          Documentation
75
76 %description doc
77 awesome window manager API documentation.
78
79 %description doc -l hu.UTF-8
80 awesome ablakkezelő API dokumentációja.
81
82 %description doc -l pl.UTF-8
83 Dokumentacja API zarządcy okien awesome.
84
85 %package example-config
86 Summary:        Example config for awesome window manager
87 Summary(hu.UTF-8):      Egy alap/példa konfig az awesome ablakkezelőhöz
88 Summary(pl.UTF-8):      Przykładowy plik konfiguracyjny dla zarządcy okien awesome
89 Group:          Documentation
90 Requires:       %{name} = %{version}-%{release}
91 Requires:       %{name}-plugin-awful = %{version}-%{release}
92 Requires:       %{name}-plugin-beautiful = %{version}-%{release}
93 Requires:       %{name}-plugin-tabulous = %{version}-%{release}
94 Requires:       %{name}-themes = %{version}-%{release}
95
96 %description example-config
97 Example config for awesome window manager. It can be a good starting
98 point for those people, who have never used awesome window manager
99 before.
100
101 %description example-config -l hu.UTF-8
102 Egy alap/példa konfig az awesome ablakkezelőhöz. Ha még sose
103 használtál awesome 3.x ablakkezelőt, jó kiindulópont lehet.
104
105 %description example-config -l pl.UTF-8
106 Przykładowy plik konfiguracyjny dla zarządcy okien awesome. Ten plik
107 jest dobrym punktem wyjścia dla osób nie używających wcześniej awesome
108 3.x.
109
110 %package plugin-awful
111 Summary:        awful plugin for awesome window manager
112 Summary(hu.UTF-8):      awful plugin az awesome ablakkezelőhöz
113 Summary(pl.UTF-8):      Wtyczka awful dla zarządcy okien awesome
114 Group:          X11/Window Managers
115 Requires:       %{name} = %{version}-%{release}
116
117 %description plugin-awful
118 AWesome Functions very UsefuL: awful plugin for awesome window
119 manager.
120
121 %description plugin-awful -l hu.UTF-8
122 AWesome Functions very UsefuL: awful plugin az awesome ablakkezelőhöz.
123
124 %description plugin-awful -l pl.UTF-8
125 AWesome Functions very UsefuL: wtyczka awful dla zarządcy okien
126 awesome.
127
128 %package plugin-beautiful
129 Summary:        Theme library for awesome window manager
130 Summary(hu.UTF-8):      Theme könyvtár az awesome ablakkezelőhöz
131 Summary(pl.UTF-8):      Biblioteka styli dla zarządcy okien awesome
132 Group:          X11/Window Managers
133 Requires:       %{name} = %{version}-%{release}
134 Suggests:       WallpaperChanger
135
136 %description plugin-beautiful
137 Theme library for awesome window manager.
138
139 %description plugin-beautiful -l hu.UTF-8
140 Theme könyvtár az awesome ablakkezelőhöz.
141
142 %description plugin-beautiful -l pl.UTF-8
143 Biblioteka styli dla zarządcy okien awesome.
144
145 %package plugin-invaders
146 Summary:        Awesome Invaders game
147 Summary(hu.UTF-8):      Awesome Invaders játék
148 Summary(pl.UTF-8):      Gra Awesome Invaders
149 Group:          X11/Window Managers
150 Requires:       %{name} = %{version}-%{release}
151 Requires:       %{name}-plugin-awful = %{version}-%{release}
152 Requires:       %{name}-plugin-beautiful = %{version}-%{release}
153 Requires:       ImageMagick
154
155 %description plugin-invaders
156 Awesome Invaders is, as the name says, an implementation of Space
157 Invaders using awesome 3's Lua interface.
158
159 %description plugin-invaders -l hu.UTF-8
160 Awesome Invaders, ahogy a neve is mutatja, a Space Invaders
161 megvalósítása az awesome 3 lua interfészét használva.
162
163 %description plugin-invaders -l pl.UTF-8
164 Awesome Invaders jest grą Space Invaders zaimplementowaną w intefejsie
165 Lua zarządcy okien awesome 3.
166
167 %package plugin-naughty
168 Summary:        Naughty is a lua library that implements popup notifications for awesome 3
169 Summary(hu.UTF-8):      Naughty egy lua-könyvtár, amely felugró értesítéseket tesz lehetővé awesome3-ban
170 Summary(pl.UTF-8):      Powiadomienia w postaci wyskakujących okienek dla awesome 3
171 Group:          X11/Window Managers
172 Requires:       %{name} = %{version}-%{release}
173 Requires:       %{name}-plugin-awful = %{version}-%{release}
174 Requires:       %{name}-plugin-beautiful = %{version}-%{release}
175
176 %description plugin-naughty
177 Naughty is a lua library that implements popup notifications for
178 awesome3.
179
180 %description plugin-naughty -l hu.UTF-8
181 Naughty egy lua-könyvtár, amely felugró értesítéseket tesz lehetővé
182 awesome3-ban.
183
184 %description plugin-naughty -l pl.UTF-8
185 Biblioteka lua dla zarządcy okien awesome 3 implementująca
186 powiadomienia w formie wyskakujących okienek.
187
188 %package plugin-revelation
189 Summary:        Plugin that allows to bring a view of all your open clients
190 Summary(hu.UTF-8):      Revelation egy nézetet hoz létre az összes megnyitott kliensről
191 Summary(pl.UTF-8):      Wtyczka do awesome 3 dająca widok wszystkich otwartych okien
192 Group:          X11/Window Managers
193 Requires:       %{name} = %{version}-%{release}
194
195 %description plugin-revelation
196 Revelation brings up a view of all your open clients; left-clicking a
197 client pops to the first tag that client is visible on and
198 raises/focuses the client. In addition, the Enter key pops to the
199 currently focused client, and Escape aborts.
200
201 %description plugin-revelation -l hu.UTF-8
202 Revelation egy nézetet hoz létre az összes megnyitott kliensről; egy
203 kliensre bal gombbal kattintva az első olyan cimkére ugorhatsz, ahol a
204 kliens látható, és fókuszba hozza a klienst. Az Enter billentyűre a
205 fókuszban levő kliensre ugrik, és az Escape billentyűvel megszakítható
206 a művelet.
207
208 %description plugin-revelation -l pl.UTF-8
209 Revelation umożliwia podgląd wszystkich otwartych okien. Kliknięcie
210 prawym przyciskiem myszy na okienko przełącza na pierwszy znacznik, na
211 którym okno jest widoczne i przywołuje okno na pierwszy plan.
212 Dodatkowo klawisz Enter przełącza fokus mięszy oknami a klawisz Esc
213 przerywa podgląd okien.
214
215 %package plugin-tabulous
216 Summary:        Fabulous tabs for awesome window manager
217 Summary(hu.UTF-8):      Tab-ok awesome-hoz
218 Summary(pl.UTF-8):      Zakładki dla zarządcy okien awesome
219 Group:          X11/Window Managers
220 Requires:       %{name} = %{version}-%{release}
221
222 %description plugin-tabulous
223 Fabulous tabs for awesome.
224
225 %description plugin-tabulous -l hu.UTF-8
226 Tab-ok awesome-hoz.
227
228 %description plugin-tabulous -l pl.UTF-8
229 Zakładki dla zarządcy okien awesome.
230
231 %package plugin-telak
232 Summary:        Root window image display library
233 Summary(hu.UTF-8):      Root ablak kezeléséhez könyvtár
234 Group:          X11/Window Managers
235 Requires:       %{name} = %{version}-%{release}
236 Requires:       lua-socket
237
238 %description plugin-telak
239 Root window image display library.
240
241 %description plugin-telak -l hu.UTF-8
242 Root ablak kezeléséhez könyvtár.
243
244 %package themes
245 Summary:        Themes for awesome window manager
246 Summary(hu.UTF-8):      Témák az awesome ablakkezelőhöz
247 Group:          X11/Window Managers
248 Requires:       %{name} = %{version}-%{release}
249
250 %description themes
251 Themes for awesome window manager.
252
253 %description themes -l hu.UTF-8
254 Témák az awesome ablakkezelőhöz.
255
256 %prep
257 %setup -q -n %{name}-%{version}-%{_rc}
258 %patch0 -p1
259
260 %build
261 %cmake \
262         -DLUA_INC_DIR=%{_includedir}/lua51 \
263         -DPREFIX=%{_prefix} \
264         -DAWESOME_DOC_PATH=%{_docdir}/%{name}-%{version} \
265         -DAWESOME_DATA_PATH=%{_datadir}/%{name} \
266         -DSYSCONFDIR=%{_sysconfdir}
267 %{__make}
268
269 %install
270 rm -rf $RPM_BUILD_ROOT
271 install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_docdir}/%{name}-doc-%{version}}
272
273 %{__make} install \
274         DESTDIR=$RPM_BUILD_ROOT
275 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
276
277 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/luadoc $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/luadoc
278 for file in $(%{__find} $RPM_BUILD_ROOT%{_datadir}/%{name} -iname "*.in"); do
279         %{__rm} ${file}
280 done
281
282 %clean
283 rm -rf $RPM_BUILD_ROOT
284
285 %files
286 %defattr(644,root,root,755)
287 %doc AUTHORS BUGS README STYLE
288 %attr(755,root,root) %{_bindir}/%{name}
289 %attr(755,root,root) %{_bindir}/%{name}-client
290 %attr(755,root,root) %{_bindir}/awsetbg
291 %dir %{_datadir}/%{name}/lib
292 %{_datadir}/%{name}/lib/capi.lua
293 %dir %{_datadir}/%{name}
294 %{_datadir}/%{name}/icons
295 %{_datadir}/xsessions/%{name}.desktop
296 %{_mandir}/man1/%{name}*
297 %{_mandir}/man1/awsetbg*
298 %{_mandir}/man5/%{name}*
299
300 %files doc
301 %defattr(644,root,root,755)
302 %{_docdir}/%{name}-doc-%{version}
303
304 %files example-config
305 %defattr(644,root,root,755)
306 %dir %{_sysconfdir}/xdg
307 %dir %{_sysconfdir}/xdg/awesome
308 %{_sysconfdir}/xdg/awesome/*
309
310 %files plugin-awful
311 %defattr(644,root,root,755)
312 %dir %{_datadir}/awesome/lib/awful
313 %{_datadir}/awesome/lib/awful/*.lua
314 %{_datadir}/awesome/lib/awful/layout
315 %{_datadir}/awesome/lib/awful/widget
316
317 %files plugin-beautiful
318 %defattr(644,root,root,755)
319 %{_datadir}/awesome/lib/beautiful.lua
320 %{_datadir}/awesome/themes
321
322 %files themes
323 %defattr(644,root,root,755)
324 %dir %{_datadir}/awesome/themes
325 %{_datadir}/awesome/themes/default
326 %{_datadir}/awesome/themes/sky
327
328 %files plugin-invaders
329 %defattr(644,root,root,755)
330 %{_datadir}/awesome/lib/invaders.lua
331 %dir %{_datadir}/awesome/icons/invaders
332 %{_datadir}/awesome/icons/invaders/*.png
333
334 %files plugin-naughty
335 %defattr(644,root,root,755)
336 %{_datadir}/awesome/lib/naughty.lua
337
338 # %files plugin-revelation
339 # %defattr(644,root,root,755)
340 # %{_datadir}/awesome/lib/revelation.lua
341
342 %files plugin-tabulous
343 %defattr(644,root,root,755)
344 %{_datadir}/awesome/lib/tabulous.lua
345
346 %files plugin-telak
347 %defattr(644,root,root,755)
348 %{_datadir}/awesome/lib/telak.lua
This page took 0.060678 seconds and 4 git commands to generate.