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