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