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