]> git.pld-linux.org Git - packages/WindowMaker.git/blob - WindowMaker.spec
/usr/bin/cpp instead of /lib/cpp
[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.62.1
8 Release:        14
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}-WINGs.h.patch
28 Patch8:         %{name}-IconPosition.patch
29 Patch9:         %{name}-singleclick.patch
30 Patch10:        %{name}-plmenu.patch
31 Patch11:        %{name}-dockit.patch
32 URL:            http://www.windowmaker.org/
33 BuildRequires:  autoconf
34 BuildRequires:  automake
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 Requires:       wmconfig >= 0.9.9-5
42 Requires:       /usr/bin/cpp
43 Requires:       %{name}-libs = %{version}
44 Requires:       tk
45 Requires:       xinitrc >= 3.0
46 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
48 %define         _prefix         /usr/X11R6
49 %define         _mandir         %{_prefix}/man
50 %define         _sysconfdir     /etc/X11
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
113 Summary(fr):    Librairies de WindowMaker
114 Summary(pl):    Biblioteki WindowMakera
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 %patch11 -p1
163
164 %build
165 autoconf
166 automake
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="/usr/bin/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="$RPM_OPT_FLAGS" \
187         LDFLAGS="-s" 
188
189 autoconf
190 cd %{name}-extra-%{extraver}
191 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
192 ./configure %{_target_platform} \
193         --prefix=%{_prefix} \
194         --mandir=%{_mandir} \
195         --with-nlsdir=%{_datadir}/locale \
196         --with-iconsdir=%{_datadir}/pixmaps
197
198 %install
199 rm -rf $RPM_BUILD_ROOT
200 install -d $RPM_BUILD_ROOT%{_datadir}/{pixmaps,gnome/wm-properties} \
201         $RPM_BUILD_ROOT/etc/sysconfig/wmstyle
202
203 %{__make} install \
204         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
205                 se sk tr zh_CN zh_TW.Big5" \
206         DESTDIR=$RPM_BUILD_ROOT 
207
208 install util/bughint $RPM_BUILD_ROOT%{_bindir}
209
210 install contrib/dockit   $RPM_BUILD_ROOT%{_bindir}
211 install contrib/dockit.1 $RPM_BUILD_ROOT%{_mandir}/man1
212
213 install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_datadir}/pixmaps
214 install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
215
216 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
217 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
218
219 (cd %{name}-extra-%{extraver};
220 %{__make} DESTDIR=$RPM_BUILD_ROOT install )
221
222 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
223
224 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
225         AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
226
227 %find_lang %{name}
228 %find_lang WPrefs
229 cat WPrefs.lang >> %{name}.lang
230
231 %post libs -p /sbin/ldconfig
232 %postun libs -p /sbin/ldconfig
233
234 %clean
235 rm -rf $RPM_BUILD_ROOT
236
237 %files -f %{name}.lang
238 %defattr(644,root,root,755)
239 %doc {AUTHORS,BUGFORM,BUGS,ChangeLog,FAQ,NEWS,README}.gz
240
241 %dir %{_sysconfdir}/WindowMaker
242 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/*
243
244 %attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
245 /etc/sysconfig/wmstyle/*.names
246
247 %{_mandir}/man1/*
248
249 %{_datadir}/pixmaps/*
250 %{_datadir}/gnome/wm-properties/WindowMaker.desktop
251
252 %attr(755,root,root) %{_bindir}/geticonset
253 %attr(755,root,root) %{_bindir}/getstyle
254 %attr(755,root,root) %{_bindir}/seticons
255 %attr(755,root,root) %{_bindir}/setstyle
256 %attr(755,root,root) %{_bindir}/wdwrite
257 %attr(755,root,root) %{_bindir}/wkdemenu.pl
258 %attr(755,root,root) %{_bindir}/wm-oldmenu2new
259 %attr(755,root,root) %{_bindir}/wmaker
260 %attr(755,root,root) %{_bindir}/wmaker.inst
261 %attr(755,root,root) %{_bindir}/wmsetbg
262 %attr(755,root,root) %{_bindir}/wsetfont
263 %attr(755,root,root) %{_bindir}/wxcopy
264 %attr(755,root,root) %{_bindir}/wxpaste
265 %attr(755,root,root) %{_bindir}/dockit
266
267 %{_datadir}/WindowMaker
268
269 %dir %{_prefix}/GNUstep
270 %dir %{_prefix}/GNUstep/Apps
271 %dir %{_prefix}/GNUstep/Apps/WPrefs.app
272
273 %attr(755,root,root) %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs
274
275 %{_prefix}/GNUstep/Apps/WPrefs.app/tiff
276 %{_prefix}/GNUstep/Apps/WPrefs.app/xpm
277 %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.tiff
278 %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.xpm
279
280 %files libs
281 %defattr(644,root,root,755)
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}/*.h
290 %{_libdir}/lib*.la
291
292 %files static
293 %defattr(644,root,root,755)
294 %{_libdir}/lib*.a
This page took 0.069362 seconds and 4 git commands to generate.