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