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