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