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