]> git.pld-linux.org Git - packages/awesome.git/blob - awesome.spec
981eae8b01dadf9a9a43b4051573183b3bf3b8b4
[packages/awesome.git] / awesome.spec
1
2 %define         _rc     rc3
3
4 Summary:        awesome window manager
5 Summary(hu.UTF-8):      awesome ablakkezelő
6 Summary(pl.UTF-8):      Zarządca okien X - Awesome
7 Name:           awesome
8 Version:        3.4
9 Release:        0.%{_rc}.1
10 License:        GPL v2
11 Group:          X11/Window Managers
12 Source0:        http://awesome.naquadah.org/download/%{name}-%{version}-%{_rc}.tar.bz2
13 # Source0-md5:  5fd2e01c5bc7d5f4765731a05fea8691
14 Source1:        %{name}-xsession.desktop
15 Patch0:         %{name}-3.0-lua-files.patch
16 Patch1:         %{name}-xmlto.patch
17 URL:            http://awesome.naquadah.org/
18 BuildRequires:  ImageMagick-coder-png
19 BuildRequires:  asciidoc
20 BuildRequires:  cairo-devel
21 BuildRequires:  cmake >= 2.6
22 BuildRequires:  dbus-devel
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:  xcb-util-devel >= 0.3.6
40 BuildRequires:  xmlto
41 BuildRequires:  xorg-lib-libICE-devel
42 BuildRequires:  xorg-lib-libXext-devel
43 BuildRequires:  xorg-lib-libXft-devel
44 BuildRequires:  xorg-lib-libXinerama-devel
45 BuildRequires:  xorg-lib-libXrandr-devel
46 BuildRequires:  xorg-proto-xproto-devel >= 7.0.15
47 Requires:       %{name}-client = %{version}-%{release}
48 Requires:       %{name}-plugin-awful = %{version}-%{release}
49 Requires:       %{name}-plugin-beautiful = %{version}-%{release}
50 Requires:       startup-notification >= 0.10
51 Requires:       xcb-util >= 0.3.6
52 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53
54 %define         _sysconfdir     /etc/X11
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}-plugin-awful = %{version}-%{release}
122 Requires:       %{name}-plugin-beautiful = %{version}-%{release}
123 Requires:       %{name}-themes = %{version}-%{release}
124
125 %description example-config
126 Example config for awesome window manager. It can be a good starting
127 point for those people, who have never used awesome window manager
128 before.
129
130 %description example-config -l hu.UTF-8
131 Egy alap/példa konfig az awesome ablakkezelőhöz. Ha még sose
132 használtál awesome 3.x ablakkezelőt, jó kiindulópont lehet.
133
134 %description example-config -l pl.UTF-8
135 Przykładowy plik konfiguracyjny dla zarządcy okien awesome. Ten plik
136 jest dobrym punktem wyjścia dla osób nie używających wcześniej awesome
137 3.x.
138
139 %package plugin-awful
140 Summary:        awful plugin for awesome window manager
141 Summary(hu.UTF-8):      awful plugin az awesome ablakkezelőhöz
142 Summary(pl.UTF-8):      Wtyczka awful dla zarządcy okien awesome
143 Group:          X11/Window Managers/Tools
144
145 %description plugin-awful
146 AWesome Functions very UsefuL: awful plugin for awesome window
147 manager.
148
149 %description plugin-awful -l hu.UTF-8
150 AWesome Functions very UsefuL: awful plugin az awesome ablakkezelőhöz.
151
152 %description plugin-awful -l pl.UTF-8
153 AWesome Functions very UsefuL: wtyczka awful dla zarządcy okien
154 awesome.
155
156 %package plugin-beautiful
157 Summary:        Theme library for awesome window manager
158 Summary(hu.UTF-8):      Theme könyvtár az awesome ablakkezelőhöz
159 Summary(pl.UTF-8):      Biblioteka styli dla zarządcy okien awesome
160 Group:          X11/Window Managers/Tools
161 Suggests:       WallpaperChanger
162
163 %description plugin-beautiful
164 Theme library for awesome window manager.
165
166 %description plugin-beautiful -l hu.UTF-8
167 Theme könyvtár az awesome ablakkezelőhöz.
168
169 %description plugin-beautiful -l pl.UTF-8
170 Biblioteka styli dla zarządcy okien awesome.
171
172 %package plugin-naughty
173 Summary:        Naughty is a lua library that implements popup notifications for awesome 3
174 Summary(hu.UTF-8):      Naughty egy lua-könyvtár, amely felugró értesítéseket tesz lehetővé awesome3-ban
175 Summary(pl.UTF-8):      Powiadomienia w postaci wyskakujących okienek dla awesome 3
176 Group:          X11/Window Managers/Tools
177 Requires:       %{name} = %{version}-%{release}
178 Requires:       %{name}-plugin-awful = %{version}-%{release}
179 Requires:       %{name}-plugin-beautiful = %{version}-%{release}
180 Provides:       dbus(org.freedesktop.Notifications)
181
182 %description plugin-naughty
183 Naughty is a lua library that implements popup notifications for
184 awesome3.
185
186 %description plugin-naughty -l hu.UTF-8
187 Naughty egy lua-könyvtár, amely felugró értesítéseket tesz lehetővé
188 awesome3-ban.
189
190 %description plugin-naughty -l pl.UTF-8
191 Biblioteka lua dla zarządcy okien awesome 3 implementująca
192 powiadomienia w formie wyskakujących okienek.
193
194 %package themes
195 Summary:        Themes for awesome window manager
196 Summary(hu.UTF-8):      Témák az awesome ablakkezelőhöz
197 Summary(pl.UTF-8):      Tematy dla zarządcy okien awesome
198 Group:          X11/Window Managers/Tools
199 Requires:       %{name} = %{version}-%{release}
200
201 %description themes
202 Themes for awesome window manager.
203
204 %description themes -l hu.UTF-8
205 Témák az awesome ablakkezelőhöz.
206
207 %description themes -l pl.UTF-8
208 Dodatkowe "tematy" (definicje wyglądu) zarządcy okien awesome.
209
210 %prep
211 %setup -q -n %{name}-%{version}-%{_rc}
212 %patch0 -p1
213 %patch1 -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 %files client
255 %defattr(644,root,root,755)
256 %attr(755,root,root) %{_bindir}/%{name}-client
257 %{_mandir}/man1/%{name}-client.1*
258
259 %files doc
260 %defattr(644,root,root,755)
261 %doc %{_docdir}/%{name}-%{version}/luadoc
262
263 %files example-config
264 %defattr(644,root,root,755)
265 %dir %{_sysconfdir}/xdg
266 %dir %{_sysconfdir}/xdg/awesome
267 %{_sysconfdir}/xdg/awesome/*
268
269 %files plugin-awful
270 %defattr(644,root,root,755)
271 %dir %{_datadir}/awesome/lib/awful
272 %{_datadir}/awesome/lib/awful/*.lua
273 %{_datadir}/awesome/lib/awful/layout
274 %{_datadir}/awesome/lib/awful/mouse
275 %{_datadir}/awesome/lib/awful/widget
276
277 %files plugin-beautiful
278 %defattr(644,root,root,755)
279 %{_datadir}/awesome/lib/beautiful.lua
280 %{_datadir}/awesome/themes
281
282 %files themes
283 %defattr(644,root,root,755)
284 %dir %{_datadir}/awesome/themes
285 %{_datadir}/awesome/themes/default
286 %{_datadir}/awesome/themes/sky
287
288 %files plugin-naughty
289 %defattr(644,root,root,755)
290 %{_datadir}/awesome/lib/naughty.lua
This page took 0.378977 seconds and 2 git commands to generate.