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