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