]> git.pld-linux.org Git - packages/WindowMaker.git/blob - WindowMaker.spec
WindowMaker.spec enable-shm
[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-debug \
131         --enable-superfluous \
132         --enable-newstyle \
133         --enable-kde \
134         --enable-shared \
135         --enable-static \
136         --enable-usermenu
137
138 touch WindowMaker/Defaults/W*.in
139
140 make \
141         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
142                 se sk tr zh_CN zh_TW.Big5" \
143         CFLAGS="$RPM_OPT_FLAGS" \
144         LDFLAGS="-s" 
145
146 autoconf
147 cd %{name}-extra-%{extraver}
148 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
149 ./configure %{_target_platform} \
150         --prefix=%{_prefix} \
151         --mandir=%{_mandir} \
152         --with-nlsdir=%{_datadir}/locale \
153         --with-iconsdir=%{_datadir}/pixmaps
154
155 %install
156 rm -rf $RPM_BUILD_ROOT
157 install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
158
159 make install \
160         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
161                 se sk tr zh_CN zh_TW.Big5" \
162         DESTDIR=$RPM_BUILD_ROOT 
163
164 install util/bughint $RPM_BUILD_ROOT%{_bindir}
165
166 install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_datadir}/pixmaps
167
168 (cd %{name}-extra-%{extraver};
169 make DESTDIR=$RPM_BUILD_ROOT install )
170
171 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
172
173 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
174         AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
175
176 %find_lang %{name}
177
178 %post   -p /sbin/ldconfig
179 %postun -p /sbin/ldconfig
180
181 %clean
182 rm -r $RPM_BUILD_ROOT
183
184 %files -f %{name}.lang
185 %defattr(644,root,root,755)
186 %doc AUTHORS.gz BUGFORM.gz BUGS.gz 
187 %doc ChangeLog.gz FAQ.gz NEWS.gz README.gz
188
189 %dir /etc/X11/WindowMaker
190 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/*
191
192 %{_mandir}/man1/*
193
194 %{_datadir}/pixmaps/*
195
196 %attr(755,root,root) %{_bindir}/geticonset
197 %attr(755,root,root) %{_bindir}/getstyle
198 %attr(755,root,root) %{_bindir}/seticons
199 %attr(755,root,root) %{_bindir}/setstyle
200 %attr(755,root,root) %{_bindir}/wdwrite
201 %attr(755,root,root) %{_bindir}/wkdemenu.pl
202 %attr(755,root,root) %{_bindir}/wm-oldmenu2new
203 %attr(755,root,root) %{_bindir}/wmaker
204 %attr(755,root,root) %{_bindir}/wmaker.inst
205 %attr(755,root,root) %{_bindir}/wmsetbg
206 %attr(755,root,root) %{_bindir}/wsetfont
207 %attr(755,root,root) %{_bindir}/wxcopy
208 %attr(755,root,root) %{_bindir}/wxpaste
209
210 %{_datadir}/WindowMaker
211
212 %dir %{_prefix}/GNUstep
213 %dir %{_prefix}/GNUstep/Apps
214 %dir %{_prefix}/GNUstep/Apps/WPrefs.app
215
216 %attr(755,root,root) %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs
217
218 %{_prefix}/GNUstep/Apps/WPrefs.app/tiff
219 %{_prefix}/GNUstep/Apps/WPrefs.app/xpm
220 %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.tiff
221 %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.xpm
222
223 %files libs
224 %defattr(644,root,root,755)
225 %attr(755,root,root) %{_libdir}/lib*.so.*.*
226 %{_datadir}/WINGs
227
228 %files devel
229 %defattr(644,root,root,755)
230 %attr(755,root,root) %{_libdir}/lib*.so
231 %attr(755,root,root) %{_bindir}/get-wraster-flags
232 %{_includedir}/*.h
233 %{_libdir}/lib*.la
234
235 %files static
236 %defattr(644,root,root,755)
237 %{_libdir}/lib*.a
238
239 %changelog
240 * Fri Jun 25 1999 Piotr Czerwiñski <pius@pld.org.pl> 
241   [0.60.0-1]
242 - updated to 0.60.0,
243 - added using more rpm macros,
244 - added %{name}-ru.po.patch,
245 - added --enable-usermenu to ./configure options.
246
247 * Mon Jun 07 1999 Jan Rêkorajski <baggins@pld.org.pl>
248   [0.53.0-4]
249 - fixed --prefix
250 - added find_lang macro
251
252 * Sun May  9 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
253   [0.53.0-3]
254 - now package is FHS 2.0 compliant.
255
256 * Wed Apr 28 1999 Artur Frysiak <wiget@pld.org.pl>
257   [0.53.0-2]
258 - added WindowMaker-extra (more themes)
259 - added areas and runinst patches from RH 6.0
260
261 * Mon Apr 19 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
262   [0.52.0-1]
263 - recompiles on new rpm,
264 - more BuildPrereq (libjpg-deve, xpm-devel, libpng-devel, libtiff-devel).
265
266 * Fri Mar 12 1999 Artur Frysiak <wiget@pld.org.pl>
267   [0.51.2-1]
268 - added more locale (dk and zh_TW.Big5)
269 - removed WindowMaker-po.install.patch
270 - upgraded WindowMaker-pl.po.patch (sync with i18n CVS)
271 - added WindowMaker-pixmaps.patch (add /usr/X11/share/pixmaps to default 
272   icons/pixmaps path)
273 - added --sysconfdir=/etc/X11 to ./configure
274 - added /etc/X11/WindowMaker to %%files section
275
276 * Wed Mar  3 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
277   [0.51.0-2]
278 - removed man group from man pages.
279
280 * Tue Feb  9 1999 Micha³ Kuratczyk <kurkens@polbox.com>
281 - gzipping instead bzipping
282 - simplification in %files
283 - cosmetic changes
284
285 * Wed Feb  3 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
286   [0.50.2-1d]
287 - added stripping shared libraries,
288 - removed SONAME symlinks from main package.
289
290 * Fri Jan 15 1999 Artur Frysiak <wiget@usa.net>
291 - upgraded to 0.50.2
292 - rewrite %{name}-po.patch
293 - added icons (WindowMaker-data.tar.gz) 
294   by Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
295 - added --enable-superfluous and --enable-newstyle configure options 
296   by Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
297 - added --enable-kde configure options
298 - added more Requires
299 - added wmconfig support
300
301 * Sat Sep 26 1998 Pawe³ Gajda <pagaj@shadow.eu.org>
302   [0.20.0-1d]
303 - added --disable-shm option to configure script
304 - added patches to fix I18N stuff
305 - moved bughint script to /usr/X11R6/bin
306 - WPrefs is now back in /usr/X11R6/GNUstep
307 - built against Tornado,
308 - build from non root's account.
309
310 * Mon Sep 21 1998 Pawe³ Gajda <pagaj@shadow.eu.org>
311   [0.19.3-2]
312 - fixed problems with paths to icons, styles and WPrefs
313 - removed all patches
314 - moved WPrefs stuff to /usr/X11R6/share/GNUstep
315 - fixed I18N
316 - added Polish summary and description
317
318 * Thu Sep  8 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
319   [0.19.3-1]
320 - added -q %setup parameter,
321 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
322 - added using %%{name} and %%{version} in Source,
323 - changeded dependences to "Requires: %%{name} = %%{version}" in devel
324   subpackage,
325 - removed "rm -r %%{builddir}" - it's automatically removed if rpm is runed
326   on building with --clean,
327 - removed COPYING and INSTALL from %doc (copyright statment is in Copyright
328   field),
329 - WindowMaker is now builded from bz2 source tar,
330 - removed Packager field (this must be placed in persolan ~/.rpmrc),
331 - nls stuff moved to %{_datadir}/locale,
332 - added --disable-debug for configure,
333 - adde %lang macros for %{_datadir}/locale/*/LC_MESSAGES/* files,
334 - added WindowMaker-fix_po.patch wit fixing .po files,
335 - simplification in %files and added using %defattr macro also.
336
337 * Tue Jul 21 1998 W. Reilly Cooley <wcooley@nakedape.ml.org>
338 - updated from 16.1 to 17.2; made it use RPM_OPT_FLAGS
This page took 0.064943 seconds and 4 git commands to generate.