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