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