]> git.pld-linux.org Git - packages/WindowMaker.git/blob - WindowMaker.spec
- cosmetics.
[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.60.0
8 Release:        2
9 Group:          X11/Window Managers
10 Group(pl):      X11/Zarz±dcy Okien
11 Copyright:      GPL
12 Source0:        ftp://ftp.windowmaker.org/pub/beta/srcs/%{name}-%{version}.tar.bz2
13 Source1:        ftp://windowmaker.org/pub/WindowMaker-data.tar.gz
14 Source2:        ftp://ftp.windowmaker.org/pub/beta/srcs/%{name}-extra-%{extraver}.tar.gz
15 Patch0:         WindowMaker-CFLAGS.patch
16 Patch1:         WindowMaker-wmconfig.patch
17 Patch2:         WindowMaker-a_macro.patch
18 Patch3:         WindowMaker-pixmaps.patch
19 Patch4:         WindowMaker-shared.patch
20 Patch5:         WindowMaker-areas.patch
21 Patch6:         WindowMaker-runinst.patch
22 Patch7:         WindowMaker-ru.po.patch
23 Patch8:         Windowmaker-WINGs.h.patch
24 URL:            http://www.windowmaker.org/
25 BuildPrereq:    libPropList-devel >= 0.8.3
26 BuildPrereq:    xpm-devel
27 BuildPrereq:    libpng-devel
28 BuildPrereq:    libjpeg-devel >= 6b
29 BuildPrereq:    libtiff-devel
30 BuildPrereq:    libungif-devel
31 BuildPrereq:    gettext
32 Requires:       wmconfig
33 Requires:       /lib/cpp
34 Requires:       %{name}-libs = %{version}
35 BuildRoot:      /tmp/%{name}-%{version}-root
36
37 %define         _prefix         /usr/X11R6
38 %define         _mandir         %{_prefix}/man
39 %define         _sysconfdir     /etc/X11
40
41 %description
42 WindowMaker is a window manager designed to emulate the look and feel of
43 part of the NEXTSTEP(tm) GUI. It's supposed to be fast, relatively small,
44 feature rich and easy to configure, with a simple and elegant appearance
45 borrowed from NEXTSTEP(tm).
46
47 %description -l fr
48 WindowMaker est un "Window Manager" conçu pour émuler l'apparence et la
49 sensation de l'interface graphique NeXTSTEP(tm). Il est suposé être rapide,
50 relativement petit, facile a configurer, extremement complet et avec
51 l'apparence simple et élégante empruntée a NeXTSTEP(tm).
52
53 %description -l pl
54 WindowMaker jest mened¿erem okien przypominaj±cy wygl±dem i wygod± obs³ugi
55 interfejs systemu NeXTSTEP(tm). Jest szybki, stosunkowo ma³y, o du¿ych
56 mo¿liwo¶ciach i ³atwy w konfiguracji. Konfiguruje siê go myszk±, za pomoc±
57 programu WPrefs wchodz±cego w sk³ad tego pakietu.
58
59 %package libs
60 Summary:        WindowMaker shared libraries
61 Summary(pl):    Biblioteki wspó³dzielone WindowMakera
62 Group:          Libraries
63 Group(pl):      Biblioteki
64
65 %description libs
66 This package contains shared libraries for run WindowMaker.
67
68 %description libs -l pl
69 Ten pakiet zawiera biblioteki wspó³dzielone niezbêdne do pracy
70 mened¿era okien WindowMaker.
71
72 %package devel
73 Summary:        WindowMaker libraries
74 Summary(fr):    Librairies de WindowMaker
75 Summary(pl):    Biblioteki WindowMakera
76 Group:          Development/Libraries
77 Group(pl):      Programowanie/Biblioteki
78 Requires:       %{name}-libs = %{version}
79
80 %description devel
81 This package contains libraries for building WindowMaker-enhanced
82 applications.
83
84 %description devel -l fr
85 Ce paquet contient des librairies pour faire des applications mise en valeur
86 par WindowMaker.
87
88 %description devel -l pl
89 Ten pakiet zawiera pliki nag³ówkowe i biblioteki niezbêdne do tworzenia
90 aplikacji wykorzystuj±cych mo¿liwo¶ci mened¿era okien WindowMaker.
91
92 %package static
93 Summary:        WindowMaker static libraries
94 Summary(pl):    Biblioteki statyczne WindowMakera
95 Group:          Development/Libraries
96 Group(pl):      Programowanie/Biblioteki
97 Requires:       %{name}-devel = %{version}
98
99 %description static
100 This package contains static libraries for building WindowMaker-enhanced
101 applications.
102
103 %description static -l pl
104 Ten pakiet zawiera statyczne biblioteki niezbêdne do tworzenia
105 aplikacji wykorzystuj±cych mo¿liwo¶ci mened¿era okien WindowMaker.
106
107 %prep
108 %setup -q -a 1 -a 2
109
110 %patch0 -p1
111 %patch1 -p0
112 %patch2 -p0
113 %patch3 -p1
114 %patch4 -p1
115 %patch5 -p1
116 %patch6 -p1
117 %patch7 -p0
118 %patch8 -p1
119
120 %build
121 autoconf
122 LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
123          se sk tr zh_CN zh_TW.Big5" ; export LINGUAS
124 CPP_PATH="/lib/cpp" ; export CPP_PATH
125
126 %configure \
127         --sysconfdir=%{_sysconfdir} \
128         --with-nlsdir=%{_datadir}/locale \
129         --enable-kanji \
130         --enable-sound \
131         --enable-gnome \
132         --disable-debug \
133         --enable-superfluous \
134         --enable-newstyle \
135         --enable-kde \
136         --enable-shared \
137         --enable-static \
138         --enable-usermenu
139
140 touch WindowMaker/Defaults/W*.in
141
142 make \
143         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
144                 se sk tr zh_CN zh_TW.Big5" \
145         CFLAGS="$RPM_OPT_FLAGS" \
146         LDFLAGS="-s" 
147
148 autoconf
149 cd %{name}-extra-%{extraver}
150 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
151 ./configure %{_target_platform} \
152         --prefix=%{_prefix} \
153         --mandir=%{_mandir} \
154         --with-nlsdir=%{_datadir}/locale \
155         --with-iconsdir=%{_datadir}/pixmaps
156
157 %install
158 rm -rf $RPM_BUILD_ROOT
159 install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
160
161 make install \
162         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
163                 se sk tr zh_CN zh_TW.Big5" \
164         DESTDIR=$RPM_BUILD_ROOT 
165
166 install util/bughint $RPM_BUILD_ROOT%{_bindir}
167
168 install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_datadir}/pixmaps
169
170 (cd %{name}-extra-%{extraver};
171 make DESTDIR=$RPM_BUILD_ROOT install )
172
173 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
174
175 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
176         AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
177
178 %find_lang %{name}
179 %find_lang WPrefs
180 cat WPrefs.lang >> %{name}.lang
181
182 %post   -p /sbin/ldconfig
183 %postun -p /sbin/ldconfig
184
185 %clean
186 rm -r $RPM_BUILD_ROOT
187
188 %files -f %{name}.lang
189 %defattr(644,root,root,755)
190 %doc AUTHORS.gz BUGFORM.gz BUGS.gz 
191 %doc ChangeLog.gz FAQ.gz NEWS.gz README.gz
192
193 %dir /etc/X11/WindowMaker
194 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/*
195
196 %{_mandir}/man1/*
197
198 %{_datadir}/pixmaps/*
199
200 %attr(755,root,root) %{_bindir}/geticonset
201 %attr(755,root,root) %{_bindir}/getstyle
202 %attr(755,root,root) %{_bindir}/seticons
203 %attr(755,root,root) %{_bindir}/setstyle
204 %attr(755,root,root) %{_bindir}/wdwrite
205 %attr(755,root,root) %{_bindir}/wkdemenu.pl
206 %attr(755,root,root) %{_bindir}/wm-oldmenu2new
207 %attr(755,root,root) %{_bindir}/wmaker
208 %attr(755,root,root) %{_bindir}/wmaker.inst
209 %attr(755,root,root) %{_bindir}/wmsetbg
210 %attr(755,root,root) %{_bindir}/wsetfont
211 %attr(755,root,root) %{_bindir}/wxcopy
212 %attr(755,root,root) %{_bindir}/wxpaste
213
214 %{_datadir}/WindowMaker
215
216 %dir %{_prefix}/GNUstep
217 %dir %{_prefix}/GNUstep/Apps
218 %dir %{_prefix}/GNUstep/Apps/WPrefs.app
219
220 %attr(755,root,root) %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs
221
222 %{_prefix}/GNUstep/Apps/WPrefs.app/tiff
223 %{_prefix}/GNUstep/Apps/WPrefs.app/xpm
224 %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.tiff
225 %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.xpm
226
227 %files libs
228 %defattr(644,root,root,755)
229 %attr(755,root,root) %{_libdir}/lib*.so.*.*
230 %{_datadir}/WINGs
231
232 %files devel
233 %defattr(644,root,root,755)
234 %attr(755,root,root) %{_libdir}/lib*.so
235 %attr(755,root,root) %{_bindir}/get-wraster-flags
236 %{_includedir}/*.h
237 %{_libdir}/lib*.la
238
239 %files static
240 %defattr(644,root,root,755)
241 %{_libdir}/lib*.a
242
243 %changelog
244 * Sat Jul 10 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
245   [0.60.0-2]
246 - aadde Windowmaker-WINGs.h.patch which fix probems compiling WM on system
247   without installed WindowMaker-devel,
248 - fix: include WPrefs .mo files.
249
250 * Fri Jun 25 1999 Piotr Czerwiñski <pius@pld.org.pl> 
251   [0.60.0-1]
252 - updated to 0.60.0,
253 - added using more rpm macros,
254 - added %{name}-ru.po.patch,
255 - added --enable-usermenu to ./configure options.
256
257 * Mon Jun 07 1999 Jan Rêkorajski <baggins@pld.org.pl>
258   [0.53.0-4]
259 - fixed --prefix
260 - added find_lang macro
261
262 * Sun May  9 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
263   [0.53.0-3]
264 - now package is FHS 2.0 compliant.
265
266 * Wed Apr 28 1999 Artur Frysiak <wiget@pld.org.pl>
267   [0.53.0-2]
268 - added WindowMaker-extra (more themes)
269 - added areas and runinst patches from RH 6.0
270
271 * Mon Apr 19 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
272   [0.52.0-1]
273 - recompiles on new rpm,
274 - more BuildPrereq (libjpg-deve, xpm-devel, libpng-devel, libtiff-devel).
275
276 * Fri Mar 12 1999 Artur Frysiak <wiget@pld.org.pl>
277   [0.51.2-1]
278 - added more locale (dk and zh_TW.Big5)
279 - removed WindowMaker-po.install.patch
280 - upgraded WindowMaker-pl.po.patch (sync with i18n CVS)
281 - added WindowMaker-pixmaps.patch (add /usr/X11/share/pixmaps to default 
282   icons/pixmaps path)
283 - added --sysconfdir=/etc/X11 to ./configure
284 - added /etc/X11/WindowMaker to %%files section
285
286 * Wed Mar  3 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
287   [0.51.0-2]
288 - removed man group from man pages.
289
290 * Tue Feb  9 1999 Micha³ Kuratczyk <kurkens@polbox.com>
291 - gzipping instead bzipping
292 - simplification in %files
293 - cosmetic changes
294
295 * Wed Feb  3 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
296   [0.50.2-1d]
297 - added stripping shared libraries,
298 - removed SONAME symlinks from main package.
299
300 * Fri Jan 15 1999 Artur Frysiak <wiget@usa.net>
301 - upgraded to 0.50.2
302 - rewrite %{name}-po.patch
303 - added icons (WindowMaker-data.tar.gz) 
304   by Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
305 - added --enable-superfluous and --enable-newstyle configure options 
306   by Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
307 - added --enable-kde configure options
308 - added more Requires
309 - added wmconfig support
310
311 * Sat Sep 26 1998 Pawe³ Gajda <pagaj@shadow.eu.org>
312   [0.20.0-1d]
313 - added --disable-shm option to configure script
314 - added patches to fix I18N stuff
315 - moved bughint script to /usr/X11R6/bin
316 - WPrefs is now back in /usr/X11R6/GNUstep
317 - built against Tornado,
318 - build from non root's account.
319
320 * Mon Sep 21 1998 Pawe³ Gajda <pagaj@shadow.eu.org>
321   [0.19.3-2]
322 - fixed problems with paths to icons, styles and WPrefs
323 - removed all patches
324 - moved WPrefs stuff to /usr/X11R6/share/GNUstep
325 - fixed I18N
326 - added Polish summary and description
327
328 * Thu Sep  8 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
329   [0.19.3-1]
330 - added -q %setup parameter,
331 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
332 - added using %%{name} and %%{version} in Source,
333 - changeded dependences to "Requires: %%{name} = %%{version}" in devel
334   subpackage,
335 - removed "rm -r %%{builddir}" - it's automatically removed if rpm is runed
336   on building with --clean,
337 - removed COPYING and INSTALL from %doc (copyright statment is in Copyright
338   field),
339 - WindowMaker is now builded from bz2 source tar,
340 - removed Packager field (this must be placed in persolan ~/.rpmrc),
341 - nls stuff moved to %{_datadir}/locale,
342 - added --disable-debug for configure,
343 - adde %lang macros for %{_datadir}/locale/*/LC_MESSAGES/* files,
344 - added WindowMaker-fix_po.patch wit fixing .po files,
345 - simplification in %files and added using %defattr macro also.
346
347 * Tue Jul 21 1998 W. Reilly Cooley <wcooley@nakedape.ml.org>
348 - updated from 16.1 to 17.2; made it use RPM_OPT_FLAGS
This page took 0.056857 seconds and 4 git commands to generate.