]> git.pld-linux.org Git - packages/WindowMaker.git/blob - WindowMaker.spec
- Remove WindowMaker-a_macro.patch whose only purpose was to break
[packages/WindowMaker.git] / WindowMaker.spec
1 %define         extraver        0.1
2
3 Summary:        NeXT-alike window manager
4 Summary(fr):    Gestionnaire de fenêtres avec le look NeXT
5 Summary(pl):    Mened¿er okien w stylu NeXT
6 Name:           WindowMaker
7 Version:        0.70.0
8 Release:        3
9 Group:          X11/Window Managers
10 Group(de):      X11/Fenstermanager
11 Group(es):      X11/Administraadores De Ventanas
12 Group(fr):      X11/Gestionnaires De Fenêtres
13 Group(pl):      X11/Zarz±dcy Okien
14 License:        GPL
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 fr
72 Window Maker est un gestionnaire de fenêtres pour X11 qui cherche à
73 reproduire l'allure et l'ergonomie ("look & feel") de l'interface
74 graphique NeXTSTEP(tm) (aka OpenStep). Il est relativement rapide,
75 évolué, et facile à configurer et à utiliser. Window Maker fait
76 officiellement partie du projet GNU, ce qui signifie que Window Maker
77 peut coopérer avec d'autres projets GNU, comme par exemple GNOME.
78
79 Window Maker permet de changer de thèmes facilement, de placer ses
80 applications favorites soit sur un "dock" similaire au programme Wharf
81 de AfterStep, soit sur un dock intégré à l'espace de travail, appelé
82 "clip" (trombone), et qui permet d'étendre les possibilités du dock
83 principal.
84
85 Vous devriez installer ce package si votre gestionnaire de fenêtres
86 est Window Maker, ou si vous voulez l'essayer. Si vous installez le
87 package Window Maker, vous voudrez peut-être installer aussi le
88 package AfterStep-APPS, qui contient des "applets" (petites
89 applications) qui fonctionnent à la fois dans les gestionnaires de
90 fenêtres AfterStep et Window Maker.
91
92 %description -l pl
93 WindowMaker jest mened¿erem okien przypominaj±cym wygl±dem i wygod±
94 obs³ugi interfejs systemu NeXTSTEP(tm). Jest szybki, stosunkowo ma³y,
95 o du¿ych mo¿liwo¶ciach i ³atwy w konfiguracji. Konfiguruje siê go
96 myszk±, za pomoc± programu WPrefs wchodz±cego w sk³ad tego pakietu.
97
98 %package libs
99 Summary:        WindowMaker shared libraries
100 Summary(pl):    Biblioteki wspó³dzielone WindowMakera
101 Group:          Libraries
102 Group(de):      Libraries
103 Group(es):      Bibliotecas
104 Group(fr):      Librairies
105 Group(pl):      Biblioteki
106 Group(pt_BR):   Bibliotecas
107 Group(ru):      âÉÂÌÉÏÔÅËÉ
108 Group(uk):      â¦Â̦ÏÔÅËÉ
109
110 %description libs
111 This package contains shared libraries for run WindowMaker.
112
113 %description libs -l pl
114 Ten pakiet zawiera biblioteki wspó³dzielone niezbêdne do pracy
115 mened¿era okien WindowMaker.
116
117 %package devel
118 Summary:        WindowMaker libraries - development part
119 Summary(fr):    Librairies de WindowMaker
120 Summary(pl):    Biblioteki WindowMakera - czê¶æ dla programistów
121 Group:          Development/Libraries
122 Group(de):      Entwicklung/Libraries
123 Group(es):      Desarrollo/Bibliotecas
124 Group(fr):      Development/Librairies
125 Group(pl):      Programowanie/Biblioteki
126 Group(pt_BR):   Desenvolvimento/Bibliotecas
127 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
128 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
129 Requires:       %{name}-libs = %{version}
130
131 %description devel
132 This package contains libraries for building WindowMaker-enhanced
133 applications.
134
135 %description devel -l fr
136 Ce paquet contient des librairies pour faire des applications mise en
137 valeur par WindowMaker.
138
139 %description devel -l pl
140 Ten pakiet zawiera pliki nag³ówkowe i biblioteki niezbêdne do
141 tworzenia aplikacji wykorzystuj±cych mo¿liwo¶ci mened¿era okien
142 WindowMaker.
143
144 %package static
145 Summary:        WindowMaker static libraries
146 Summary(pl):    Biblioteki statyczne WindowMakera
147 Group:          Development/Libraries
148 Group(de):      Entwicklung/Libraries
149 Group(es):      Desarrollo/Bibliotecas
150 Group(fr):      Development/Librairies
151 Group(pl):      Programowanie/Biblioteki
152 Group(pt_BR):   Desenvolvimento/Bibliotecas
153 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
154 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
155 Requires:       %{name}-devel = %{version}
156
157 %description static
158 This package contains static libraries for building
159 WindowMaker-enhanced applications.
160
161 %description static -l pl
162 Ten pakiet zawiera statyczne biblioteki niezbêdne do tworzenia
163 aplikacji wykorzystuj±cych mo¿liwo¶ci menad¿era okien WindowMaker.
164
165 %prep
166 %setup -q -a 1 -a 2
167 %patch0 -p1
168 %patch1 -p0
169 %patch2 -p1
170 %patch3 -p1
171 %patch4 -p1
172 %patch5 -p1
173 %patch6 -p1
174 %patch7 -p1
175 %patch8 -p1
176
177 for f in WindowMaker/*menu*; do
178     sed s,/usr/local/GNUstep/,/usr/X11R6/lib/GNUstep/, $f >$f.new
179     mv $f.new $f
180 done
181
182 %build
183 libtoolize --copy --force
184 aclocal
185 autoconf
186 automake -a -c
187 (cd %{name}-extra-%{extraver}
188 libtoolize --copy --force
189 aclocal
190 autoconf
191 automake -a -c)
192
193 LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
194          se sk tr zh_CN zh_TW.Big5" ; export LINGUAS
195 CPP_PATH="/lib/cpp" ; export CPP_PATH
196
197 %configure \
198         --with-nlsdir=%{_datadir}/locale \
199         --with-appspath=%{_libdir}/GNUstep/Apps \
200         --enable-sound \
201         --enable-gnome \
202         --disable-debug \
203         --enable-kde \
204         --enable-shared \
205         --enable-static \
206         --enable-usermenu
207
208 touch WindowMaker/Defaults/W*.in
209
210 %{__make} \
211         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
212                 se sk tr zh_CN zh_TW.Big5" \
213         CFLAGS="%{rpmcflags}" \
214         LDFLAGS="%{rpmldflags}"
215
216 autoconf
217 cd %{name}-extra-%{extraver}
218 %configure \
219         --with-nlsdir=%{_datadir}/locale \
220         --with-iconsdir=%{_datadir}/pixmaps
221
222 %install
223 rm -rf $RPM_BUILD_ROOT
224 install -d $RPM_BUILD_ROOT{%{_datadir}/pixmaps,%{_wmpropsdir}} \
225         $RPM_BUILD_ROOT/etc/sysconfig/wmstyle
226
227 %{__make} install \
228         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
229                 se sk tr zh_CN zh_TW.Big5" \
230         DESTDIR=$RPM_BUILD_ROOT 
231
232 install util/bughint $RPM_BUILD_ROOT%{_bindir}
233
234 install contrib/dockit   $RPM_BUILD_ROOT%{_bindir}
235 install contrib/dockit.1 $RPM_BUILD_ROOT%{_mandir}/man1
236
237 install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_datadir}/pixmaps
238 install %{SOURCE3} $RPM_BUILD_ROOT%{_wmpropsdir}
239
240 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
241 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
242
243 (cd %{name}-extra-%{extraver};
244 %{__make} DESTDIR=$RPM_BUILD_ROOT install )
245
246 gzip -9nf AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
247
248 %find_lang %{name} --all-name
249
250 %post   libs -p /sbin/ldconfig
251 %postun libs -p /sbin/ldconfig
252
253 %clean
254 rm -rf $RPM_BUILD_ROOT
255
256 %files -f %{name}.lang
257 %defattr(644,root,root,755)
258 %doc *.gz
259
260 %dir %{_sysconfdir}/WindowMaker
261 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/*
262
263 %attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
264 /etc/sysconfig/wmstyle/*.names
265
266 %{_mandir}/man1/*
267
268 %{_pixmapsdir}/*
269 %{_wmpropsdir}/WindowMaker.desktop
270
271 %attr(755,root,root) %{_bindir}/bughint
272 %attr(755,root,root) %{_bindir}/geticonset
273 %attr(755,root,root) %{_bindir}/getstyle
274 %attr(755,root,root) %{_bindir}/seticons
275 %attr(755,root,root) %{_bindir}/setstyle
276 %attr(755,root,root) %{_bindir}/wdwrite
277 %attr(755,root,root) %{_bindir}/wdread
278 %attr(755,root,root) %{_bindir}/wkdemenu.pl
279 %attr(755,root,root) %{_bindir}/wm-oldmenu2new
280 %attr(755,root,root) %{_bindir}/wmagnify
281 %attr(755,root,root) %{_bindir}/wmaker
282 %attr(755,root,root) %{_bindir}/wmaker.inst
283 %attr(755,root,root) %{_bindir}/wmsetbg
284 %attr(755,root,root) %{_bindir}/wmchlocale
285 %attr(755,root,root) %{_bindir}/wsetfont
286 %attr(755,root,root) %{_bindir}/wxcopy
287 %attr(755,root,root) %{_bindir}/wxpaste
288 %attr(755,root,root) %{_bindir}/dockit
289
290 %{_datadir}/WindowMaker
291
292 %dir %{_libdir}/GNUstep
293 %dir %{_libdir}/GNUstep/Apps
294 %dir %{_libdir}/GNUstep/Apps/WPrefs.app
295
296 %attr(755,root,root) %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs
297
298 %{_libdir}/GNUstep/Apps/WPrefs.app/tiff
299 %{_libdir}/GNUstep/Apps/WPrefs.app/xpm
300 %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs.tiff
301 %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs.xpm
302
303 %files libs
304 %defattr(644,root,root,755)
305 %attr(755,root,root) %{_bindir}/get-wings-flags
306 %attr(755,root,root) %{_bindir}/get-wraster-flags
307 %attr(755,root,root) %{_bindir}/get-wutil-flags
308 %attr(755,root,root) %{_libdir}/lib*.so.*.*
309 %{_datadir}/WINGs
310
311 %files devel
312 %defattr(644,root,root,755)
313 %attr(755,root,root) %{_libdir}/lib*.so
314 %attr(755,root,root) %{_bindir}/get-wraster-flags
315 %{_includedir}/*
316 %{_libdir}/lib*.la
317
318 %files static
319 %defattr(644,root,root,755)
320 %{_libdir}/lib*.a
This page took 0.344115 seconds and 4 git commands to generate.