]> git.pld-linux.org Git - packages/WindowMaker.git/blob - WindowMaker.spec
- perl -pi -e "s/^\%\{_datadir\}\/pixmaps/\%\{_pixmapsdir\}/"
[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.63.1
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}-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:       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="/lib/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 %configure \
192         --with-nlsdir=%{_datadir}/locale \
193         --with-iconsdir=%{_datadir}/pixmaps
194
195 %install
196 rm -rf $RPM_BUILD_ROOT
197 install -d $RPM_BUILD_ROOT%{_datadir}/{pixmaps,gnome/wm-properties} \
198         $RPM_BUILD_ROOT/etc/sysconfig/wmstyle
199
200 %{__make} install \
201         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
202                 se sk tr zh_CN zh_TW.Big5" \
203         DESTDIR=$RPM_BUILD_ROOT 
204
205 install util/bughint $RPM_BUILD_ROOT%{_bindir}
206
207 install contrib/dockit   $RPM_BUILD_ROOT%{_bindir}
208 install contrib/dockit.1 $RPM_BUILD_ROOT%{_mandir}/man1
209
210 install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_datadir}/pixmaps
211 install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
212
213 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
214 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
215
216 (cd %{name}-extra-%{extraver};
217 %{__make} DESTDIR=$RPM_BUILD_ROOT install )
218
219 gzip -9nf AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
220
221 %find_lang %{name} --all-name
222
223 %post   libs -p /sbin/ldconfig
224 %postun libs -p /sbin/ldconfig
225
226 %clean
227 rm -rf $RPM_BUILD_ROOT
228
229 %files -f %{name}.lang
230 %defattr(644,root,root,755)
231 %doc {AUTHORS,BUGFORM,BUGS,ChangeLog,FAQ,NEWS,README}.gz
232
233 %dir %{_sysconfdir}/WindowMaker
234 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/*
235
236 %attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
237 /etc/sysconfig/wmstyle/*.names
238
239 %{_mandir}/man1/*
240
241 %{_pixmapsdir}/*
242 %{_datadir}/gnome/wm-properties/WindowMaker.desktop
243
244 %attr(755,root,root) %{_bindir}/geticonset
245 %attr(755,root,root) %{_bindir}/getstyle
246 %attr(755,root,root) %{_bindir}/seticons
247 %attr(755,root,root) %{_bindir}/setstyle
248 %attr(755,root,root) %{_bindir}/wdwrite
249 %attr(755,root,root) %{_bindir}/wkdemenu.pl
250 %attr(755,root,root) %{_bindir}/wm-oldmenu2new
251 %attr(755,root,root) %{_bindir}/wmaker
252 %attr(755,root,root) %{_bindir}/wmaker.inst
253 %attr(755,root,root) %{_bindir}/wmsetbg
254 %attr(755,root,root) %{_bindir}/wsetfont
255 %attr(755,root,root) %{_bindir}/wxcopy
256 %attr(755,root,root) %{_bindir}/wxpaste
257 %attr(755,root,root) %{_bindir}/dockit
258
259 %{_datadir}/WindowMaker
260
261 %dir %{_prefix}/GNUstep
262 %dir %{_prefix}/GNUstep/Apps
263 %dir %{_prefix}/GNUstep/Apps/WPrefs.app
264
265 %attr(755,root,root) %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs
266
267 %{_prefix}/GNUstep/Apps/WPrefs.app/tiff
268 %{_prefix}/GNUstep/Apps/WPrefs.app/xpm
269 %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.tiff
270 %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.xpm
271
272 %files libs
273 %defattr(644,root,root,755)
274 %attr(755,root,root) %{_libdir}/lib*.so.*.*
275 %{_datadir}/WINGs
276
277 %files devel
278 %defattr(644,root,root,755)
279 %attr(755,root,root) %{_libdir}/lib*.so
280 %attr(755,root,root) %{_bindir}/get-wraster-flags
281 %{_includedir}/*.h
282 %{_libdir}/lib*.la
283
284 %files static
285 %defattr(644,root,root,755)
286 %{_libdir}/lib*.a
This page took 0.044184 seconds and 4 git commands to generate.