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