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