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