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