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