]> git.pld-linux.org Git - packages/WindowMaker.git/blame - WindowMaker.spec
*** empty log message ***
[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
b71b73ac 12Release: 9
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
b71b73ac 234%patch14 -p0
f56b6188 235
236for f in WindowMaker/*menu*; do
ec205697
ZU
237 sed -i s,/usr/lib/GNUstep/,%{_libdir}/GNUstep/, $f
238 sed -i s,/usr/local/GNUstep/,%{_libdir}/GNUstep/, $f
f56b6188 239done
d9ebe9d0 240
53f230f3 241mv -f po/{no,nb}.po
53f230f3 242
d9ebe9d0 243%build
527078e5
JB
244#%ifarch %{x8664}
245# hack, should be obsolete - needs check
246#export ac_cv_c_inline_asm=no
247#%endif
a73abeac 248%{__libtoolize}
7754edef 249%{__aclocal}
e3ee8068 250%{__autoheader}
279cab11 251%{__automake}
e3ee8068 252%{__autoconf}
893e1d6f 253cd %{name}-extra-%{extraver}
527078e5
JB
254%{__libtoolize}
255%{__aclocal}
256%{__autoconf}
257%{__automake}
893e1d6f 258cd ..
0cdf26dd 259
f7902ba1 260%{__perl} -pi -e 's/defaultAppIcon.#extension#;SharedAppIcon = Yes;/defaultAppIcon.#extension#;/' \
5433c2ae
JR
261 WindowMaker/Defaults/WMWindowAttributes.in
262
6065adeb 263%configure \
53f230f3
JB
264 CPP_PATH="/lib/cpp" \
265 LINGUAS="bg cs da de el es et fi fr gl hr hu it ja ko ms nb nl pl pt ro ru \
266 sk sv tr zh_CN zh_TW" \
6afdf73c 267 --disable-debug \
13614627 268 --disable-rpath \
1300bbfa 269 --enable-shared \
dbbb51d3 270 --enable-static \
d00313d8 271 --enable-usermenu \
13614627 272 --with-appspath=%{_libdir}/GNUstep/Apps \
e5a452b3 273 --with-nlsdir=%{_datadir}/locale \
274 --with-gnustepdir=%{_libdir}/GNUstep \
275 --enable-sound \
276 --enable-gnome \
277 --enable-kde
d84b0102 278
d6f5bfef
JR
279touch WindowMaker/Defaults/W*.in
280
332448e1 281%{__make} \
863fbc90
JB
282 CFLAGS="%{rpmcflags}" \
283 LDFLAGS="%{rpmldflags}"
22844fa5 284
279cab11 285%{__autoconf}
97010e1c 286cd %{name}-extra-%{extraver}
969bd3e0 287%configure \
dbbb51d3 288 --with-nlsdir=%{_datadir}/locale \
d771c4fa 289 --with-iconsdir=%{_pixmapsdir}
97010e1c 290
d9ebe9d0 291%install
292rm -rf $RPM_BUILD_ROOT
82bf67b6 293install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_pixmapsdir},%{_wmpropsdir}} \
db8b579f 294 $RPM_BUILD_ROOT/etc/sysconfig/wmstyle \
295 $RPM_BUILD_ROOT%{_datadir}/WindowMaker/{Sounds,SoundSets}
d9ebe9d0 296
332448e1 297%{__make} install \
dac8609f 298 DESTDIR=$RPM_BUILD_ROOT
d67a7613 299
dbbb51d3 300install util/bughint $RPM_BUILD_ROOT%{_bindir}
2820a2bc 301
302install contrib/dockit $RPM_BUILD_ROOT%{_bindir}
303install contrib/dockit.1 $RPM_BUILD_ROOT%{_mandir}/man1
d67a7613 304
03eed631 305install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_pixmapsdir}
863fbc90 306install %{SOURCE3} $RPM_BUILD_ROOT%{_wmpropsdir}
d67a7613 307
f0cd3eb4 308install %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/xsessions/WindowMaker.desktop
783288f3 309
527078e5 310%{__make} -C %{name}-extra-%{extraver} install \
aef881d6 311 DESTDIR=$RPM_BUILD_ROOT
97010e1c 312
969bd3e0 313%find_lang %{name} --all-name
1aa4ad6f 314
d9ebe9d0 315%clean
8a7216f1 316rm -rf $RPM_BUILD_ROOT
d9ebe9d0 317
6176c1e0 318%post libs -p /sbin/ldconfig
3d2ff042
JB
319%postun libs -p /sbin/ldconfig
320
f1f24d1f 321%files -f %{name}.lang
d67a7613 322%defattr(644,root,root,755)
6065adeb 323%doc AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
d67a7613 324
64677855 325%dir %{_sysconfdir}/WindowMaker
d84b0102 326%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/WindowMaker/*
2ac725fd 327
dbbb51d3 328%{_mandir}/man1/*
6065adeb 329%lang(sk) %{_mandir}/sk/man1/*
d67a7613 330
7910b38b 331%{_pixmapsdir}/*
863fbc90 332%{_wmpropsdir}/WindowMaker.desktop
d9ebe9d0 333
bb97636f 334%attr(755,root,root) %{_bindir}/convertfonts
cfa92b98 335%attr(755,root,root) %{_bindir}/bughint
dbbb51d3 336%attr(755,root,root) %{_bindir}/geticonset
337%attr(755,root,root) %{_bindir}/getstyle
338%attr(755,root,root) %{_bindir}/seticons
339%attr(755,root,root) %{_bindir}/setstyle
340%attr(755,root,root) %{_bindir}/wdwrite
cfa92b98 341%attr(755,root,root) %{_bindir}/wdread
dbbb51d3 342%attr(755,root,root) %{_bindir}/wkdemenu.pl
343%attr(755,root,root) %{_bindir}/wm-oldmenu2new
cfa92b98 344%attr(755,root,root) %{_bindir}/wmagnify
dbbb51d3 345%attr(755,root,root) %{_bindir}/wmaker
346%attr(755,root,root) %{_bindir}/wmaker.inst
347%attr(755,root,root) %{_bindir}/wmsetbg
6065adeb 348%attr(755,root,root) %{_bindir}/wmsetup
dbbb51d3 349%attr(755,root,root) %{_bindir}/wxcopy
350%attr(755,root,root) %{_bindir}/wxpaste
d3a1753c 351%attr(755,root,root) %{_bindir}/dockit
d67a7613 352
dbbb51d3 353%{_datadir}/WindowMaker
c394aa6d 354%{_datadir}/xsessions/WindowMaker.desktop
d67a7613 355
82bf67b6 356# the first one is shared with gnustep-make...
e5a452b3 357%dir %{_libdir}/GNUstep/Applications
358%dir %{_libdir}/GNUstep/Applications/WPrefs.app
d67a7613 359
e5a452b3 360%attr(755,root,root) %{_libdir}/GNUstep/Applications/WPrefs.app/WPrefs
d67a7613 361
e5a452b3 362%{_libdir}/GNUstep/Applications/WPrefs.app/tiff
363%{_libdir}/GNUstep/Applications/WPrefs.app/xpm
364%{_libdir}/GNUstep/Applications/WPrefs.app/WPrefs.tiff
365%{_libdir}/GNUstep/Applications/WPrefs.app/WPrefs.xpm
4629927a 366
93b0edcb 367%files libs
368%defattr(644,root,root,755)
dbbb51d3 369%attr(755,root,root) %{_libdir}/lib*.so.*.*
d125cce3 370%attr(755,root,root) %ghost %{_libdir}/libExtraWINGs.so.0
371%attr(755,root,root) %ghost %{_libdir}/libWINGs.so.0
372%attr(755,root,root) %ghost %{_libdir}/libWMaker.so.0
373%attr(755,root,root) %ghost %{_libdir}/libWUtil.so.0
374%attr(755,root,root) %ghost %{_libdir}/libwraster.so.3
dbbb51d3 375%{_datadir}/WINGs
93b0edcb 376
d9ebe9d0 377%files devel
d67a7613 378%defattr(644,root,root,755)
893e1d6f 379%attr(755,root,root) %{_bindir}/get-wings-flags
dbbb51d3 380%attr(755,root,root) %{_bindir}/get-wraster-flags
893e1d6f 381%attr(755,root,root) %{_bindir}/get-wutil-flags
c9d049d2
JB
382%attr(755,root,root) %{_libdir}/lib*.so
383%{_libdir}/lib*.la
bdb735d2 384%{_includedir}/*
c9d049d2 385%{_pkgconfigdir}/*.pc
d67a7613 386
93b0edcb 387%files static
388%defattr(644,root,root,755)
dbbb51d3 389%{_libdir}/lib*.a
This page took 0.110666 seconds and 4 git commands to generate.