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