]> git.pld-linux.org Git - packages/WindowMaker.git/blob - WindowMaker.spec
- updated to current CVS version (WindowMaker-cvs19991010.patch); this fixes
[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.61.1
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-WINGs.h.patch
23 Patch8:         WindowMaker-singleclick.patch
24 Patch9:         WindowMaker-cvs19991010.patch
25 Patch10:        WindowMaker-plmenu.patch
26 URL:            http://www.windowmaker.org/
27 BuildRequires:  libPropList-devel >= 0.9.1
28 BuildRequires:  xpm-devel
29 BuildRequires:  libpng-devel
30 BuildRequires:  libjpeg-devel >= 6b
31 BuildRequires:  libtiff-devel
32 BuildRequires:  libungif-devel
33 BuildRequires:  gettext-devel
34 Requires:       wmconfig
35 Requires:       /lib/cpp
36 Requires:       %{name}-libs = %{version}
37 BuildRoot:      /tmp/%{name}-%{version}-root
38
39 %define         _prefix         /usr/X11R6
40 %define         _mandir         %{_prefix}/man
41 %define         _sysconfdir     /etc/X11
42
43 %description
44 Window Maker is an X11 window manager which emulates the look and feel of
45 the NeXTSTEP (TM) graphical user interface. It is relatively fast, feature
46 rich and easy to configure and use.  Window Maker is part of the official
47 GNU project, which means that Window Maker can interoperate with other GNU
48 projects, such as GNOME.
49
50 Window Maker allows users to switch themes 'on the fly,' to place favorite
51 applications on either an application dock, similar to AfterStep's Wharf or
52 on a workspace dock, a 'clip' which extends the application dock's
53 usefulness.
54
55 You should install the WindowMaker package if you use Window Maker as your
56 window manager or if you'd like to try using it. If you do install the
57 WindowMaker package, you may also want to install the AfterStep-APPS
58 package, which includes applets that will work with both AfterStep and
59 Window Maker window managers.
60
61 %description -l fr
62 Window Maker est un gestionnaire de fenêtres pour X11 qui cherche à
63 reproduire l'allure et l'ergonomie ("look & feel") de l'interface graphique
64 NeXTSTEP(tm) (aka OpenStep). Il est relativement rapide, évolué, et facile à
65 configurer et à utiliser. Window Maker fait officiellement partie du projet
66 GNU, ce qui signifie que Window Maker peut coopérer avec d'autres projets
67 GNU, comme par exemple GNOME.
68
69 Window Maker permet de changer de thèmes facilement, de placer ses
70 applications favorites soit sur un "dock" similaire au programme Wharf de
71 AfterStep, soit sur un dock intégré à l'espace de travail, appelé "clip"
72 (trombone), et qui permet d'étendre les possibilités du dock principal.
73
74 Vous devriez installer ce package si votre gestionnaire de fenêtres est
75 Window Maker, ou si vous voulez l'essayer. Si vous installez le package
76 Window Maker, vous voudrez peut-être installer aussi le package
77 AfterStep-APPS, qui contient des "applets" (petites applications) qui
78 fonctionnent à la fois dans les gestionnaires de fenêtres AfterStep et
79 Window Maker.
80
81 %description -l pl
82 WindowMaker jest mened¿erem okien przypominaj±cy wygl±dem i wygod± obs³ugi
83 interfejs systemu NeXTSTEP(tm). Jest szybki, stosunkowo ma³y, o du¿ych
84 mo¿liwo¶ciach i ³atwy w konfiguracji. Konfiguruje siê go myszk±, za pomoc±
85 programu WPrefs wchodz±cego w sk³ad tego pakietu.
86
87 %package libs
88 Summary:        WindowMaker shared libraries
89 Summary(pl):    Biblioteki wspó³dzielone WindowMakera
90 Group:          Libraries
91 Group(pl):      Biblioteki
92
93 %description libs
94 This package contains shared libraries for run WindowMaker.
95
96 %description libs -l pl
97 Ten pakiet zawiera biblioteki wspó³dzielone niezbêdne do pracy
98 mened¿era okien WindowMaker.
99
100 %package devel
101 Summary:        WindowMaker libraries
102 Summary(fr):    Librairies de WindowMaker
103 Summary(pl):    Biblioteki WindowMakera
104 Group:          Development/Libraries
105 Group(pl):      Programowanie/Biblioteki
106 Requires:       %{name}-libs = %{version}
107
108 %description devel
109 This package contains libraries for building WindowMaker-enhanced
110 applications.
111
112 %description devel -l fr
113 Ce paquet contient des librairies pour faire des applications mise en valeur
114 par WindowMaker.
115
116 %description devel -l pl
117 Ten pakiet zawiera pliki nag³ówkowe i biblioteki niezbêdne do tworzenia
118 aplikacji wykorzystuj±cych mo¿liwo¶ci mened¿era okien WindowMaker.
119
120 %package static
121 Summary:        WindowMaker static libraries
122 Summary(pl):    Biblioteki statyczne WindowMakera
123 Group:          Development/Libraries
124 Group(pl):      Programowanie/Biblioteki
125 Requires:       %{name}-devel = %{version}
126
127 %description static
128 This package contains static libraries for building WindowMaker-enhanced
129 applications.
130
131 %description static -l pl
132 Ten pakiet zawiera statyczne biblioteki niezbêdne do tworzenia
133 aplikacji wykorzystuj±cych mo¿liwo¶ci mened¿era okien WindowMaker.
134
135 %prep
136 %setup -q -a 1 -a 2
137 %patch0 -p1
138 %patch1 -p0
139 %patch2 -p0
140 %patch3 -p1
141 %patch4 -p1
142 %patch5 -p1
143 %patch6 -p1
144 %patch7 -p1
145 %patch8 -p1
146 %patch9 -p1
147 %patch10 -p1
148
149 %build
150 autoconf
151 LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
152          se sk tr zh_CN zh_TW.Big5" ; export LINGUAS
153 CPP_PATH="/lib/cpp" ; export CPP_PATH
154
155 %configure \
156         --with-nlsdir=%{_datadir}/locale \
157         --enable-sound \
158         --enable-gnome \
159         --disable-debug \
160         --enable-superfluous \
161         --enable-newstyle \
162         --enable-kde \
163         --enable-shared \
164         --enable-static \
165         --enable-usermenu
166
167 touch WindowMaker/Defaults/W*.in
168
169 make \
170         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
171                 se sk tr zh_CN zh_TW.Big5" \
172         CFLAGS="$RPM_OPT_FLAGS" \
173         LDFLAGS="-s" 
174
175 autoconf
176 cd %{name}-extra-%{extraver}
177 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
178 ./configure %{_target_platform} \
179         --prefix=%{_prefix} \
180         --mandir=%{_mandir} \
181         --with-nlsdir=%{_datadir}/locale \
182         --with-iconsdir=%{_datadir}/pixmaps
183
184 %install
185 rm -rf $RPM_BUILD_ROOT
186 install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
187
188 make install \
189         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
190                 se sk tr zh_CN zh_TW.Big5" \
191         DESTDIR=$RPM_BUILD_ROOT 
192
193 install util/bughint $RPM_BUILD_ROOT%{_bindir}
194
195 install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_datadir}/pixmaps
196
197 (cd %{name}-extra-%{extraver};
198 make DESTDIR=$RPM_BUILD_ROOT install )
199
200 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
201
202 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
203         AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
204
205 %find_lang %{name}
206 %find_lang WPrefs
207 cat WPrefs.lang >> %{name}.lang
208
209 %post   -p /sbin/ldconfig
210 %postun -p /sbin/ldconfig
211
212 %clean
213 rm -r $RPM_BUILD_ROOT
214
215 %files -f %{name}.lang
216 %defattr(644,root,root,755)
217 %doc {AUTHORS,BUGFORM,BUGS,ChangeLog,FAQ,NEWS,README}.gz
218
219 %dir /etc/X11/WindowMaker
220 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/*
221
222 %{_mandir}/man1/*
223
224 %{_datadir}/pixmaps/*
225
226 %attr(755,root,root) %{_bindir}/geticonset
227 %attr(755,root,root) %{_bindir}/getstyle
228 %attr(755,root,root) %{_bindir}/seticons
229 %attr(755,root,root) %{_bindir}/setstyle
230 %attr(755,root,root) %{_bindir}/wdwrite
231 %attr(755,root,root) %{_bindir}/wkdemenu.pl
232 %attr(755,root,root) %{_bindir}/wm-oldmenu2new
233 %attr(755,root,root) %{_bindir}/wmaker
234 %attr(755,root,root) %{_bindir}/wmaker.inst
235 %attr(755,root,root) %{_bindir}/wmsetbg
236 %attr(755,root,root) %{_bindir}/wsetfont
237 %attr(755,root,root) %{_bindir}/wxcopy
238 %attr(755,root,root) %{_bindir}/wxpaste
239
240 %{_datadir}/WindowMaker
241
242 %dir %{_prefix}/GNUstep
243 %dir %{_prefix}/GNUstep/Apps
244 %dir %{_prefix}/GNUstep/Apps/WPrefs.app
245
246 %attr(755,root,root) %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs
247
248 %{_prefix}/GNUstep/Apps/WPrefs.app/tiff
249 %{_prefix}/GNUstep/Apps/WPrefs.app/xpm
250 %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.tiff
251 %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.xpm
252
253 %files libs
254 %defattr(644,root,root,755)
255 %attr(755,root,root) %{_libdir}/lib*.so.*.*
256 %{_datadir}/WINGs
257
258 %files devel
259 %defattr(644,root,root,755)
260 %attr(755,root,root) %{_libdir}/lib*.so
261 %attr(755,root,root) %{_bindir}/get-wraster-flags
262 %{_includedir}/*.h
263 %{_libdir}/lib*.la
264
265 %files static
266 %defattr(644,root,root,755)
267 %{_libdir}/lib*.a
This page took 0.105369 seconds and 4 git commands to generate.