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