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