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