]> git.pld-linux.org Git - packages/WindowMaker.git/blame - WindowMaker.spec
- release 11
[packages/WindowMaker.git] / WindowMaker.spec
CommitLineData
97010e1c
AF
1%define extraver 0.1
2
6afdf73c 3Summary: NeXT-alike window manager
fe966ee8
ER
4Summary(es.UTF-8): Administrador de Ventanas parecido con el NeXT
5Summary(fr.UTF-8): Gestionnaire de fenêtres avec le look NeXT
6Summary(pl.UTF-8): Zarządca okien w stylu NeXT
7Summary(pt_BR.UTF-8): Gerente de Janelas parecido com o NeXT
8Summary(ru.UTF-8): WindowMaker - оконный менеджер для X11
9Summary(uk.UTF-8): WindowMaker - віконний менеджер для X11
6afdf73c 10Name: WindowMaker
e5a452b3 11Version: 0.92.0
cef7eb07 12Release: 11
6065adeb 13License: GPL
6afdf73c 14Group: X11/Window Managers
9f6c22c2 15Source0: ftp://windowmaker.info/pub/source/release/%{name}-%{version}.tar.gz
e5a452b3 16# Source0-md5: 678cb4a9b22a557cfb524dc3cb457c08
13614627 17Source1: %{name}-data.tar.gz
401d4860 18# Source1-md5: 6ea0c37314ea9e9ab27e8bdf45a31a82
9f6c22c2 19Source2: ftp://windowmaker.info/pub/source/release/%{name}-extra-%{extraver}.tar.gz
ef8f190c 20# Source2-md5: 07c7700daaaf232bc490f5abaabef085
8a7216f1 21Source3: %{name}.desktop
c394aa6d 22Source6: %{name}-xsession.desktop
c5cc5ea3
JB
23Patch0: %{name}-cvs.patch
24Patch1: %{name}-pl.po-update.patch
25Patch2: %{name}-CFLAGS.patch
26Patch3: %{name}-vfmg.patch
27Patch4: %{name}-shared.patch
28Patch5: %{name}-IconPosition.patch
29Patch6: %{name}-singleclick.patch
30Patch7: %{name}-plmenu.patch
31Patch8: %{name}-dockit.patch
b8c9ff58
JR
32Patch9: http://www.heily.com/mark/code_samples/appicon_captions_maxprotect.diff
33Patch10: %{name}-localenames.patch
e5a452b3 34Patch11: %{name}-0.91.0-translucency-1.patch
4d4a551d 35Patch12: %{name}-gnustep.patch
b71b73ac 36Patch13: %{name}-wine.patch
9f6c22c2 37URL: http://www.windowmaker.info/
73739733 38BuildRequires: autoconf
39BuildRequires: automake
40BuildRequires: gettext-devel
ac350167 41BuildRequires: giflib-devel
59eab725 42BuildRequires: libjpeg-devel >= 6b
d84b0102 43BuildRequires: libpng-devel >= 1.0.8
59eab725 44BuildRequires: libtiff-devel
8ad91a7b 45BuildRequires: libtool >= 1:1.4.2-9
f7902ba1 46BuildRequires: perl-base
a9598cb6 47BuildRequires: xorg-lib-libXext-devel
708638f0
MB
48BuildRequires: xorg-lib-libXft-devel
49BuildRequires: xorg-lib-libXpm-devel
914942eb 50Requires: %{name}-libs = %{version}-%{release}
e0c0ba01 51Requires: cpp >= 6:4.0.0
4fb0ccb0 52Requires: gnustep-dirs
e7b5e6e3 53Requires: tk
2a41d5da 54Requires: vfmg >= 0.9.95
d771c4fa 55Provides: WallpaperChanger
c5b61ba9 56Conflicts: filesystem < 3.0-20
fccc3bcf 57BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
d9ebe9d0 58
31c258d6 59%define _sysconfdir /etc/X11
c5b61ba9 60%define _wmpropsdir /usr/share/gnome/wm-properties
1aa4ad6f 61
d9ebe9d0 62%description
64677855 63Window Maker is an X11 window manager which emulates the look and feel
64of the NeXTSTEP (TM) graphical user interface. It is relatively fast,
65feature rich and easy to configure and use. Window Maker is part of
66the official GNU project, which means that Window Maker can
67interoperate with other GNU projects, such as GNOME.
68
69Window Maker allows users to switch themes 'on the fly,' to place
70favorite applications on either an application dock, similar to
71AfterStep's Wharf or on a workspace dock, a 'clip' which extends the
72application dock's usefulness.
73
74You should install the WindowMaker package if you use Window Maker as
75your window manager or if you'd like to try using it. If you do
76install the WindowMaker package, you may also want to install the
77AfterStep-APPS package, which includes applets that will work with
78both AfterStep and Window Maker window managers.
d9ebe9d0 79
68e5e0d5 80%description -l es.UTF-8
dac8609f 81WindowMaker es un administrador de ventanas proyectado para emular la
82apariencia de parte de la interface de usuario del NEXTSTEP(tm). Se
68e5e0d5
JR
83hizo para ser rápido, relativamente pequeño, rico en características y
84de configuración fácil, con una apariencia sencilla y elegante
dac8609f 85prestada del NEXTSTEP(tm).
86
68e5e0d5
JR
87%description -l fr.UTF-8
88Window Maker est un gestionnaire de fenêtres pour X11 qui cherche à
64677855 89reproduire l'allure et l'ergonomie ("look & feel") de l'interface
90graphique NeXTSTEP(tm) (aka OpenStep). Il est relativement rapide,
68e5e0d5 91évolué, et facile à configurer et à utiliser. Window Maker fait
64677855 92officiellement partie du projet GNU, ce qui signifie que Window Maker
68e5e0d5 93peut coopérer avec d'autres projets GNU, comme par exemple GNOME.
a0357e4b 94
68e5e0d5 95Window Maker permet de changer de thèmes facilement, de placer ses
64677855 96applications favorites soit sur un "dock" similaire au programme Wharf
68e5e0d5
JR
97de AfterStep, soit sur un dock intégré à l'espace de travail, appelé
98"clip" (trombone), et qui permet d'étendre les possibilités du dock
64677855 99principal.
100
68e5e0d5 101Vous devriez installer ce package si votre gestionnaire de fenêtres
64677855 102est Window Maker, ou si vous voulez l'essayer. Si vous installez le
68e5e0d5 103package Window Maker, vous voudrez peut-être installer aussi le
64677855 104package AfterStep-APPS, qui contient des "applets" (petites
68e5e0d5
JR
105applications) qui fonctionnent à la fois dans les gestionnaires de
106fenêtres AfterStep et Window Maker.
107
108%description -l pl.UTF-8
109WindowMaker jest zarządcą okien przypominającym wyglądem i wygodą
110obsługi interfejs systemu NeXTSTEP(tm). Jest szybki, stosunkowo mały,
111o dużych możliwościach i łatwy w konfiguracji. Konfiguruje się go
112myszką, za pomocą programu WPrefs wchodzącego w skład tego pakietu.
113
114%description -l pt_BR.UTF-8
115WindowMaker é um gerente de janelas projetado para emular a aparência
116de parte da interface de usuário do NEXTSTEP(tm). Feito para ser
117rápido, relativamente pequeno, rico em características e de
118configuração fácil, com uma aparência simples e elegante emprestada do
dac8609f 119NEXTSTEP(tm).
120
68e5e0d5
JR
121%description -l ru.UTF-8
122WindowMaker - это оконный менеджер, эмулирующий часть экранной среды
123NEXTSTEP(tm). Подразумевается что он относительно невелик, быстр,
124богат возможностями, легко настраивается и имеет простую и элегантную
125внешность, позаимствованную у NEXTSTEP(tm).
dac8609f 126
68e5e0d5
JR
127%description -l uk.UTF-8
128WindowMaker - це віконний менеджер, що емулює інтерфейс екранного
129середовища NEXTSTEP(tm). Його вважають відносно невеликим, швидким,
130багатим можливостями, легким для налагодження; він має просту та
131елегантну зовнішність, запозичену в NEXTSTEP(tm).
dac8609f 132
93b0edcb 133%package libs
134Summary: WindowMaker shared libraries
fe966ee8 135Summary(pl.UTF-8): Biblioteki współdzielone WindowMakera
93b0edcb 136Group: Libraries
be1caa66 137Obsoletes: libwraster2
93b0edcb 138
139%description libs
140This package contains shared libraries for run WindowMaker.
141
68e5e0d5
JR
142%description libs -l pl.UTF-8
143Ten pakiet zawiera biblioteki współdzielone niezbędne do pracy
144zarządcy okien WindowMaker.
93b0edcb 145
d9ebe9d0 146%package devel
863fbc90 147Summary: WindowMaker libraries - development part
fe966ee8
ER
148Summary(es.UTF-8): Bibliotecas y archivos de inclusión para WindowMaker
149Summary(fr.UTF-8): Librairies de WindowMaker
150Summary(pl.UTF-8): Biblioteki WindowMakera - część dla programistów
151Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para o WindowMaker
152Summary(ru.UTF-8): Библиотеки поддержки и .h файлы для WindowMaker
153Summary(uk.UTF-8): Бібліотеки підтримки та .h файли для WindowMaker
d67a7613 154Group: Development/Libraries
914942eb 155Requires: %{name}-libs = %{version}-%{release}
a9598cb6 156Requires: xorg-lib-libXext-devel
1749b2c9
JB
157Requires: xorg-lib-libXft-devel
158Requires: xorg-lib-libXpm-devel
be1caa66 159Obsoletes: libwraster2-devel
d9ebe9d0 160
161%description devel
162This package contains libraries for building WindowMaker-enhanced
163applications.
164
68e5e0d5
JR
165%description devel -l es.UTF-8
166Bibliotecas, archivos de inclusión, e etc. para desarrollar
dac8609f 167aplicaciones WindowMaker
168
68e5e0d5 169%description devel -l fr.UTF-8
64677855 170Ce paquet contient des librairies pour faire des applications mise en
171valeur par WindowMaker.
d9ebe9d0 172
68e5e0d5
JR
173%description devel -l pl.UTF-8
174Ten pakiet zawiera pliki nagłówkowe i biblioteki niezbędne do
175tworzenia aplikacji wykorzystujących możliwości zarządcy okien
64677855 176WindowMaker.
277563d6 177
68e5e0d5
JR
178%description devel -l pt_BR.UTF-8
179Arquivos de inclusão e bibliotecas para o desenvolvimento de programas
332c0ed7 180baseados no WindowMaker
dac8609f 181
68e5e0d5
JR
182%description devel -l ru.UTF-8
183Этот пакет содержит библиотеки и .h файлы, предназначенные для сборки
184приложений, использующих возможности WindowMaker.
dac8609f 185
68e5e0d5
JR
186%description devel -l uk.UTF-8
187Цей пакет містить бібліотеки та .h файли, призначені для прикладних
188програм, що використовують можливості WindowMaker.
dac8609f 189
d67a7613 190%package static
191Summary: WindowMaker static libraries
fe966ee8 192Summary(pl.UTF-8): Biblioteki statyczne WindowMakera
d771c4fa 193Summary(pt_BR.UTF-8): Componentes estáticos de desenvolvimento para o WindowMaker
fe966ee8
ER
194Summary(ru.UTF-8): Статические библиотеки поддержки для WindowMaker
195Summary(uk.UTF-8): Статичні бібліотеки підтримки для WindowMaker
d67a7613 196Group: Development/Libraries
914942eb 197Requires: %{name}-devel = %{version}-%{release}
d67a7613 198
199%description static
64677855 200This package contains static libraries for building
201WindowMaker-enhanced applications.
d67a7613 202
68e5e0d5 203%description static -l pl.UTF-8
3d2ff042 204Ten pakiet zawiera statyczne biblioteki do tworzenia aplikacji
68e5e0d5 205wykorzystujących możliwości zarządcy okien WindowMaker.
d67a7613 206
68e5e0d5
JR
207%description static -l pt_BR.UTF-8
208Instale este pacote se você deseja desenvolver para o WindowMaker,
209utilizando componentes estáticos (raramente necessário).
dac8609f 210
68e5e0d5
JR
211%description static -l ru.UTF-8
212Этот пакет содержит статические библиотеки предназначенные для сборки
213приложений, использующих возможности WindowMaker.
dac8609f 214
68e5e0d5
JR
215%description static -l uk.UTF-8
216Цей пакет містить статичні бібліотеки, призначені для прикладних
217програм, що використовують можливості WindowMaker.
dac8609f 218
d9ebe9d0 219%prep
39433f79 220%setup -q -a 1 -a 2
93b0edcb 221%patch0 -p1
6065adeb 222%patch1 -p1
b34a7eea 223%patch2 -p1
93b0edcb 224%patch3 -p1
73739733 225%patch4 -p1
97010e1c
AF
226%patch5 -p1
227%patch6 -p1
b77d1e67 228%patch7 -p1
73739733 229%patch8 -p1
b8c9ff58
JR
230%patch9 -p1
231%patch10 -p1
b06f10aa 232%patch11 -p1
4d4a551d 233%patch12 -p0
646906c6 234%patch13 -p1
f56b6188 235
236for f in WindowMaker/*menu*; do
4b57c242 237 sed -i s,/GNUstep/Apps,/GNUstep/Applications, $f
ec205697
ZU
238 sed -i s,/usr/lib/GNUstep/,%{_libdir}/GNUstep/, $f
239 sed -i s,/usr/local/GNUstep/,%{_libdir}/GNUstep/, $f
f56b6188 240done
d9ebe9d0 241
4b57c242 242
53f230f3 243mv -f po/{no,nb}.po
53f230f3 244
d9ebe9d0 245%build
527078e5
JB
246#%ifarch %{x8664}
247# hack, should be obsolete - needs check
248#export ac_cv_c_inline_asm=no
249#%endif
a73abeac 250%{__libtoolize}
7754edef 251%{__aclocal}
e3ee8068 252%{__autoheader}
279cab11 253%{__automake}
e3ee8068 254%{__autoconf}
893e1d6f 255cd %{name}-extra-%{extraver}
527078e5
JB
256%{__libtoolize}
257%{__aclocal}
258%{__autoconf}
259%{__automake}
893e1d6f 260cd ..
0cdf26dd 261
f7902ba1 262%{__perl} -pi -e 's/defaultAppIcon.#extension#;SharedAppIcon = Yes;/defaultAppIcon.#extension#;/' \
5433c2ae
JR
263 WindowMaker/Defaults/WMWindowAttributes.in
264
6065adeb 265%configure \
53f230f3
JB
266 CPP_PATH="/lib/cpp" \
267 LINGUAS="bg cs da de el es et fi fr gl hr hu it ja ko ms nb nl pl pt ro ru \
268 sk sv tr zh_CN zh_TW" \
6afdf73c 269 --disable-debug \
13614627 270 --disable-rpath \
1300bbfa 271 --enable-shared \
dbbb51d3 272 --enable-static \
d00313d8 273 --enable-usermenu \
4b57c242 274 --with-appspath=%{_libdir}/GNUstep/Applications \
e5a452b3 275 --with-nlsdir=%{_datadir}/locale \
276 --with-gnustepdir=%{_libdir}/GNUstep \
277 --enable-sound \
278 --enable-gnome \
279 --enable-kde
d84b0102 280
d6f5bfef
JR
281touch WindowMaker/Defaults/W*.in
282
332448e1 283%{__make} \
863fbc90
JB
284 CFLAGS="%{rpmcflags}" \
285 LDFLAGS="%{rpmldflags}"
22844fa5 286
279cab11 287%{__autoconf}
97010e1c 288cd %{name}-extra-%{extraver}
969bd3e0 289%configure \
dbbb51d3 290 --with-nlsdir=%{_datadir}/locale \
d771c4fa 291 --with-iconsdir=%{_pixmapsdir}
97010e1c 292
d9ebe9d0 293%install
294rm -rf $RPM_BUILD_ROOT
82bf67b6 295install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_pixmapsdir},%{_wmpropsdir}} \
db8b579f 296 $RPM_BUILD_ROOT/etc/sysconfig/wmstyle \
297 $RPM_BUILD_ROOT%{_datadir}/WindowMaker/{Sounds,SoundSets}
d9ebe9d0 298
332448e1 299%{__make} install \
dac8609f 300 DESTDIR=$RPM_BUILD_ROOT
d67a7613 301
dbbb51d3 302install util/bughint $RPM_BUILD_ROOT%{_bindir}
2820a2bc 303
304install contrib/dockit $RPM_BUILD_ROOT%{_bindir}
305install contrib/dockit.1 $RPM_BUILD_ROOT%{_mandir}/man1
d67a7613 306
03eed631 307install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_pixmapsdir}
4b57c242
KK
308#install %{SOURCE3} $RPM_BUILD_ROOT%{_wmpropsdir}
309sed s,@LIBDIR@,%{_libdir}, %{SOURCE3} > $RPM_BUILD_ROOT%{_wmpropsdir}/WindowMaker.desktop
d67a7613 310
f0cd3eb4 311install %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/xsessions/WindowMaker.desktop
4b57c242
KK
312#sed s,@LIBDIR@,%{_libdir}, %{SOURCE6} > $RPM_BUILD_ROOT%{_datadir}/xsessions/WindowMaker.desktop
313
783288f3 314
527078e5 315%{__make} -C %{name}-extra-%{extraver} install \
aef881d6 316 DESTDIR=$RPM_BUILD_ROOT
97010e1c 317
969bd3e0 318%find_lang %{name} --all-name
1aa4ad6f 319
d9ebe9d0 320%clean
8a7216f1 321rm -rf $RPM_BUILD_ROOT
d9ebe9d0 322
6176c1e0 323%post libs -p /sbin/ldconfig
3d2ff042
JB
324%postun libs -p /sbin/ldconfig
325
f1f24d1f 326%files -f %{name}.lang
d67a7613 327%defattr(644,root,root,755)
6065adeb 328%doc AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
d67a7613 329
64677855 330%dir %{_sysconfdir}/WindowMaker
d84b0102 331%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/WindowMaker/*
2ac725fd 332
dbbb51d3 333%{_mandir}/man1/*
6065adeb 334%lang(sk) %{_mandir}/sk/man1/*
d67a7613 335
7910b38b 336%{_pixmapsdir}/*
863fbc90 337%{_wmpropsdir}/WindowMaker.desktop
d9ebe9d0 338
bb97636f 339%attr(755,root,root) %{_bindir}/convertfonts
cfa92b98 340%attr(755,root,root) %{_bindir}/bughint
dbbb51d3 341%attr(755,root,root) %{_bindir}/geticonset
342%attr(755,root,root) %{_bindir}/getstyle
343%attr(755,root,root) %{_bindir}/seticons
344%attr(755,root,root) %{_bindir}/setstyle
345%attr(755,root,root) %{_bindir}/wdwrite
cfa92b98 346%attr(755,root,root) %{_bindir}/wdread
dbbb51d3 347%attr(755,root,root) %{_bindir}/wkdemenu.pl
348%attr(755,root,root) %{_bindir}/wm-oldmenu2new
cfa92b98 349%attr(755,root,root) %{_bindir}/wmagnify
dbbb51d3 350%attr(755,root,root) %{_bindir}/wmaker
351%attr(755,root,root) %{_bindir}/wmaker.inst
352%attr(755,root,root) %{_bindir}/wmsetbg
6065adeb 353%attr(755,root,root) %{_bindir}/wmsetup
dbbb51d3 354%attr(755,root,root) %{_bindir}/wxcopy
355%attr(755,root,root) %{_bindir}/wxpaste
d3a1753c 356%attr(755,root,root) %{_bindir}/dockit
d67a7613 357
dbbb51d3 358%{_datadir}/WindowMaker
c394aa6d 359%{_datadir}/xsessions/WindowMaker.desktop
d67a7613 360
82bf67b6 361# the first one is shared with gnustep-make...
e5a452b3 362%dir %{_libdir}/GNUstep/Applications
363%dir %{_libdir}/GNUstep/Applications/WPrefs.app
d67a7613 364
e5a452b3 365%attr(755,root,root) %{_libdir}/GNUstep/Applications/WPrefs.app/WPrefs
d67a7613 366
e5a452b3 367%{_libdir}/GNUstep/Applications/WPrefs.app/tiff
368%{_libdir}/GNUstep/Applications/WPrefs.app/xpm
369%{_libdir}/GNUstep/Applications/WPrefs.app/WPrefs.tiff
370%{_libdir}/GNUstep/Applications/WPrefs.app/WPrefs.xpm
4629927a 371
93b0edcb 372%files libs
373%defattr(644,root,root,755)
dbbb51d3 374%attr(755,root,root) %{_libdir}/lib*.so.*.*
d125cce3 375%attr(755,root,root) %ghost %{_libdir}/libExtraWINGs.so.0
376%attr(755,root,root) %ghost %{_libdir}/libWINGs.so.0
377%attr(755,root,root) %ghost %{_libdir}/libWMaker.so.0
378%attr(755,root,root) %ghost %{_libdir}/libWUtil.so.0
379%attr(755,root,root) %ghost %{_libdir}/libwraster.so.3
dbbb51d3 380%{_datadir}/WINGs
93b0edcb 381
d9ebe9d0 382%files devel
d67a7613 383%defattr(644,root,root,755)
893e1d6f 384%attr(755,root,root) %{_bindir}/get-wings-flags
dbbb51d3 385%attr(755,root,root) %{_bindir}/get-wraster-flags
893e1d6f 386%attr(755,root,root) %{_bindir}/get-wutil-flags
c9d049d2
JB
387%attr(755,root,root) %{_libdir}/lib*.so
388%{_libdir}/lib*.la
bdb735d2 389%{_includedir}/*
c9d049d2 390%{_pkgconfigdir}/*.pc
d67a7613 391
93b0edcb 392%files static
393%defattr(644,root,root,755)
dbbb51d3 394%{_libdir}/lib*.a
This page took 0.12417 seconds and 4 git commands to generate.