]> git.pld-linux.org Git - packages/WindowMaker.git/blob - WindowMaker.spec
- updated to 0.80.0.
[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.80.0
8 Release:        1
9 License:        GPL
10 Group:          X11/Window Managers
11 Group(de):      X11/Fenstermanager
12 Group(es):      X11/Administraadores De Ventanas
13 Group(fr):      X11/Gestionnaires De Fenêtres
14 Group(pl):      X11/Zarz±dcy Okien
15 Source0:        ftp://ftp.windowmaker.org/pub/source/release/%{name}-%{version}.tar.bz2
16 Source1:        ftp://windowmaker.org/pub/%{name}-data.tar.gz
17 Source2:        ftp://ftp.windowmaker.org/pub/source/release/%{name}-extra-%{extraver}.tar.gz
18 Source3:        %{name}.desktop
19 Source4:        %{name}.RunWM
20 Source5:        %{name}.wm_style
21 Patch0:         %{name}-CFLAGS.patch
22 Patch1:         %{name}-wmconfig.patch
23 Patch2:         %{name}-pixmaps.patch
24 Patch3:         %{name}-shared.patch
25 Patch4:         %{name}-areas.patch
26 Patch5:         %{name}-IconPosition.patch
27 Patch6:         %{name}-singleclick.patch
28 Patch7:         %{name}-plmenu.patch
29 Patch8:         %{name}-dockit.patch
30 URL:            http://www.windowmaker.org/
31 BuildRequires:  autoconf
32 BuildRequires:  automake
33 BuildRequires:  libtool
34 BuildRequires:  gettext-devel
35 BuildRequires:  libpng >= 1.0.8
36 BuildRequires:  libjpeg-devel >= 6b
37 BuildRequires:  libtiff-devel
38 BuildRequires:  libungif-devel
39 BuildRequires:  Hermes-devel
40 BuildRequires:  XFree86-devel
41 Requires:       wmconfig >= 0.9.9-5
42 Requires:       cpp
43 Requires:       %{name}-libs = %{version}
44 Requires:       tk
45 Requires:       xinitrc >= 3.0
46 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
48 %define         _prefix         /usr/X11R6
49 %define         _mandir         %{_prefix}/man
50 %define         _sysconfdir     /etc/X11
51 %define         _wmpropsdir     %{_datadir}/wm-properties
52
53 %description
54 Window Maker is an X11 window manager which emulates the look and feel
55 of the NeXTSTEP (TM) graphical user interface. It is relatively fast,
56 feature rich and easy to configure and use. Window Maker is part of
57 the official GNU project, which means that Window Maker can
58 interoperate with other GNU projects, such as GNOME.
59
60 Window Maker allows users to switch themes 'on the fly,' to place
61 favorite applications on either an application dock, similar to
62 AfterStep's Wharf or on a workspace dock, a 'clip' which extends the
63 application dock's usefulness.
64
65 You should install the WindowMaker package if you use Window Maker as
66 your window manager or if you'd like to try using it. If you do
67 install the WindowMaker package, you may also want to install the
68 AfterStep-APPS package, which includes applets that will work with
69 both AfterStep and Window Maker window managers.
70
71 %description -l fr
72 Window Maker est un gestionnaire de fenêtres pour X11 qui cherche à
73 reproduire l'allure et l'ergonomie ("look & feel") de l'interface
74 graphique NeXTSTEP(tm) (aka OpenStep). Il est relativement rapide,
75 évolué, et facile à configurer et à utiliser. Window Maker fait
76 officiellement partie du projet GNU, ce qui signifie que Window Maker
77 peut coopérer avec d'autres projets GNU, comme par exemple GNOME.
78
79 Window Maker permet de changer de thèmes facilement, de placer ses
80 applications favorites soit sur un "dock" similaire au programme Wharf
81 de AfterStep, soit sur un dock intégré à l'espace de travail, appelé
82 "clip" (trombone), et qui permet d'étendre les possibilités du dock
83 principal.
84
85 Vous devriez installer ce package si votre gestionnaire de fenêtres
86 est Window Maker, ou si vous voulez l'essayer. Si vous installez le
87 package Window Maker, vous voudrez peut-être installer aussi le
88 package AfterStep-APPS, qui contient des "applets" (petites
89 applications) qui fonctionnent à la fois dans les gestionnaires de
90 fenêtres AfterStep et Window Maker.
91
92 %description -l pl
93 WindowMaker jest mened¿erem okien przypominaj±cym wygl±dem i wygod±
94 obs³ugi interfejs systemu NeXTSTEP(tm). Jest szybki, stosunkowo ma³y,
95 o du¿ych mo¿liwo¶ciach i ³atwy w konfiguracji. Konfiguruje siê go
96 myszk±, za pomoc± programu WPrefs wchodz±cego w sk³ad tego pakietu.
97
98 %package libs
99 Summary:        WindowMaker shared libraries
100 Summary(pl):    Biblioteki wspó³dzielone WindowMakera
101 Group:          Libraries
102 Group(de):      Libraries
103 Group(es):      Bibliotecas
104 Group(fr):      Librairies
105 Group(pl):      Biblioteki
106 Group(pt_BR):   Bibliotecas
107 Group(ru):      âÉÂÌÉÏÔÅËÉ
108 Group(uk):      â¦Â̦ÏÔÅËÉ
109 Obsoletes:      libwraster2
110
111 %description libs
112 This package contains shared libraries for run WindowMaker.
113
114 %description libs -l pl
115 Ten pakiet zawiera biblioteki wspó³dzielone niezbêdne do pracy
116 mened¿era okien WindowMaker.
117
118 %package devel
119 Summary:        WindowMaker libraries - development part
120 Summary(fr):    Librairies de WindowMaker
121 Summary(pl):    Biblioteki WindowMakera - czê¶æ dla programistów
122 Group:          Development/Libraries
123 Group(de):      Entwicklung/Libraries
124 Group(es):      Desarrollo/Bibliotecas
125 Group(fr):      Development/Librairies
126 Group(pl):      Programowanie/Biblioteki
127 Group(pt_BR):   Desenvolvimento/Bibliotecas
128 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
129 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
130 Requires:       %{name}-libs = %{version}
131 Obsoletes:      libwraster2-devel
132
133 %description devel
134 This package contains libraries for building WindowMaker-enhanced
135 applications.
136
137 %description devel -l fr
138 Ce paquet contient des librairies pour faire des applications mise en
139 valeur par WindowMaker.
140
141 %description devel -l pl
142 Ten pakiet zawiera pliki nag³ówkowe i biblioteki niezbêdne do
143 tworzenia aplikacji wykorzystuj±cych mo¿liwo¶ci mened¿era okien
144 WindowMaker.
145
146 %package static
147 Summary:        WindowMaker static libraries
148 Summary(pl):    Biblioteki statyczne WindowMakera
149 Group:          Development/Libraries
150 Group(de):      Entwicklung/Libraries
151 Group(es):      Desarrollo/Bibliotecas
152 Group(fr):      Development/Librairies
153 Group(pl):      Programowanie/Biblioteki
154 Group(pt_BR):   Desenvolvimento/Bibliotecas
155 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
156 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
157 Requires:       %{name}-devel = %{version}
158
159 %description static
160 This package contains static libraries for building
161 WindowMaker-enhanced applications.
162
163 %description static -l pl
164 Ten pakiet zawiera statyczne biblioteki niezbêdne do tworzenia
165 aplikacji wykorzystuj±cych mo¿liwo¶ci menad¿era okien WindowMaker.
166
167 %prep
168 %setup -q -a 1 -a 2
169 %patch0 -p1
170 %patch1 -p0
171 %patch2 -p1
172 %patch3 -p1
173 %patch4 -p1
174 %patch5 -p1
175 %patch6 -p1
176 %patch7 -p1
177 %patch8 -p1
178
179 for f in WindowMaker/*menu*; do
180     sed s,/usr/local/GNUstep/,/usr/X11R6/lib/GNUstep/, $f >$f.new
181     mv $f.new $f
182 done
183
184 %build
185 libtoolize --copy --force
186 aclocal
187 autoconf
188 automake -a -c
189 (cd %{name}-extra-%{extraver}
190 libtoolize --copy --force
191 aclocal
192 autoconf
193 automake -a -c)
194
195 LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
196          se sk tr zh_CN zh_TW.Big5" ; export LINGUAS
197 CPP_PATH="/lib/cpp" ; export CPP_PATH
198
199 %configure \
200         --with-nlsdir=%{_datadir}/locale \
201         --with-appspath=%{_libdir}/GNUstep/Apps \
202         --enable-sound \
203         --enable-gnome \
204         --disable-debug \
205         --enable-kde \
206         --enable-shared \
207         --enable-static \
208         --enable-usermenu
209
210 touch WindowMaker/Defaults/W*.in
211
212 %{__make} \
213         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
214                 se sk tr zh_CN zh_TW.Big5" \
215         CFLAGS="%{rpmcflags}" \
216         LDFLAGS="%{rpmldflags}"
217
218 autoconf
219 cd %{name}-extra-%{extraver}
220 %configure \
221         --with-nlsdir=%{_datadir}/locale \
222         --with-iconsdir=%{_datadir}/pixmaps
223
224 %install
225 rm -rf $RPM_BUILD_ROOT
226 install -d $RPM_BUILD_ROOT{%{_datadir}/pixmaps,%{_wmpropsdir}} \
227         $RPM_BUILD_ROOT/etc/sysconfig/wmstyle
228
229 %{__make} install \
230         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
231                 se sk tr zh_CN zh_TW.Big5" \
232         DESTDIR=$RPM_BUILD_ROOT 
233
234 install util/bughint $RPM_BUILD_ROOT%{_bindir}
235
236 install contrib/dockit   $RPM_BUILD_ROOT%{_bindir}
237 install contrib/dockit.1 $RPM_BUILD_ROOT%{_mandir}/man1
238
239 install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_datadir}/pixmaps
240 install %{SOURCE3} $RPM_BUILD_ROOT%{_wmpropsdir}
241
242 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
243 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
244
245 (cd %{name}-extra-%{extraver};
246 %{__make} DESTDIR=$RPM_BUILD_ROOT install )
247
248 gzip -9nf AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
249
250 %find_lang %{name} --all-name
251
252 %post   libs -p /sbin/ldconfig
253 %postun libs -p /sbin/ldconfig
254
255 %clean
256 rm -rf $RPM_BUILD_ROOT
257
258 %files -f %{name}.lang
259 %defattr(644,root,root,755)
260 %doc *.gz
261
262 %dir %{_sysconfdir}/WindowMaker
263 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/*
264
265 %attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
266 /etc/sysconfig/wmstyle/*.names
267
268 %{_mandir}/man1/*
269
270 %{_pixmapsdir}/*
271 %{_wmpropsdir}/WindowMaker.desktop
272
273 %attr(755,root,root) %{_bindir}/bughint
274 %attr(755,root,root) %{_bindir}/geticonset
275 %attr(755,root,root) %{_bindir}/getstyle
276 %attr(755,root,root) %{_bindir}/seticons
277 %attr(755,root,root) %{_bindir}/setstyle
278 %attr(755,root,root) %{_bindir}/wdwrite
279 %attr(755,root,root) %{_bindir}/wdread
280 %attr(755,root,root) %{_bindir}/wkdemenu.pl
281 %attr(755,root,root) %{_bindir}/wm-oldmenu2new
282 %attr(755,root,root) %{_bindir}/wmagnify
283 %attr(755,root,root) %{_bindir}/wmaker
284 %attr(755,root,root) %{_bindir}/wmaker.inst
285 %attr(755,root,root) %{_bindir}/wmsetbg
286 %attr(755,root,root) %{_bindir}/wmchlocale
287 %attr(755,root,root) %{_bindir}/wsetfont
288 %attr(755,root,root) %{_bindir}/wxcopy
289 %attr(755,root,root) %{_bindir}/wxpaste
290 %attr(755,root,root) %{_bindir}/dockit
291
292 %{_datadir}/WindowMaker
293
294 %dir %{_libdir}/GNUstep
295 %dir %{_libdir}/GNUstep/Apps
296 %dir %{_libdir}/GNUstep/Apps/WPrefs.app
297
298 %attr(755,root,root) %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs
299
300 %{_libdir}/GNUstep/Apps/WPrefs.app/tiff
301 %{_libdir}/GNUstep/Apps/WPrefs.app/xpm
302 %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs.tiff
303 %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs.xpm
304
305 %files libs
306 %defattr(644,root,root,755)
307 %attr(755,root,root) %{_bindir}/get-wings-flags
308 %attr(755,root,root) %{_bindir}/get-wraster-flags
309 %attr(755,root,root) %{_bindir}/get-wutil-flags
310 %attr(755,root,root) %{_libdir}/lib*.so.*.*
311 %{_datadir}/WINGs
312
313 %files devel
314 %defattr(644,root,root,755)
315 %attr(755,root,root) %{_libdir}/lib*.so
316 %attr(755,root,root) %{_bindir}/get-wraster-flags
317 %{_includedir}/*
318 %{_libdir}/lib*.la
319
320 %files static
321 %defattr(644,root,root,755)
322 %{_libdir}/lib*.a
This page took 0.062666 seconds and 3 git commands to generate.