]> git.pld-linux.org Git - packages/WindowMaker.git/blob - WindowMaker.spec
- release 2
[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:        2
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 perl -pi -e 's/defaultAppIcon.#extension#;SharedAppIcon = Yes;/defaultAppIcon.#extension#;/' \
242         WindowMaker/Defaults/WMWindowAttributes.in
243
244 LINGUAS="bg cs da de el es et fi fr gl hr hu it ja ko ms nl no pl pt ro ru \
245          sk sv tr zh_CN zh_TW.Big5" ; export LINGUAS
246 CPP_PATH="/lib/cpp" ; export CPP_PATH
247 %configure \
248         --disable-rpath \
249         --with-nlsdir=%{_datadir}/locale \
250         --with-appspath=%{_libdir}/GNUstep/Apps \
251         --enable-sound \
252         --enable-gnome \
253         --disable-debug \
254         --enable-kde \
255         --enable-shared \
256         --enable-static \
257         --enable-usermenu
258
259 touch WindowMaker/Defaults/W*.in
260
261 %{__make} \
262         LINGUAS="bg cs da de el es et fi fr gl hr hu it ja ko ms nl no pl pt ro ru \
263                 sk sv tr zh_CN zh_TW.Big5" \
264         CFLAGS="%{rpmcflags}" \
265         LDFLAGS="%{rpmldflags}"
266
267 %{__autoconf}
268 cd %{name}-extra-%{extraver}
269 %configure \
270         --with-nlsdir=%{_datadir}/locale \
271         --with-iconsdir=%{_datadir}/pixmaps
272
273 %install
274 rm -rf $RPM_BUILD_ROOT
275 install -d $RPM_BUILD_ROOT{%{_datadir}/pixmaps,%{_wmpropsdir}} \
276         $RPM_BUILD_ROOT/etc/sysconfig/wmstyle
277
278 %{__make} install \
279         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
280                 se sk tr zh_CN zh_TW.Big5" \
281         DESTDIR=$RPM_BUILD_ROOT
282
283 install util/bughint $RPM_BUILD_ROOT%{_bindir}
284
285 install contrib/dockit   $RPM_BUILD_ROOT%{_bindir}
286 install contrib/dockit.1 $RPM_BUILD_ROOT%{_mandir}/man1
287
288 install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_datadir}/pixmaps
289 install %{SOURCE3} $RPM_BUILD_ROOT%{_wmpropsdir}
290
291 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
292 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
293
294 cd %{name}-extra-%{extraver}
295 %{__make} DESTDIR=$RPM_BUILD_ROOT install
296 cd ..
297
298 %find_lang %{name} --all-name
299
300 %post   libs -p /sbin/ldconfig
301 %postun libs -p /sbin/ldconfig
302
303 %clean
304 rm -rf $RPM_BUILD_ROOT
305
306 %files -f %{name}.lang
307 %defattr(644,root,root,755)
308 %doc AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
309
310 %dir %{_sysconfdir}/WindowMaker
311 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/*
312
313 %attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
314 /etc/sysconfig/wmstyle/*.names
315
316 %{_mandir}/man1/*
317 %lang(sk) %{_mandir}/sk/man1/*
318
319 %{_pixmapsdir}/*
320 %{_wmpropsdir}/WindowMaker.desktop
321
322 %attr(755,root,root) %{_bindir}/bughint
323 %attr(755,root,root) %{_bindir}/geticonset
324 %attr(755,root,root) %{_bindir}/getstyle
325 %attr(755,root,root) %{_bindir}/seticons
326 %attr(755,root,root) %{_bindir}/setstyle
327 %attr(755,root,root) %{_bindir}/wcopy
328 %attr(755,root,root) %{_bindir}/wdwrite
329 %attr(755,root,root) %{_bindir}/wdread
330 %attr(755,root,root) %{_bindir}/wkdemenu.pl
331 %attr(755,root,root) %{_bindir}/wm-oldmenu2new
332 %attr(755,root,root) %{_bindir}/wmagnify
333 %attr(755,root,root) %{_bindir}/wmaker
334 %attr(755,root,root) %{_bindir}/wmaker.inst
335 %attr(755,root,root) %{_bindir}/wmsetbg
336 %attr(755,root,root) %{_bindir}/wmsetup
337 %attr(755,root,root) %{_bindir}/wmchlocale
338 %attr(755,root,root) %{_bindir}/wpaste
339 %attr(755,root,root) %{_bindir}/wsetfont
340 %attr(755,root,root) %{_bindir}/wxcopy
341 %attr(755,root,root) %{_bindir}/wxpaste
342 %attr(755,root,root) %{_bindir}/dockit
343
344 %{_datadir}/WindowMaker
345
346 %dir %{_libdir}/GNUstep
347 %dir %{_libdir}/GNUstep/Apps
348 %dir %{_libdir}/GNUstep/Apps/WPrefs.app
349
350 %attr(755,root,root) %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs
351
352 %{_libdir}/GNUstep/Apps/WPrefs.app/tiff
353 %{_libdir}/GNUstep/Apps/WPrefs.app/xpm
354 %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs.tiff
355 %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs.xpm
356
357 %files libs
358 %defattr(644,root,root,755)
359 %attr(755,root,root) %{_libdir}/lib*.so.*.*
360 %{_datadir}/WINGs
361
362 %files devel
363 %defattr(644,root,root,755)
364 %attr(755,root,root) %{_libdir}/lib*.so
365 %attr(755,root,root) %{_libdir}/lib*.la
366 %attr(755,root,root) %{_bindir}/get-wings-flags
367 %attr(755,root,root) %{_bindir}/get-wraster-flags
368 %attr(755,root,root) %{_bindir}/get-wutil-flags
369 %{_includedir}/*
370
371 %files static
372 %defattr(644,root,root,755)
373 %{_libdir}/lib*.a
This page took 0.091197 seconds and 4 git commands to generate.