]> git.pld-linux.org Git - packages/awesome.git/blob - awesome.spec
- awesome/themes dir fix
[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:       startup-notification >= 0.10
50 Requires:       xcb-util >= 0.3.6
51 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52
53 %define         _sysconfdir     /etc/X11
54
55 %description
56 awesome is a highly configurable, next generation framework window
57 manager for X. It is very fast, light and extensible. It is primarly
58 targeted at power user, developer and any people dealing with every
59 day computing tasks and want to have fine-grained control on its
60 graphical environment.
61
62 %description -l hu.UTF-8
63 awesome egy végletekig beállítható, következő generációs ablakkezelő
64 az X-hez. Nagyon gyors, könnyed és bővíthető. Az elsődleges
65 célközönség a "power user"-ek, fejlesztők és bárki, aki minden nap
66 számítógéppel dolgozik és teljeskörű irányítást akar a grafikus
67 felületén.
68
69 %description -l pl.UTF-8
70 awesome jest zarządcą okien charakteryzującym się bardzo dużymi
71 możliwościami konfiguracji i rozszerzania funkcjonalności, pozostając
72 przy tym szybkim i lekkim. Cel ten został osiągnięty dzięki wbudowaniu
73 w program języka skryptowego lua. Awesome został zaprojektowany z
74 myślą o bardziej zaawansowanych użytkownikach: programistach oraz
75 innych pracujących na codzień z komputerami, którzy chcą mieć dużą
76 kontrolę nad swoim środowiskiem graficznym.
77
78 %package client
79 Summary:        awesome window manager command line client
80 Summary(hu.UTF-8):      Parancssoros kliens az awesome ablakkezelőhöz
81 Summary(pl.UTF-8):      Klient zarządcy okien awesome
82 Group:          X11/Window Managers/Tools
83 Requires:       dbus
84 Requires:       rlwrap
85
86 %description client
87 awesome-client is command line utility (in fact shell script) for
88 executing an arbitrary lua code in working awesome window manager
89 instance.
90
91 %description client -l hu.UTF-8
92 awesome-client egy parancssoros eszköz (lényegében egy shell script)
93 tetszőleges lua kód futtatásához egy működő awesome ablakkezelőben.
94
95 %description client -l pl.UTF-8
96 awesome-client to skrypt powłoki pozwalający wykonać dowolny kod lua w
97 działającej instancji zarządcy okien awesome.
98
99 %package doc
100 Summary:        awesome window manager API documentation
101 Summary(hu.UTF-8):      awesome ablakkezelő API dokumentációja
102 Summary(pl.UTF-8):      Dokumentacja API awesome
103 Group:          Documentation
104
105 %description doc
106 awesome window manager API documentation.
107
108 %description doc -l hu.UTF-8
109 awesome ablakkezelő API dokumentációja.
110
111 %description doc -l pl.UTF-8
112 Dokumentacja API zarządcy okien awesome.
113
114 %package example-config
115 Summary:        Example config for awesome window manager
116 Summary(hu.UTF-8):      Egy alap/példa konfig az awesome ablakkezelőhöz
117 Summary(pl.UTF-8):      Przykładowy plik konfiguracyjny dla zarządcy okien awesome
118 Group:          Documentation
119 Requires:       %{name} = %{version}-%{release}
120 Requires:       %{name}-plugin-awful = %{version}-%{release}
121 Requires:       %{name}-plugin-beautiful = %{version}-%{release}
122 Requires:       %{name}-themes = %{version}-%{release}
123
124 %description example-config
125 Example config for awesome window manager. It can be a good starting
126 point for those people, who have never used awesome window manager
127 before.
128
129 %description example-config -l hu.UTF-8
130 Egy alap/példa konfig az awesome ablakkezelőhöz. Ha még sose
131 használtál awesome 3.x ablakkezelőt, jó kiindulópont lehet.
132
133 %description example-config -l pl.UTF-8
134 Przykładowy plik konfiguracyjny dla zarządcy okien awesome. Ten plik
135 jest dobrym punktem wyjścia dla osób nie używających wcześniej awesome
136 3.x.
137
138 %package plugin-awful
139 Summary:        awful plugin for awesome window manager
140 Summary(hu.UTF-8):      awful plugin az awesome ablakkezelőhöz
141 Summary(pl.UTF-8):      Wtyczka awful dla zarządcy okien awesome
142 Group:          X11/Window Managers/Tools
143 Requires:       %{name}-plugin-beautiful = %{version}-%{release}
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 %dir %{_datadir}/awesome/themes
280 %{_datadir}/awesome/lib/beautiful.lua
281
282 %files themes
283 %defattr(644,root,root,755)
284 %{_datadir}/awesome/themes/default
285 %{_datadir}/awesome/themes/sky
286
287 %files plugin-naughty
288 %defattr(644,root,root,755)
289 %{_datadir}/awesome/lib/naughty.lua
This page took 0.09592 seconds and 3 git commands to generate.