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