]> git.pld-linux.org Git - packages/WindowMaker.git/blob - WindowMaker.spec
- removed two lines with define
[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:        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 Patch11:        %{name}-pl.po-update.patch
33 Patch12:        %{name}-wmchlocale-fixes.patch
34 URL:            http://www.windowmaker.org/
35 BuildRequires:  autoconf
36 BuildRequires:  automake
37 BuildRequires:  libtool
38 BuildRequires:  gettext-devel
39 BuildRequires:  libpng >= 1.0.8
40 BuildRequires:  libjpeg-devel >= 6b
41 BuildRequires:  libtiff-devel
42 BuildRequires:  libungif-devel
43 BuildRequires:  Hermes-devel
44 BuildRequires:  XFree86-devel
45 Requires:       wmconfig >= 0.9.9-5
46 Requires:       cpp
47 Requires:       %{name}-libs = %{version}
48 Requires:       tk
49 Requires:       xinitrc >= 3.0
50 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51
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 zarz±dc± 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 zarz±dcy 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 zarz±dcy 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 do tworzenia aplikacji
195 wykorzystuj±cych mo¿liwo¶ci zarz±dcy 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 %patch11 -p1
223 %patch12 -p1
224
225 for f in WindowMaker/*menu*; do
226         sed s,/usr/local/GNUstep/,/usr/X11R6/lib/GNUstep/, $f >$f.new
227         mv -f $f.new $f
228 done
229
230 %build
231 rm -f {,%{name}-extra-%{extraver}/}missing
232 %{__libtoolize}
233 %{__aclocal}
234 %{__autoconf}
235 %{__automake}
236 cd %{name}-extra-%{extraver}
237 %{__libtoolize}
238 %{__aclocal}
239 %{__autoconf}
240 %{__automake}
241 cd ..
242
243 perl -pi -e 's/defaultAppIcon.#extension#;SharedAppIcon = Yes;/defaultAppIcon.#extension#;/' \
244         WindowMaker/Defaults/WMWindowAttributes.in
245
246 LINGUAS="bg cs da de el es et fi fr gl hr hu it ja ko ms nl no pl pt ro ru \
247          sk sv tr zh_CN zh_TW.Big5" ; export LINGUAS
248 CPP_PATH="/lib/cpp" ; export CPP_PATH
249 %configure \
250         --disable-rpath \
251         --with-nlsdir=%{_datadir}/locale \
252         --with-appspath=%{_libdir}/GNUstep/Apps \
253         --enable-sound \
254         --enable-gnome \
255         --disable-debug \
256         --enable-kde \
257         --enable-shared \
258         --enable-static \
259         --enable-usermenu
260
261 touch WindowMaker/Defaults/W*.in
262
263 %{__make} \
264         LINGUAS="bg cs da de el es et fi fr gl hr hu it ja ko ms nl no pl pt ro ru \
265                 sk sv tr zh_CN zh_TW.Big5" \
266         CFLAGS="%{rpmcflags}" \
267         LDFLAGS="%{rpmldflags}"
268
269 %{__autoconf}
270 cd %{name}-extra-%{extraver}
271 %configure \
272         --with-nlsdir=%{_datadir}/locale \
273         --with-iconsdir=%{_datadir}/pixmaps
274
275 %install
276 rm -rf $RPM_BUILD_ROOT
277 install -d $RPM_BUILD_ROOT{%{_datadir}/pixmaps,%{_wmpropsdir}} \
278         $RPM_BUILD_ROOT/etc/sysconfig/wmstyle
279
280 %{__make} install \
281         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
282                 se sk tr zh_CN zh_TW.Big5" \
283         DESTDIR=$RPM_BUILD_ROOT
284
285 install util/bughint $RPM_BUILD_ROOT%{_bindir}
286
287 install contrib/dockit   $RPM_BUILD_ROOT%{_bindir}
288 install contrib/dockit.1 $RPM_BUILD_ROOT%{_mandir}/man1
289
290 install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_datadir}/pixmaps
291 install %{SOURCE3} $RPM_BUILD_ROOT%{_wmpropsdir}
292
293 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
294 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
295
296 cd %{name}-extra-%{extraver}
297 %{__make} DESTDIR=$RPM_BUILD_ROOT install
298 cd ..
299
300 %find_lang %{name} --all-name
301
302 %clean
303 rm -rf $RPM_BUILD_ROOT
304
305 %post   libs -p /sbin/ldconfig
306 %postun libs -p /sbin/ldconfig
307
308 %files -f %{name}.lang
309 %defattr(644,root,root,755)
310 %doc AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
311
312 %dir %{_sysconfdir}/WindowMaker
313 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/*
314
315 %attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
316 /etc/sysconfig/wmstyle/*.names
317
318 %{_mandir}/man1/*
319 %lang(sk) %{_mandir}/sk/man1/*
320
321 %{_pixmapsdir}/*
322 %{_wmpropsdir}/WindowMaker.desktop
323
324 %attr(755,root,root) %{_bindir}/bughint
325 %attr(755,root,root) %{_bindir}/geticonset
326 %attr(755,root,root) %{_bindir}/getstyle
327 %attr(755,root,root) %{_bindir}/seticons
328 %attr(755,root,root) %{_bindir}/setstyle
329 %attr(755,root,root) %{_bindir}/wcopy
330 %attr(755,root,root) %{_bindir}/wdwrite
331 %attr(755,root,root) %{_bindir}/wdread
332 %attr(755,root,root) %{_bindir}/wkdemenu.pl
333 %attr(755,root,root) %{_bindir}/wm-oldmenu2new
334 %attr(755,root,root) %{_bindir}/wmagnify
335 %attr(755,root,root) %{_bindir}/wmaker
336 %attr(755,root,root) %{_bindir}/wmaker.inst
337 %attr(755,root,root) %{_bindir}/wmsetbg
338 %attr(755,root,root) %{_bindir}/wmsetup
339 %attr(755,root,root) %{_bindir}/wmchlocale
340 %attr(755,root,root) %{_bindir}/wpaste
341 %attr(755,root,root) %{_bindir}/wsetfont
342 %attr(755,root,root) %{_bindir}/wxcopy
343 %attr(755,root,root) %{_bindir}/wxpaste
344 %attr(755,root,root) %{_bindir}/dockit
345
346 %{_datadir}/WindowMaker
347
348 %dir %{_libdir}/GNUstep
349 %dir %{_libdir}/GNUstep/Apps
350 %dir %{_libdir}/GNUstep/Apps/WPrefs.app
351
352 %attr(755,root,root) %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs
353
354 %{_libdir}/GNUstep/Apps/WPrefs.app/tiff
355 %{_libdir}/GNUstep/Apps/WPrefs.app/xpm
356 %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs.tiff
357 %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs.xpm
358
359 %files libs
360 %defattr(644,root,root,755)
361 %attr(755,root,root) %{_libdir}/lib*.so.*.*
362 %{_datadir}/WINGs
363
364 %files devel
365 %defattr(644,root,root,755)
366 %attr(755,root,root) %{_libdir}/lib*.so
367 %{_libdir}/lib*.la
368 %attr(755,root,root) %{_bindir}/get-wings-flags
369 %attr(755,root,root) %{_bindir}/get-wraster-flags
370 %attr(755,root,root) %{_bindir}/get-wutil-flags
371 %{_includedir}/*
372
373 %files static
374 %defattr(644,root,root,755)
375 %{_libdir}/lib*.a
This page took 0.0907 seconds and 4 git commands to generate.