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