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