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