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