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