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