]> git.pld-linux.org Git - packages/WindowMaker.git/blob - WindowMaker.spec
- updated to 0.65.0,
[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(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:  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(fr):      Librairies
104 Group(pl):      Biblioteki
105
106 %description libs
107 This package contains shared libraries for run WindowMaker.
108
109 %description libs -l pl
110 Ten pakiet zawiera biblioteki wspó³dzielone niezbêdne do pracy
111 mened¿era okien WindowMaker.
112
113 %package devel
114 Summary:        WindowMaker libraries - development part
115 Summary(fr):    Librairies de WindowMaker
116 Summary(pl):    Biblioteki WindowMakera - czê¶æ dla programistów
117 Group:          Development/Libraries
118 Group(fr):      Development/Librairies
119 Group(pl):      Programowanie/Biblioteki
120 Requires:       %{name}-libs = %{version}
121
122 %description devel
123 This package contains libraries for building WindowMaker-enhanced
124 applications.
125
126 %description devel -l fr
127 Ce paquet contient des librairies pour faire des applications mise en
128 valeur par WindowMaker.
129
130 %description devel -l pl
131 Ten pakiet zawiera pliki nag³ówkowe i biblioteki niezbêdne do
132 tworzenia aplikacji wykorzystuj±cych mo¿liwo¶ci mened¿era okien
133 WindowMaker.
134
135 %package static
136 Summary:        WindowMaker static libraries
137 Summary(pl):    Biblioteki statyczne WindowMakera
138 Group:          Development/Libraries
139 Group(fr):      Development/Librairies
140 Group(pl):      Programowanie/Biblioteki
141 Requires:       %{name}-devel = %{version}
142
143 %description static
144 This package contains static libraries for building
145 WindowMaker-enhanced applications.
146
147 %description static -l pl
148 Ten pakiet zawiera statyczne biblioteki niezbêdne do tworzenia
149 aplikacji wykorzystuj±cych mo¿liwo¶ci menad¿era okien WindowMaker.
150
151 %prep
152 %setup -q -a 1 -a 2
153 %patch0 -p1
154 %patch1 -p0
155 %patch2 -p0
156 %patch3 -p1
157 %patch4 -p1
158 %patch5 -p1
159 %patch6 -p1
160 %patch7 -p1
161 %patch8 -p1
162 %patch9 -p1
163 %patch10 -p1
164 %patch11 -p1
165
166 %build
167 libtoolize --copy --force
168 aclocal
169 autoconf
170 automake -a -c
171 LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
172          se sk tr zh_CN zh_TW.Big5" ; export LINGUAS
173 CPP_PATH="/lib/cpp" ; export CPP_PATH
174
175 %configure \
176         --with-nlsdir=%{_datadir}/locale \
177         --with-appspath=%{_libdir}/GNUstep/Apps \
178         --enable-sound \
179         --enable-gnome \
180         --disable-debug \
181         --enable-kde \
182         --enable-shared \
183         --enable-static \
184         --enable-usermenu
185
186 touch WindowMaker/Defaults/W*.in
187
188 %{__make} \
189         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
190                 se sk tr zh_CN zh_TW.Big5" \
191         CFLAGS="%{rpmcflags}" \
192         LDFLAGS="%{rpmldflags}"
193
194 autoconf
195 cd %{name}-extra-%{extraver}
196 %configure \
197         --with-nlsdir=%{_datadir}/locale \
198         --with-iconsdir=%{_datadir}/pixmaps
199
200 %install
201 rm -rf $RPM_BUILD_ROOT
202 install -d $RPM_BUILD_ROOT{%{_datadir}/pixmaps,%{_wmpropsdir}} \
203         $RPM_BUILD_ROOT/etc/sysconfig/wmstyle
204
205 %{__make} install \
206         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
207                 se sk tr zh_CN zh_TW.Big5" \
208         DESTDIR=$RPM_BUILD_ROOT 
209
210 install util/bughint $RPM_BUILD_ROOT%{_bindir}
211
212 install contrib/dockit   $RPM_BUILD_ROOT%{_bindir}
213 install contrib/dockit.1 $RPM_BUILD_ROOT%{_mandir}/man1
214
215 install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_datadir}/pixmaps
216 install %{SOURCE3} $RPM_BUILD_ROOT%{_wmpropsdir}
217
218 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
219 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
220
221 (cd %{name}-extra-%{extraver};
222 %{__make} DESTDIR=$RPM_BUILD_ROOT install )
223
224 gzip -9nf AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
225
226 %find_lang %{name} --all-name
227
228 %post   libs -p /sbin/ldconfig
229 %postun libs -p /sbin/ldconfig
230
231 %clean
232 rm -rf $RPM_BUILD_ROOT
233
234 %files -f %{name}.lang
235 %defattr(644,root,root,755)
236 %doc *.gz
237
238 %dir %{_sysconfdir}/WindowMaker
239 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/*
240
241 %attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
242 /etc/sysconfig/wmstyle/*.names
243
244 %{_mandir}/man1/*
245
246 %{_pixmapsdir}/*
247 %{_wmpropsdir}/WindowMaker.desktop
248
249 %attr(755,root,root) %{_bindir}/bughint
250 %attr(755,root,root) %{_bindir}/geticonset
251 %attr(755,root,root) %{_bindir}/getstyle
252 %attr(755,root,root) %{_bindir}/seticons
253 %attr(755,root,root) %{_bindir}/setstyle
254 %attr(755,root,root) %{_bindir}/wdwrite
255 %attr(755,root,root) %{_bindir}/wdread
256 %attr(755,root,root) %{_bindir}/wkdemenu.pl
257 %attr(755,root,root) %{_bindir}/wm-oldmenu2new
258 %attr(755,root,root) %{_bindir}/wmagnify
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}/wmchlocale
263 %attr(755,root,root) %{_bindir}/wsetfont
264 %attr(755,root,root) %{_bindir}/wxcopy
265 %attr(755,root,root) %{_bindir}/wxpaste
266 %attr(755,root,root) %{_bindir}/dockit
267
268 %{_datadir}/WindowMaker
269
270 %dir %{_libdir}/GNUstep
271 %dir %{_libdir}/GNUstep/Apps
272 %dir %{_libdir}/GNUstep/Apps/WPrefs.app
273
274 %attr(755,root,root) %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs
275
276 %{_libdir}/GNUstep/Apps/WPrefs.app/tiff
277 %{_libdir}/GNUstep/Apps/WPrefs.app/xpm
278 %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs.tiff
279 %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs.xpm
280
281 %files libs
282 %defattr(644,root,root,755)
283 %attr(755,root,root) %{_bindir}/get-wings-flags
284 %attr(755,root,root) %{_bindir}/get-wraster-flags
285 %attr(755,root,root) %{_bindir}/get-wutil-flags
286 %attr(755,root,root) %{_libdir}/lib*.so.*.*
287 %{_datadir}/WINGs
288
289 %files devel
290 %defattr(644,root,root,755)
291 %attr(755,root,root) %{_libdir}/lib*.so
292 %attr(755,root,root) %{_bindir}/get-wraster-flags
293 %{_includedir}/*
294 %{_libdir}/lib*.la
295
296 %files static
297 %defattr(644,root,root,755)
298 %{_libdir}/lib*.a
This page took 0.057651 seconds and 4 git commands to generate.