]>
Commit | Line | Data |
---|---|---|
2aea91b8 | 1 | # |
e66c95bd ZU |
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 | |
f4579953 ZU |
6 | Version: 3.1 |
7 | Release: 0.1 | |
e66c95bd ZU |
8 | License: GPL v2 |
9 | Group: X11/Window Managers | |
e4a5b042 | 10 | Source0: http://awesome.naquadah.org/download/%{name}-%{version}.tar.bz2 |
f4579953 | 11 | # Source0-md5: e687a9c0056437207cbdba2f64412624 |
e66c95bd | 12 | Source1: %{name}-xsession.desktop |
e4a5b042 | 13 | Patch0: %{name}-3.0-lua-files.patch |
2692bda2 | 14 | URL: http://awesome.naquadah.org/ |
e66c95bd ZU |
15 | BuildRequires: asciidoc |
16 | BuildRequires: cairo-devel | |
17 | BuildRequires: cmake >= 2.6 | |
18 | BuildRequires: dbus-devel | |
e519f8ed | 19 | BuildRequires: doxygen |
489fc5b2 | 20 | BuildRequires: glib-devel |
21 | BuildRequires: glib2-devel | |
e66c95bd | 22 | BuildRequires: gperf |
166fff07 | 23 | BuildRequires: imlib2-devel |
e66c95bd | 24 | BuildRequires: libev-devel |
e519f8ed | 25 | BuildRequires: lua-doc |
e66c95bd ZU |
26 | BuildRequires: lua51-devel |
27 | BuildRequires: pango-devel | |
28 | BuildRequires: pkgconfig >= 0.9.0 | |
ab20464d | 29 | BuildRequires: readline-devel |
e216db54 | 30 | BuildRequires: rpmbuild(macros) >= 1.293 |
e66c95bd | 31 | BuildRequires: sed >= 4.0 |
e4a5b042 | 32 | BuildRequires: xcb-util-devel >= 0.3 |
e66c95bd ZU |
33 | BuildRequires: xmlto |
34 | BuildRequires: xorg-lib-libICE-devel | |
35 | BuildRequires: xorg-lib-libXext-devel | |
36 | BuildRequires: xorg-lib-libXft-devel | |
37 | BuildRequires: xorg-lib-libXinerama-devel | |
38 | BuildRequires: xorg-lib-libXrandr-devel | |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
40 | ||
e216db54 | 41 | %define _sysconfdir /etc/X11 |
e66c95bd ZU |
42 | |
43 | %description | |
44 | awesome is a highly configurable, next generation framework window | |
45 | manager for X. It is very fast, light and extensible. It is primarly | |
46 | targeted at power user, developer and any people dealing with every | |
47 | day computing tasks and want to have fine-grained control on its | |
48 | graphical environment. | |
49 | ||
50 | %description -l hu.UTF-8 | |
51 | awesome egy végletekig beállítható, következő generációs ablakkezelő | |
52 | az X-hez. Nagyon gyors, könnyed és bővíthető. Az elsődleges | |
53 | célközönség a "power user"-ek, fejlesztők és bárki, aki minden nap | |
54 | számítógéppel dolgozik és teljeskörű irányítást akar a grafikus | |
55 | felületén. | |
56 | ||
2aea91b8 | 57 | %description -l pl.UTF-8 |
58 | awesome jest menedżerem okien charakteryzującym się bardzo dużymi | |
59 | możliwościami konfiguracji i rozszerzania fnkcjonalności, pozostając | |
60 | przy tym szybki i lekki. Cel ten został osiągnięty dzięki wbudowaniu w | |
0d65962b | 61 | program języka skryptowego lua. Awesome został zaprojektowany z myślą |
2aea91b8 | 62 | o bardziej zaawansowanych użytkonikach: programistach oraz innych |
63 | ludziach pracujących na codzień z komputerami, którzy chcą mieć dużą | |
64 | kontrolę nad swoim środowiskiem graficznym. | |
65 | ||
e519f8ed ZU |
66 | %package doc |
67 | Summary: awesome window manager API documentation | |
68 | Summary(hu.UTF-8): awesome ablakkezelő API dokumentációja | |
0d65962b | 69 | Summary(pl.UTF-8): Dokumentacja API awesome |
e519f8ed ZU |
70 | Group: X11/Window Managers |
71 | ||
72 | %description doc | |
2aea91b8 | 73 | awesome window manager API documentation. |
e519f8ed ZU |
74 | |
75 | %description doc -l hu.UTF-8 | |
2aea91b8 | 76 | awesome ablakkezelő API dokumentációja. |
e519f8ed | 77 | |
2aea91b8 | 78 | %description doc -l pl.UTF-8 |
79 | Dokumentacja API menedżera okien awesome. | |
e519f8ed | 80 | |
ab20464d ZU |
81 | %package example-config |
82 | Summary: Example config for awesome window manager | |
83 | Summary(hu.UTF-8): Egy alap/példa konfig az awesome ablakkezelőhöz | |
84 | Group: X11/Window Managers | |
85 | Requires: awesome-plugin-awful | |
86 | Requires: awesome-plugin-beautiful | |
87 | Requires: awesome-plugin-tabulous | |
88 | ||
89 | %description example-config | |
90 | Example config for awesome window manager. If you never used before | |
91 | awesome 3.x window manager, it can be a good starting point. | |
92 | ||
93 | %description example-config -l hu.UTF-8 | |
94 | Egy alap/példa konfig az awesome ablakkezelőhöz. Ha még sose | |
95 | használtál awesome 3.x ablakkezelőt, jó kiindulópont lehet. | |
96 | ||
ab20464d ZU |
97 | %package plugin-awful |
98 | Summary: awful plugin for awesome window manager | |
99 | Summary(hu.UTF-8): awful plugin az awesome ablakkezelőhöz | |
100 | Group: X11/Window Managers | |
101 | ||
102 | %description plugin-awful | |
103 | AWesome Functions very UsefuL: awful plugin for awesome window manager | |
104 | ||
105 | %description plugin-awful -l hu.UTF-8 | |
106 | AWesome Functions very UsefuL: awful plugin az awesome ablakkezelőhöz | |
107 | ||
ab20464d ZU |
108 | %package plugin-beautiful |
109 | Summary: theme library for awesome window manager | |
110 | Summary(hu.UTF-8): theme könyvtár az awesome ablakkezelőhöz | |
111 | Group: X11/Window Managers | |
e728b82d | 112 | Suggests: WallpaperChanger |
ab20464d ZU |
113 | |
114 | %description plugin-beautiful | |
115 | Theme library for awesome window manager | |
116 | ||
117 | %description plugin-beautiful | |
118 | Theme könyvtár az awesome ablakkezelőhöz | |
119 | ||
f4579953 ZU |
120 | %package plugin-invaders |
121 | Summary: Awesome Invaders game | |
122 | Summary(hu.UTF-8): Awesome Invaders játék | |
123 | Group: X11/Window Managers | |
124 | Requires: %{name}-plugin-awful | |
125 | Requires: %{name}-plugin-beautiful | |
126 | Requires: ImageMagick | |
127 | ||
128 | %description plugin-invaders | |
129 | Awesome Invaders is, as the name says, an implementation of Space | |
130 | Invaders using Awesome 3's Lua interface. | |
131 | ||
132 | %description plugin-invaders -l hu.UTF-8 | |
133 | Awesome Invaders, ahogy a neve is mutatja, a Space Invaders | |
134 | megvalósítása az awesome 3 lua interfészét használva. | |
135 | ||
f4579953 ZU |
136 | %package plugin-naughty |
137 | Summary: Naughty is a lua library that implements popup notifications for awesome3 | |
138 | Summary(hu.UTF-8): Naughty egy lua-könyvtár, amely felugró értesítéseket tesz lehetővé awesome3-ban | |
139 | Group: X11/Window Managers | |
140 | Requires: %{name}-plugin-awful | |
141 | Requires: %{name}-plugin-beautiful | |
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 | ||
f4579953 ZU |
151 | %package plugin-revelation |
152 | Summary: Revelation brings up a view of all your open clients | |
153 | Summary(hu.UTF-8): Revelation egy nézetet hoz létre az összes megnyitott kliensről | |
154 | Group: X11/Window Managers | |
155 | ||
156 | %description plugin-revelation | |
157 | Revelation brings up a view of all your open clients; left-clicking a | |
158 | client pops to the first tag that client is visible on and | |
159 | raises/focuses the client. In addition, the Enter key pops to the | |
160 | currently focused client, and Escape aborts. | |
161 | ||
162 | %description plugin-revelation -l hu.UTF-8 | |
163 | Revelation egy nézetet hoz létre az összes megnyitott kliensről; egy | |
164 | kliensre bal gombbal kattintva az első olyan cimkére ugorhatsz, ahol a | |
165 | kliens látható, és fókuszba hozza a klienst. Az Enter billentyűre a | |
166 | fókuszban levő kliensre ugrik, és az Escape billentyűvel megszakítható | |
167 | a művelet. | |
168 | ||
ab20464d ZU |
169 | %package plugin-tabulous |
170 | Summary: Fabulous tabs for awesome | |
171 | Summary(hu.UTF-8): Tab-ok awesome-hoz | |
172 | Group: X11/Window Managers | |
173 | ||
174 | %description plugin-tabulous | |
175 | Fabulous tabs for awesome | |
176 | ||
177 | %description plugin-tabulous -l hu.UTF-8 | |
178 | Tab-ok awesome-hoz | |
179 | ||
e66c95bd | 180 | %prep |
e4a5b042 | 181 | %setup -q |
e66c95bd ZU |
182 | %patch0 -p1 |
183 | ||
184 | %build | |
a043f8d3 ER |
185 | %cmake \ |
186 | -DLUA_INC_DIR=%{_includedir}/lua51 \ | |
187 | -DPREFIX=%{_prefix} \ | |
188 | -DAWESOME_DOC_PATH=%{_docdir}/%{name}-%{version} \ | |
189 | -DAWESOME_DATA_PATH=%{_datadir}/%{name} \ | |
190 | -DSYSCONFDIR=%{_sysconfdir} | |
e66c95bd ZU |
191 | %{__make} |
192 | ||
193 | %install | |
194 | rm -rf $RPM_BUILD_ROOT | |
58290601 | 195 | install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_docdir}/%{name}-doc-%{version}} |
e66c95bd ZU |
196 | |
197 | %{__make} install \ | |
198 | DESTDIR=$RPM_BUILD_ROOT | |
199 | install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop | |
58290601 | 200 | |
201 | mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/luadoc $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/luadoc | |
e66c95bd ZU |
202 | |
203 | %clean | |
204 | rm -rf $RPM_BUILD_ROOT | |
205 | ||
206 | %files | |
207 | %defattr(644,root,root,755) | |
e66c95bd ZU |
208 | %attr(755,root,root) %{_bindir}/%{name} |
209 | %attr(755,root,root) %{_bindir}/%{name}-client | |
210 | %attr(755,root,root) %{_bindir}/awsetbg | |
f4579953 ZU |
211 | %dir %{_datadir}/%{name}/lib |
212 | %{_datadir}/%{name}/lib/capi.lua | |
ab20464d ZU |
213 | %dir %{_datadir}/%{name} |
214 | %dir %{_datadir}/%{name}/icons | |
f4579953 | 215 | %dir %{_datadir}/%{name}/icons |
ab20464d | 216 | %{_datadir}/%{name}/icons |
e66c95bd ZU |
217 | %{_datadir}/xsessions/%{name}.desktop |
218 | %{_mandir}/man1/%{name}* | |
f4579953 | 219 | %{_mandir}/man1/awsetbg* |
e66c95bd | 220 | %{_mandir}/man5/%{name}* |
58290601 | 221 | %doc AUTHORS BUGS README STYLE |
e519f8ed ZU |
222 | |
223 | %files doc | |
224 | %defattr(644,root,root,755) | |
58290601 | 225 | %{_docdir}/%{name}-doc-%{version} |
ab20464d | 226 | |
ab20464d ZU |
227 | %files example-config |
228 | %defattr(644,root,root,755) | |
229 | %dir %{_sysconfdir}/xdg | |
230 | %dir %{_sysconfdir}/xdg/awesome | |
231 | %{_sysconfdir}/xdg/awesome/* | |
232 | ||
ab20464d ZU |
233 | %files plugin-awful |
234 | %defattr(644,root,root,755) | |
f4579953 ZU |
235 | %dir %{_datadir}/awesome/lib/awful |
236 | %{_datadir}/awesome/lib/awful/*.lua | |
ab20464d | 237 | |
ab20464d ZU |
238 | %files plugin-beautiful |
239 | %defattr(644,root,root,755) | |
ab20464d ZU |
240 | %dir %{_datadir}/awesome/themes/* |
241 | %{_datadir}/awesome/lib/beautiful.lua | |
242 | %{_datadir}/awesome/themes | |
243 | ||
f4579953 ZU |
244 | %files plugin-invaders |
245 | %defattr(644,root,root,755) | |
246 | %{_datadir}/awesome/lib/invaders.lua | |
247 | %dir %{_datadir}/awesome/icons/invaders | |
248 | %{_datadir}/awesome/icons/invaders/*.png | |
249 | ||
f4579953 ZU |
250 | %files plugin-naughty |
251 | %defattr(644,root,root,755) | |
252 | %{_datadir}/awesome/lib/naughty.lua | |
253 | ||
f4579953 ZU |
254 | %files plugin-revelation |
255 | %defattr(644,root,root,755) | |
256 | %{_datadir}/awesome/lib/revelation.lua | |
257 | ||
ab20464d ZU |
258 | %files plugin-tabulous |
259 | %defattr(644,root,root,755) | |
ab20464d | 260 | %{_datadir}/awesome/lib/tabulous.lua |