]>
Commit | Line | Data |
---|---|---|
1 | %define extraver 0.1 | |
2 | ||
3 | Summary: NeXT-alike window manager | |
4 | Summary(es.UTF-8): Administrador de Ventanas parecido con el NeXT | |
5 | Summary(fr.UTF-8): Gestionnaire de fenêtres avec le look NeXT | |
6 | Summary(pl.UTF-8): Zarządca okien w stylu NeXT | |
7 | Summary(pt_BR.UTF-8): Gerente de Janelas parecido com o NeXT | |
8 | Summary(ru.UTF-8): WindowMaker - оконный менеджер для X11 | |
9 | Summary(uk.UTF-8): WindowMaker - віконний менеджер для X11 | |
10 | Name: WindowMaker | |
11 | Version: 0.92.0 | |
12 | Release: 9 | |
13 | License: GPL | |
14 | Group: X11/Window Managers | |
15 | Source0: ftp://windowmaker.info/pub/source/release/%{name}-%{version}.tar.gz | |
16 | # Source0-md5: 678cb4a9b22a557cfb524dc3cb457c08 | |
17 | Source1: %{name}-data.tar.gz | |
18 | # Source1-md5: 6ea0c37314ea9e9ab27e8bdf45a31a82 | |
19 | Source2: ftp://windowmaker.info/pub/source/release/%{name}-extra-%{extraver}.tar.gz | |
20 | # Source2-md5: 07c7700daaaf232bc490f5abaabef085 | |
21 | Source3: %{name}.desktop | |
22 | Source6: %{name}-xsession.desktop | |
23 | Patch0: %{name}-cvs.patch | |
24 | Patch1: %{name}-pl.po-update.patch | |
25 | Patch2: %{name}-CFLAGS.patch | |
26 | Patch3: %{name}-vfmg.patch | |
27 | Patch4: %{name}-shared.patch | |
28 | Patch5: %{name}-IconPosition.patch | |
29 | Patch6: %{name}-singleclick.patch | |
30 | Patch7: %{name}-plmenu.patch | |
31 | Patch8: %{name}-dockit.patch | |
32 | Patch9: http://www.heily.com/mark/code_samples/appicon_captions_maxprotect.diff | |
33 | Patch10: %{name}-localenames.patch | |
34 | Patch11: %{name}-0.91.0-translucency-1.patch | |
35 | Patch12: %{name}-gnustep.patch | |
36 | Patch13: %{name}-wine.patch | |
37 | URL: http://www.windowmaker.info/ | |
38 | BuildRequires: autoconf | |
39 | BuildRequires: automake | |
40 | BuildRequires: gettext-devel | |
41 | BuildRequires: giflib-devel | |
42 | BuildRequires: libjpeg-devel >= 6b | |
43 | BuildRequires: libpng-devel >= 1.0.8 | |
44 | BuildRequires: libtiff-devel | |
45 | BuildRequires: libtool >= 1:1.4.2-9 | |
46 | BuildRequires: perl-base | |
47 | BuildRequires: xorg-lib-libXext-devel | |
48 | BuildRequires: xorg-lib-libXft-devel | |
49 | BuildRequires: xorg-lib-libXpm-devel | |
50 | Requires: %{name}-libs = %{version}-%{release} | |
51 | Requires: cpp >= 6:4.0.0 | |
52 | Requires: gnustep-dirs | |
53 | Requires: tk | |
54 | Requires: vfmg >= 0.9.95 | |
55 | Provides: WallpaperChanger | |
56 | Conflicts: filesystem < 3.0-20 | |
57 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
58 | ||
59 | %define _sysconfdir /etc/X11 | |
60 | %define _wmpropsdir /usr/share/gnome/wm-properties | |
61 | ||
62 | %description | |
63 | Window Maker is an X11 window manager which emulates the look and feel | |
64 | of the NeXTSTEP (TM) graphical user interface. It is relatively fast, | |
65 | feature rich and easy to configure and use. Window Maker is part of | |
66 | the official GNU project, which means that Window Maker can | |
67 | interoperate with other GNU projects, such as GNOME. | |
68 | ||
69 | Window Maker allows users to switch themes 'on the fly,' to place | |
70 | favorite applications on either an application dock, similar to | |
71 | AfterStep's Wharf or on a workspace dock, a 'clip' which extends the | |
72 | application dock's usefulness. | |
73 | ||
74 | You should install the WindowMaker package if you use Window Maker as | |
75 | your window manager or if you'd like to try using it. If you do | |
76 | install the WindowMaker package, you may also want to install the | |
77 | AfterStep-APPS package, which includes applets that will work with | |
78 | both AfterStep and Window Maker window managers. | |
79 | ||
80 | %description -l es.UTF-8 | |
81 | WindowMaker es un administrador de ventanas proyectado para emular la | |
82 | apariencia de parte de la interface de usuario del NEXTSTEP(tm). Se | |
83 | hizo para ser rápido, relativamente pequeño, rico en características y | |
84 | de configuración fácil, con una apariencia sencilla y elegante | |
85 | prestada del NEXTSTEP(tm). | |
86 | ||
87 | %description -l fr.UTF-8 | |
88 | Window Maker est un gestionnaire de fenêtres pour X11 qui cherche à | |
89 | reproduire l'allure et l'ergonomie ("look & feel") de l'interface | |
90 | graphique NeXTSTEP(tm) (aka OpenStep). Il est relativement rapide, | |
91 | évolué, et facile à configurer et à utiliser. Window Maker fait | |
92 | officiellement partie du projet GNU, ce qui signifie que Window Maker | |
93 | peut coopérer avec d'autres projets GNU, comme par exemple GNOME. | |
94 | ||
95 | Window Maker permet de changer de thèmes facilement, de placer ses | |
96 | applications favorites soit sur un "dock" similaire au programme Wharf | |
97 | de AfterStep, soit sur un dock intégré à l'espace de travail, appelé | |
98 | "clip" (trombone), et qui permet d'étendre les possibilités du dock | |
99 | principal. | |
100 | ||
101 | Vous devriez installer ce package si votre gestionnaire de fenêtres | |
102 | est Window Maker, ou si vous voulez l'essayer. Si vous installez le | |
103 | package Window Maker, vous voudrez peut-être installer aussi le | |
104 | package AfterStep-APPS, qui contient des "applets" (petites | |
105 | applications) qui fonctionnent à la fois dans les gestionnaires de | |
106 | fenêtres AfterStep et Window Maker. | |
107 | ||
108 | %description -l pl.UTF-8 | |
109 | WindowMaker jest zarządcą okien przypominającym wyglądem i wygodą | |
110 | obsługi interfejs systemu NeXTSTEP(tm). Jest szybki, stosunkowo mały, | |
111 | o dużych możliwościach i łatwy w konfiguracji. Konfiguruje się go | |
112 | myszką, za pomocą programu WPrefs wchodzącego w skład tego pakietu. | |
113 | ||
114 | %description -l pt_BR.UTF-8 | |
115 | WindowMaker é um gerente de janelas projetado para emular a aparência | |
116 | de parte da interface de usuário do NEXTSTEP(tm). Feito para ser | |
117 | rápido, relativamente pequeno, rico em características e de | |
118 | configuração fácil, com uma aparência simples e elegante emprestada do | |
119 | NEXTSTEP(tm). | |
120 | ||
121 | %description -l ru.UTF-8 | |
122 | WindowMaker - это оконный менеджер, эмулирующий часть экранной среды | |
123 | NEXTSTEP(tm). Подразумевается что он относительно невелик, быстр, | |
124 | богат возможностями, легко настраивается и имеет простую и элегантную | |
125 | внешность, позаимствованную у NEXTSTEP(tm). | |
126 | ||
127 | %description -l uk.UTF-8 | |
128 | WindowMaker - це віконний менеджер, що емулює інтерфейс екранного | |
129 | середовища NEXTSTEP(tm). Його вважають відносно невеликим, швидким, | |
130 | багатим можливостями, легким для налагодження; він має просту та | |
131 | елегантну зовнішність, запозичену в NEXTSTEP(tm). | |
132 | ||
133 | %package libs | |
134 | Summary: WindowMaker shared libraries | |
135 | Summary(pl.UTF-8): Biblioteki współdzielone WindowMakera | |
136 | Group: Libraries | |
137 | Obsoletes: libwraster2 | |
138 | ||
139 | %description libs | |
140 | This package contains shared libraries for run WindowMaker. | |
141 | ||
142 | %description libs -l pl.UTF-8 | |
143 | Ten pakiet zawiera biblioteki współdzielone niezbędne do pracy | |
144 | zarządcy okien WindowMaker. | |
145 | ||
146 | %package devel | |
147 | Summary: WindowMaker libraries - development part | |
148 | Summary(es.UTF-8): Bibliotecas y archivos de inclusión para WindowMaker | |
149 | Summary(fr.UTF-8): Librairies de WindowMaker | |
150 | Summary(pl.UTF-8): Biblioteki WindowMakera - część dla programistów | |
151 | Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para o WindowMaker | |
152 | Summary(ru.UTF-8): Библиотеки поддержки и .h файлы для WindowMaker | |
153 | Summary(uk.UTF-8): Бібліотеки підтримки та .h файли для WindowMaker | |
154 | Group: Development/Libraries | |
155 | Requires: %{name}-libs = %{version}-%{release} | |
156 | Requires: xorg-lib-libXext-devel | |
157 | Requires: xorg-lib-libXft-devel | |
158 | Requires: xorg-lib-libXpm-devel | |
159 | Obsoletes: libwraster2-devel | |
160 | ||
161 | %description devel | |
162 | This package contains libraries for building WindowMaker-enhanced | |
163 | applications. | |
164 | ||
165 | %description devel -l es.UTF-8 | |
166 | Bibliotecas, archivos de inclusión, e etc. para desarrollar | |
167 | aplicaciones WindowMaker | |
168 | ||
169 | %description devel -l fr.UTF-8 | |
170 | Ce paquet contient des librairies pour faire des applications mise en | |
171 | valeur par WindowMaker. | |
172 | ||
173 | %description devel -l pl.UTF-8 | |
174 | Ten pakiet zawiera pliki nagłówkowe i biblioteki niezbędne do | |
175 | tworzenia aplikacji wykorzystujących możliwości zarządcy okien | |
176 | WindowMaker. | |
177 | ||
178 | %description devel -l pt_BR.UTF-8 | |
179 | Arquivos de inclusão e bibliotecas para o desenvolvimento de programas | |
180 | baseados no WindowMaker | |
181 | ||
182 | %description devel -l ru.UTF-8 | |
183 | Этот пакет содержит библиотеки и .h файлы, предназначенные для сборки | |
184 | приложений, использующих возможности WindowMaker. | |
185 | ||
186 | %description devel -l uk.UTF-8 | |
187 | Цей пакет містить бібліотеки та .h файли, призначені для прикладних | |
188 | програм, що використовують можливості WindowMaker. | |
189 | ||
190 | %package static | |
191 | Summary: WindowMaker static libraries | |
192 | Summary(pl.UTF-8): Biblioteki statyczne WindowMakera | |
193 | Summary(pt_BR.UTF-8): Componentes estáticos de desenvolvimento para o WindowMaker | |
194 | Summary(ru.UTF-8): Статические библиотеки поддержки для WindowMaker | |
195 | Summary(uk.UTF-8): Статичні бібліотеки підтримки для WindowMaker | |
196 | Group: Development/Libraries | |
197 | Requires: %{name}-devel = %{version}-%{release} | |
198 | ||
199 | %description static | |
200 | This package contains static libraries for building | |
201 | WindowMaker-enhanced applications. | |
202 | ||
203 | %description static -l pl.UTF-8 | |
204 | Ten pakiet zawiera statyczne biblioteki do tworzenia aplikacji | |
205 | wykorzystujących możliwości zarządcy okien WindowMaker. | |
206 | ||
207 | %description static -l pt_BR.UTF-8 | |
208 | Instale este pacote se você deseja desenvolver para o WindowMaker, | |
209 | utilizando componentes estáticos (raramente necessário). | |
210 | ||
211 | %description static -l ru.UTF-8 | |
212 | Этот пакет содержит статические библиотеки предназначенные для сборки | |
213 | приложений, использующих возможности WindowMaker. | |
214 | ||
215 | %description static -l uk.UTF-8 | |
216 | Цей пакет містить статичні бібліотеки, призначені для прикладних | |
217 | програм, що використовують можливості WindowMaker. | |
218 | ||
219 | %prep | |
220 | %setup -q -a 1 -a 2 | |
221 | %patch0 -p1 | |
222 | %patch1 -p1 | |
223 | %patch2 -p1 | |
224 | %patch3 -p1 | |
225 | %patch4 -p1 | |
226 | %patch5 -p1 | |
227 | %patch6 -p1 | |
228 | %patch7 -p1 | |
229 | %patch8 -p1 | |
230 | %patch9 -p1 | |
231 | %patch10 -p1 | |
232 | %patch11 -p1 | |
233 | %patch12 -p0 | |
234 | %patch13 -p1 | |
235 | ||
236 | for f in WindowMaker/*menu*; do | |
237 | sed -i s,/usr/lib/GNUstep/,%{_libdir}/GNUstep/, $f | |
238 | sed -i s,/usr/local/GNUstep/,%{_libdir}/GNUstep/, $f | |
239 | done | |
240 | ||
241 | mv -f po/{no,nb}.po | |
242 | ||
243 | %build | |
244 | #%ifarch %{x8664} | |
245 | # hack, should be obsolete - needs check | |
246 | #export ac_cv_c_inline_asm=no | |
247 | #%endif | |
248 | %{__libtoolize} | |
249 | %{__aclocal} | |
250 | %{__autoheader} | |
251 | %{__automake} | |
252 | %{__autoconf} | |
253 | cd %{name}-extra-%{extraver} | |
254 | %{__libtoolize} | |
255 | %{__aclocal} | |
256 | %{__autoconf} | |
257 | %{__automake} | |
258 | cd .. | |
259 | ||
260 | %{__perl} -pi -e 's/defaultAppIcon.#extension#;SharedAppIcon = Yes;/defaultAppIcon.#extension#;/' \ | |
261 | WindowMaker/Defaults/WMWindowAttributes.in | |
262 | ||
263 | %configure \ | |
264 | CPP_PATH="/lib/cpp" \ | |
265 | LINGUAS="bg cs da de el es et fi fr gl hr hu it ja ko ms nb nl pl pt ro ru \ | |
266 | sk sv tr zh_CN zh_TW" \ | |
267 | --disable-debug \ | |
268 | --disable-rpath \ | |
269 | --enable-shared \ | |
270 | --enable-static \ | |
271 | --enable-usermenu \ | |
272 | --with-appspath=%{_libdir}/GNUstep/Apps \ | |
273 | --with-nlsdir=%{_datadir}/locale \ | |
274 | --with-gnustepdir=%{_libdir}/GNUstep \ | |
275 | --enable-sound \ | |
276 | --enable-gnome \ | |
277 | --enable-kde | |
278 | ||
279 | touch WindowMaker/Defaults/W*.in | |
280 | ||
281 | %{__make} \ | |
282 | CFLAGS="%{rpmcflags}" \ | |
283 | LDFLAGS="%{rpmldflags}" | |
284 | ||
285 | %{__autoconf} | |
286 | cd %{name}-extra-%{extraver} | |
287 | %configure \ | |
288 | --with-nlsdir=%{_datadir}/locale \ | |
289 | --with-iconsdir=%{_pixmapsdir} | |
290 | ||
291 | %install | |
292 | rm -rf $RPM_BUILD_ROOT | |
293 | install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_pixmapsdir},%{_wmpropsdir}} \ | |
294 | $RPM_BUILD_ROOT/etc/sysconfig/wmstyle \ | |
295 | $RPM_BUILD_ROOT%{_datadir}/WindowMaker/{Sounds,SoundSets} | |
296 | ||
297 | %{__make} install \ | |
298 | DESTDIR=$RPM_BUILD_ROOT | |
299 | ||
300 | install util/bughint $RPM_BUILD_ROOT%{_bindir} | |
301 | ||
302 | install contrib/dockit $RPM_BUILD_ROOT%{_bindir} | |
303 | install contrib/dockit.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
304 | ||
305 | install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_pixmapsdir} | |
306 | install %{SOURCE3} $RPM_BUILD_ROOT%{_wmpropsdir} | |
307 | ||
308 | install %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/xsessions/WindowMaker.desktop | |
309 | ||
310 | %{__make} -C %{name}-extra-%{extraver} install \ | |
311 | DESTDIR=$RPM_BUILD_ROOT | |
312 | ||
313 | %find_lang %{name} --all-name | |
314 | ||
315 | %clean | |
316 | rm -rf $RPM_BUILD_ROOT | |
317 | ||
318 | %post libs -p /sbin/ldconfig | |
319 | %postun libs -p /sbin/ldconfig | |
320 | ||
321 | %files -f %{name}.lang | |
322 | %defattr(644,root,root,755) | |
323 | %doc AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README | |
324 | ||
325 | %dir %{_sysconfdir}/WindowMaker | |
326 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/WindowMaker/* | |
327 | ||
328 | %{_mandir}/man1/* | |
329 | %lang(sk) %{_mandir}/sk/man1/* | |
330 | ||
331 | %{_pixmapsdir}/* | |
332 | %{_wmpropsdir}/WindowMaker.desktop | |
333 | ||
334 | %attr(755,root,root) %{_bindir}/convertfonts | |
335 | %attr(755,root,root) %{_bindir}/bughint | |
336 | %attr(755,root,root) %{_bindir}/geticonset | |
337 | %attr(755,root,root) %{_bindir}/getstyle | |
338 | %attr(755,root,root) %{_bindir}/seticons | |
339 | %attr(755,root,root) %{_bindir}/setstyle | |
340 | %attr(755,root,root) %{_bindir}/wdwrite | |
341 | %attr(755,root,root) %{_bindir}/wdread | |
342 | %attr(755,root,root) %{_bindir}/wkdemenu.pl | |
343 | %attr(755,root,root) %{_bindir}/wm-oldmenu2new | |
344 | %attr(755,root,root) %{_bindir}/wmagnify | |
345 | %attr(755,root,root) %{_bindir}/wmaker | |
346 | %attr(755,root,root) %{_bindir}/wmaker.inst | |
347 | %attr(755,root,root) %{_bindir}/wmsetbg | |
348 | %attr(755,root,root) %{_bindir}/wmsetup | |
349 | %attr(755,root,root) %{_bindir}/wxcopy | |
350 | %attr(755,root,root) %{_bindir}/wxpaste | |
351 | %attr(755,root,root) %{_bindir}/dockit | |
352 | ||
353 | %{_datadir}/WindowMaker | |
354 | %{_datadir}/xsessions/WindowMaker.desktop | |
355 | ||
356 | # the first one is shared with gnustep-make... | |
357 | %dir %{_libdir}/GNUstep/Applications | |
358 | %dir %{_libdir}/GNUstep/Applications/WPrefs.app | |
359 | ||
360 | %attr(755,root,root) %{_libdir}/GNUstep/Applications/WPrefs.app/WPrefs | |
361 | ||
362 | %{_libdir}/GNUstep/Applications/WPrefs.app/tiff | |
363 | %{_libdir}/GNUstep/Applications/WPrefs.app/xpm | |
364 | %{_libdir}/GNUstep/Applications/WPrefs.app/WPrefs.tiff | |
365 | %{_libdir}/GNUstep/Applications/WPrefs.app/WPrefs.xpm | |
366 | ||
367 | %files libs | |
368 | %defattr(644,root,root,755) | |
369 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
370 | %attr(755,root,root) %ghost %{_libdir}/libExtraWINGs.so.0 | |
371 | %attr(755,root,root) %ghost %{_libdir}/libWINGs.so.0 | |
372 | %attr(755,root,root) %ghost %{_libdir}/libWMaker.so.0 | |
373 | %attr(755,root,root) %ghost %{_libdir}/libWUtil.so.0 | |
374 | %attr(755,root,root) %ghost %{_libdir}/libwraster.so.3 | |
375 | %{_datadir}/WINGs | |
376 | ||
377 | %files devel | |
378 | %defattr(644,root,root,755) | |
379 | %attr(755,root,root) %{_bindir}/get-wings-flags | |
380 | %attr(755,root,root) %{_bindir}/get-wraster-flags | |
381 | %attr(755,root,root) %{_bindir}/get-wutil-flags | |
382 | %attr(755,root,root) %{_libdir}/lib*.so | |
383 | %{_libdir}/lib*.la | |
384 | %{_includedir}/* | |
385 | %{_pkgconfigdir}/*.pc | |
386 | ||
387 | %files static | |
388 | %defattr(644,root,root,755) | |
389 | %{_libdir}/lib*.a |