]> git.pld-linux.org Git - packages/WindowMaker.git/blob - WindowMaker.spec
- release 4,
[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:        4
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         --with-appspath=%{_libdir}/GNUstep/Apps \
174         --enable-sound \
175         --enable-gnome \
176         --disable-debug \
177         --enable-kde \
178         --enable-shared \
179         --enable-static \
180         --enable-usermenu
181
182 touch WindowMaker/Defaults/W*.in
183
184 %{__make} \
185         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
186                 se sk tr zh_CN zh_TW.Big5" \
187         CFLAGS="%{rpmcflags}" \
188         LDFLAGS="%{rpmldflags}"
189
190 autoconf
191 cd %{name}-extra-%{extraver}
192 %configure \
193         --with-nlsdir=%{_datadir}/locale \
194         --with-iconsdir=%{_datadir}/pixmaps
195
196 %install
197 rm -rf $RPM_BUILD_ROOT
198 install -d $RPM_BUILD_ROOT{%{_datadir}/pixmaps,%{_wmpropsdir}} \
199         $RPM_BUILD_ROOT/etc/sysconfig/wmstyle
200
201 %{__make} install \
202         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
203                 se sk tr zh_CN zh_TW.Big5" \
204         DESTDIR=$RPM_BUILD_ROOT 
205
206 install util/bughint $RPM_BUILD_ROOT%{_bindir}
207
208 install contrib/dockit   $RPM_BUILD_ROOT%{_bindir}
209 install contrib/dockit.1 $RPM_BUILD_ROOT%{_mandir}/man1
210
211 install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_datadir}/pixmaps
212 install %{SOURCE3} $RPM_BUILD_ROOT%{_wmpropsdir}
213
214 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
215 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
216
217 (cd %{name}-extra-%{extraver};
218 %{__make} DESTDIR=$RPM_BUILD_ROOT install )
219
220 gzip -9nf AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
221
222 %find_lang %{name} --all-name
223
224 %post   libs -p /sbin/ldconfig
225 %postun libs -p /sbin/ldconfig
226
227 %clean
228 rm -rf $RPM_BUILD_ROOT
229
230 %files -f %{name}.lang
231 %defattr(644,root,root,755)
232 %doc *.gz
233
234 %dir %{_sysconfdir}/WindowMaker
235 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/*
236
237 %attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
238 /etc/sysconfig/wmstyle/*.names
239
240 %{_mandir}/man1/*
241
242 %{_pixmapsdir}/*
243 %{_wmpropsdir}/WindowMaker.desktop
244
245 %attr(755,root,root) %{_bindir}/bughint
246 %attr(755,root,root) %{_bindir}/geticonset
247 %attr(755,root,root) %{_bindir}/getstyle
248 %attr(755,root,root) %{_bindir}/seticons
249 %attr(755,root,root) %{_bindir}/setstyle
250 %attr(755,root,root) %{_bindir}/wdwrite
251 %attr(755,root,root) %{_bindir}/wdread
252 %attr(755,root,root) %{_bindir}/wkdemenu.pl
253 %attr(755,root,root) %{_bindir}/wm-oldmenu2new
254 %attr(755,root,root) %{_bindir}/wmagnify
255 %attr(755,root,root) %{_bindir}/wmaker
256 %attr(755,root,root) %{_bindir}/wmaker.inst
257 %attr(755,root,root) %{_bindir}/wmsetbg
258 %attr(755,root,root) %{_bindir}/wmchlocale
259 %attr(755,root,root) %{_bindir}/wsetfont
260 %attr(755,root,root) %{_bindir}/wxcopy
261 %attr(755,root,root) %{_bindir}/wxpaste
262 %attr(755,root,root) %{_bindir}/dockit
263
264 %{_datadir}/WindowMaker
265
266 %dir %{_libdir}/GNUstep
267 %dir %{_libdir}/GNUstep/Apps
268 %dir %{_libdir}/GNUstep/Apps/WPrefs.app
269
270 %attr(755,root,root) %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs
271
272 %{_libdir}/GNUstep/Apps/WPrefs.app/tiff
273 %{_libdir}/GNUstep/Apps/WPrefs.app/xpm
274 %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs.tiff
275 %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs.xpm
276
277 %files libs
278 %defattr(644,root,root,755)
279 %attr(755,root,root) %{_bindir}/get-wings-flags
280 %attr(755,root,root) %{_bindir}/get-wraster-flags
281 %attr(755,root,root) %{_bindir}/get-wutil-flags
282 %attr(755,root,root) %{_libdir}/lib*.so.*.*
283 %{_datadir}/WINGs
284
285 %files devel
286 %defattr(644,root,root,755)
287 %attr(755,root,root) %{_libdir}/lib*.so
288 %attr(755,root,root) %{_bindir}/get-wraster-flags
289 %{_includedir}/*
290 %{_libdir}/lib*.la
291
292 %files static
293 %defattr(644,root,root,755)
294 %{_libdir}/lib*.a
This page took 0.081294 seconds and 4 git commands to generate.