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