]> git.pld-linux.org Git - packages/WindowMaker.git/blob - WindowMaker.spec
- changed all BuildRoot definitons
[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:        2
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:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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±cym 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 menad¿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-kde \
164         --enable-shared \
165         --enable-static \
166         --enable-usermenu
167
168 touch WindowMaker/Defaults/W*.in
169
170 make \
171         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
172                 se sk tr zh_CN zh_TW.Big5" \
173         CFLAGS="$RPM_OPT_FLAGS" \
174         LDFLAGS="-s" 
175
176 autoconf
177 cd %{name}-extra-%{extraver}
178 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
179 ./configure %{_target_platform} \
180         --prefix=%{_prefix} \
181         --mandir=%{_mandir} \
182         --with-nlsdir=%{_datadir}/locale \
183         --with-iconsdir=%{_datadir}/pixmaps
184
185 %install
186 rm -rf $RPM_BUILD_ROOT
187 install -d $RPM_BUILD_ROOT%{_datadir}/{pixmaps,gnome/wm-properties}
188
189 make install \
190         LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
191                 se sk tr zh_CN zh_TW.Big5" \
192         DESTDIR=$RPM_BUILD_ROOT 
193
194 install util/bughint $RPM_BUILD_ROOT%{_bindir}
195
196 install contrib/dockit   $RPM_BUILD_ROOT%{_bindir}
197 install contrib/dockit.1 $RPM_BUILD_ROOT%{_mandir}/man1
198
199 install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_datadir}/pixmaps
200 install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
201
202 (cd %{name}-extra-%{extraver};
203 make DESTDIR=$RPM_BUILD_ROOT install )
204
205 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
206
207 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
208         AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
209
210 %find_lang %{name}
211 %find_lang WPrefs
212 cat WPrefs.lang >> %{name}.lang
213
214 %post   -p /sbin/ldconfig
215 %postun -p /sbin/ldconfig
216
217 %clean
218 rm -r $RPM_BUILD_ROOT
219
220 %files -f %{name}.lang
221 %defattr(644,root,root,755)
222 %doc {AUTHORS,BUGFORM,BUGS,ChangeLog,FAQ,NEWS,README}.gz
223
224 %dir /etc/X11/WindowMaker
225 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/*
226
227 %{_mandir}/man1/*
228
229 %{_datadir}/pixmaps/*
230 %{_datadir}/gnome/wm-properties/WindowMaker.desktop
231
232 %attr(755,root,root) %{_bindir}/geticonset
233 %attr(755,root,root) %{_bindir}/getstyle
234 %attr(755,root,root) %{_bindir}/seticons
235 %attr(755,root,root) %{_bindir}/setstyle
236 %attr(755,root,root) %{_bindir}/wdwrite
237 %attr(755,root,root) %{_bindir}/wkdemenu.pl
238 %attr(755,root,root) %{_bindir}/wm-oldmenu2new
239 %attr(755,root,root) %{_bindir}/wmaker
240 %attr(755,root,root) %{_bindir}/wmaker.inst
241 %attr(755,root,root) %{_bindir}/wmsetbg
242 %attr(755,root,root) %{_bindir}/wsetfont
243 %attr(755,root,root) %{_bindir}/wxcopy
244 %attr(755,root,root) %{_bindir}/wxpaste
245 %attr(755,root,root) %{_bindir}/dockit
246
247 %{_datadir}/WindowMaker
248
249 %dir %{_prefix}/GNUstep
250 %dir %{_prefix}/GNUstep/Apps
251 %dir %{_prefix}/GNUstep/Apps/WPrefs.app
252
253 %attr(755,root,root) %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs
254
255 %{_prefix}/GNUstep/Apps/WPrefs.app/tiff
256 %{_prefix}/GNUstep/Apps/WPrefs.app/xpm
257 %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.tiff
258 %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.xpm
259
260 %files libs
261 %defattr(644,root,root,755)
262 %attr(755,root,root) %{_libdir}/lib*.so.*.*
263 %{_datadir}/WINGs
264
265 %files devel
266 %defattr(644,root,root,755)
267 %attr(755,root,root) %{_libdir}/lib*.so
268 %attr(755,root,root) %{_bindir}/get-wraster-flags
269 %{_includedir}/*.h
270 %{_libdir}/lib*.la
271
272 %files static
273 %defattr(644,root,root,755)
274 %{_libdir}/lib*.a
This page took 0.084497 seconds and 4 git commands to generate.