]> git.pld-linux.org Git - packages/WindowMaker.git/blob - WindowMaker.spec
- massive attack: no need for 755 for *.la
[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:        3
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 URL:            http://www.windowmaker.org/
35 BuildRequires:  autoconf
36 BuildRequires:  automake
37 BuildRequires:  libtool
38 BuildRequires:  gettext-devel
39 BuildRequires:  libpng >= 1.0.8
40 BuildRequires:  libjpeg-devel >= 6b
41 BuildRequires:  libtiff-devel
42 BuildRequires:  libungif-devel
43 BuildRequires:  Hermes-devel
44 BuildRequires:  XFree86-devel
45 Requires:       wmconfig >= 0.9.9-5
46 Requires:       cpp
47 Requires:       %{name}-libs = %{version}
48 Requires:       tk
49 Requires:       xinitrc >= 3.0
50 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51
52 %define         _prefix         /usr/X11R6
53 %define         _mandir         %{_prefix}/man
54 %define         _sysconfdir     /etc/X11
55 %define         _wmpropsdir     %{_datadir}/wm-properties
56
57 %description
58 Window Maker is an X11 window manager which emulates the look and feel
59 of the NeXTSTEP (TM) graphical user interface. It is relatively fast,
60 feature rich and easy to configure and use. Window Maker is part of
61 the official GNU project, which means that Window Maker can
62 interoperate with other GNU projects, such as GNOME.
63
64 Window Maker allows users to switch themes 'on the fly,' to place
65 favorite applications on either an application dock, similar to
66 AfterStep's Wharf or on a workspace dock, a 'clip' which extends the
67 application dock's usefulness.
68
69 You should install the WindowMaker package if you use Window Maker as
70 your window manager or if you'd like to try using it. If you do
71 install the WindowMaker package, you may also want to install the
72 AfterStep-APPS package, which includes applets that will work with
73 both AfterStep and Window Maker window managers.
74
75 %description -l es
76 WindowMaker es un administrador de ventanas proyectado para emular la
77 apariencia de parte de la interface de usuario del NEXTSTEP(tm). Se
78 hizo para ser rápido, relativamente pequeño, rico en características y
79 de configuración fácil, con una apariencia sencilla y elegante
80 prestada del NEXTSTEP(tm).
81
82 %description -l fr
83 Window Maker est un gestionnaire de fenêtres pour X11 qui cherche à
84 reproduire l'allure et l'ergonomie ("look & feel") de l'interface
85 graphique NeXTSTEP(tm) (aka OpenStep). Il est relativement rapide,
86 évolué, et facile à configurer et à utiliser. Window Maker fait
87 officiellement partie du projet GNU, ce qui signifie que Window Maker
88 peut coopérer avec d'autres projets GNU, comme par exemple GNOME.
89
90 Window Maker permet de changer de thèmes facilement, de placer ses
91 applications favorites soit sur un "dock" similaire au programme Wharf
92 de AfterStep, soit sur un dock intégré à l'espace de travail, appelé
93 "clip" (trombone), et qui permet d'étendre les possibilités du dock
94 principal.
95
96 Vous devriez installer ce package si votre gestionnaire de fenêtres
97 est Window Maker, ou si vous voulez l'essayer. Si vous installez le
98 package Window Maker, vous voudrez peut-être installer aussi le
99 package AfterStep-APPS, qui contient des "applets" (petites
100 applications) qui fonctionnent à la fois dans les gestionnaires de
101 fenêtres AfterStep et Window Maker.
102
103 %description -l pl
104 WindowMaker jest zarz±dc± okien przypominaj±cym wygl±dem i wygod±
105 obs³ugi interfejs systemu NeXTSTEP(tm). Jest szybki, stosunkowo ma³y,
106 o du¿ych mo¿liwo¶ciach i ³atwy w konfiguracji. Konfiguruje siê go
107 myszk±, za pomoc± programu WPrefs wchodz±cego w sk³ad tego pakietu.
108
109 %description -l pt_BR
110 WindowMaker é um gerente de janelas projetado para emular a aparência
111 de parte da interface de usuário do NEXTSTEP(tm). Feito para ser
112 rápido, relativamente pequeno, rico em características e de
113 configuração fácil, com uma aparência simples e elegante emprestada do
114 NEXTSTEP(tm).
115
116 %description -l ru
117 WindowMaker - ÜÔÏ ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ, ÜÍÕÌÉÒÕÀÝÉÊ ÞÁÓÔØ ÜËÒÁÎÎÏÊ ÓÒÅÄÙ
118 NEXTSTEP(tm). ðÏÄÒÁÚÕÍÅ×ÁÅÔÓÑ ÞÔÏ ÏΠÏÔÎÏÓÉÔÅÌØÎÏ ÎÅ×ÅÌÉË, ÂÙÓÔÒ,
119 ÂÏÇÁÔ ×ÏÚÍÏÖÎÏÓÔÑÍÉ, ÌÅÇËÏ ÎÁÓÔÒÁÉ×ÁÅÔÓÑ É ÉÍÅÅÔ ÐÒÏÓÔÕÀ É ÜÌÅÇÁÎÔÎÕÀ
120 ×ÎÅÛÎÏÓÔØ, ÐÏÚÁÉÍÓÔ×Ï×ÁÎÎÕÀ Õ NEXTSTEP(tm).
121
122 %description -l uk
123 WindowMaker - ÃŠצËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ, ÝÏ ÅÍÕÌÀ¤ ¦ÎÔÅÒÆÅÊÓ ÅËÒÁÎÎÏÇÏ
124 ÓÅÒÅÄÏ×ÉÝÁ NEXTSTEP(tm). êÏÇÏ ××ÁÖÁÀÔؠצÄÎÏÓÎÏ ÎÅ×ÅÌÉËÉÍ, Û×ÉÄËÉÍ,
125 ÂÁÇÁÔÉÍ ÍÏÖÌÉ×ÏÓÔÑÍÉ, ÌÅÇËÉÍ ÄÌÑ ÎÁÌÁÇÏÄÖÅÎÎÑ; ×¦Î ÍÁ¤ ÐÒÏÓÔÕ ÔÁ
126 ÅÌÅÇÁÎÔÎÕ ÚÏ×ΦÛΦÓÔØ, ÚÁÐÏÚÉÞÅÎÕ × NEXTSTEP(tm).
127
128 %package libs
129 Summary:        WindowMaker shared libraries
130 Summary(pl):    Biblioteki wspó³dzielone WindowMakera
131 Group:          Libraries
132 Obsoletes:      libwraster2
133
134 %description libs
135 This package contains shared libraries for run WindowMaker.
136
137 %description libs -l pl
138 Ten pakiet zawiera biblioteki wspó³dzielone niezbêdne do pracy
139 zarz±dcy okien WindowMaker.
140
141 %package devel
142 Summary:        WindowMaker libraries - development part
143 Summary(es):    Bibliotecas, archivos de inclusión, e etc. para desarrollar aplicaciones WindowMaker
144 Summary(fr):    Librairies de WindowMaker
145 Summary(pl):    Biblioteki WindowMakera - czê¶æ dla programistów
146 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o WindowMaker
147 Summary(ru):    âÉÂÌÉÏÔÅËÉ ÐÏÄÄÅÒÖËÉ É .h ÆÁÊÌÙ ÄÌÑ WindowMaker
148 Summary(uk):    â¦Â̦ÏÔÅËɠЦÄÔÒÉÍËÉ ÔÁ .h ÆÁÊÌÉ ÄÌÑ WindowMaker
149 Group:          Development/Libraries
150 Requires:       %{name}-libs = %{version}
151 Obsoletes:      libwraster2-devel
152
153 %description devel
154 This package contains libraries for building WindowMaker-enhanced
155 applications.
156
157 %description devel -l es
158 Bibliotecas, archivos de inclusión, e etc. para desarrollar
159 aplicaciones WindowMaker
160
161 %description devel -l fr
162 Ce paquet contient des librairies pour faire des applications mise en
163 valeur par WindowMaker.
164
165 %description devel -l pl
166 Ten pakiet zawiera pliki nag³ówkowe i biblioteki niezbêdne do
167 tworzenia aplikacji wykorzystuj±cych mo¿liwo¶ci zarz±dcy okien
168 WindowMaker.
169
170 %description devel -l pt_BR
171 Arquivos de inclusão e bibliotecas para o desenvolvimento de programas
172 baseados no WindowMaker
173
174 %description devel -l ru
175 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÂÉÂÌÉÏÔÅËÉ É .h ÆÁÊÌÙ, ÐÒÅÄÎÁÚÎÁÞÅÎÎÙÅ ÄÌÑ ÓÂÏÒËÉ
176 ÐÒÉÌÏÖÅÎÉÊ, ÉÓÐÏÌØÚÕÀÝÉÈ ×ÏÚÍÏÖÎÏÓÔÉ WindowMaker.
177
178 %description devel -l uk
179 ãÅÊ ÐÁËÅԠͦÓÔÉÔؠ¦Â̦ÏÔÅËÉ ÔÁ .h ÆÁÊÌÉ, ÐÒÉÚÎÁÞÅΦ ÄÌÑ ÐÒÉËÌÁÄÎÉÈ
180 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÍÏÖÌÉ×ÏÓÔ¦ WindowMaker.
181
182 %package static
183 Summary:        WindowMaker static libraries
184 Summary(pl):    Biblioteki statyczne WindowMakera
185 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÐÏÄÄÅÒÖËÉ ÄÌÑ WindowMaker
186 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËɠЦÄÔÒÉÍËÉ ÄÌÑ WindowMaker
187 Group:          Development/Libraries
188 Summary(pt_BR): Componentes estáticos de desenvolvimento para o WindowMaker
189 Requires:       %{name}-devel = %{version}
190
191 %description static
192 This package contains static libraries for building
193 WindowMaker-enhanced applications.
194
195 %description static -l pl
196 Ten pakiet zawiera statyczne biblioteki niezbêdne do tworzenia
197 aplikacji wykorzystuj±cych mo¿liwo¶ci zarz±dcy okien WindowMaker.
198
199 %description static -l pt_BR
200 Instale este pacote se você deseja desenvolver para o WindowMaker,
201 utilizando componentes estáticos (raramente necessário).
202
203 %description static -l ru
204 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÐÒÅÄÎÁÚÎÁÞÅÎÎÙÅ ÄÌÑ ÓÂÏÒËÉ
205 ÐÒÉÌÏÖÅÎÉÊ, ÉÓÐÏÌØÚÕÀÝÉÈ ×ÏÚÍÏÖÎÏÓÔÉ WindowMaker.
206
207 %description static -l uk
208 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ, ÐÒÉÚÎÁÞÅΦ ÄÌÑ ÐÒÉËÌÁÄÎÉÈ
209 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ÍÏÖÌÉ×ÏÓÔ¦ WindowMaker.
210
211 %prep
212 %setup -q -a 1 -a 2
213 %patch0 -p1
214 %patch1 -p1
215 %patch2 -p1
216 %patch3 -p1
217 %patch4 -p1
218 %patch5 -p1
219 %patch6 -p1
220 %patch7 -p1
221 %patch8 -p1
222 %patch9 -p1
223 %patch10 -p1
224 %patch11 -p1
225 %patch12 -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 %post   libs -p /sbin/ldconfig
305 %postun libs -p /sbin/ldconfig
306
307 %clean
308 rm -rf $RPM_BUILD_ROOT
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.089052 seconds and 4 git commands to generate.