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