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