Summary(fr): Gestionnaire de fenêtres avec le look NeXT
Summary(pl): Mened¿er okien w stylu NeXT
Name: WindowMaker
-Version: 0.61.1
-Release: 4
+Version: 0.64.0
+Release: 4
Group: X11/Window Managers
+Group(es): X11/Administraadores De Ventanas
+Group(fr): X11/Gestionnaires De Fenêtres
Group(pl): X11/Zarz±dcy Okien
License: GPL
Source0: ftp://ftp.windowmaker.org/pub/beta/srcs/%{name}-%{version}.tar.bz2
Source1: ftp://windowmaker.org/pub/%{name}-data.tar.gz
Source2: ftp://ftp.windowmaker.org/pub/beta/srcs/%{name}-extra-%{extraver}.tar.gz
-Source3: WindowMaker.desktop
-Patch0: WindowMaker-CFLAGS.patch
-Patch1: WindowMaker-wmconfig.patch
-Patch2: WindowMaker-a_macro.patch
-Patch3: WindowMaker-pixmaps.patch
-Patch4: WindowMaker-shared.patch
-Patch5: WindowMaker-areas.patch
-Patch6: WindowMaker-runinst.patch
-Patch7: Windowmaker-WINGs.h.patch
-Patch8: WindowMaker-singleclick.patch
-Patch9: WindowMaker-cvs19991010.patch
-Patch10: WindowMaker-plmenu.patch
-Patch11: WindowMaker-dockit.patch
+Source3: %{name}.desktop
+Source4: %{name}.RunWM
+Source5: %{name}.wm_style
+Patch0: %{name}-CFLAGS.patch
+Patch1: %{name}-wmconfig.patch
+Patch2: %{name}-a_macro.patch
+Patch3: %{name}-pixmaps.patch
+Patch4: %{name}-shared.patch
+Patch5: %{name}-areas.patch
+Patch6: %{name}-runinst.patch
+Patch7: %{name}-IconPosition.patch
+Patch8: %{name}-singleclick.patch
+Patch9: %{name}-plmenu.patch
+Patch10: %{name}-dockit.patch
URL: http://www.windowmaker.org/
-BuildRequires: libPropList-devel >= 0.9.1
-BuildRequires: xpm-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: libPropList-devel >= 0.10.1
BuildRequires: libpng >= 1.0.8
BuildRequires: libjpeg-devel >= 6b
BuildRequires: libtiff-devel
BuildRequires: libungif-devel
-BuildRequires: gettext-devel
-Requires: wmconfig
-Requires: /lib/cpp
+Requires: wmconfig >= 0.9.9-5
+Requires: cpp
Requires: %{name}-libs = %{version}
Requires: tk
+Requires: xinitrc >= 3.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
%define _mandir %{_prefix}/man
%define _sysconfdir /etc/X11
+%define _wmpropsdir %{_datadir}/wm-properties
%description
Window Maker is an X11 window manager which emulates the look and feel
mened¿era okien WindowMaker.
%package devel
-Summary: WindowMaker libraries
+Summary: WindowMaker libraries - development part
Summary(fr): Librairies de WindowMaker
-Summary(pl): Biblioteki WindowMakera
+Summary(pl): Biblioteki WindowMakera - czê¶æ dla programistów
Group: Development/Libraries
Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
%patch8 -p1
%patch9 -p1
%patch10 -p1
-%patch11 -p1
%build
+aclocal
autoconf
+automake -a -c
LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru \
se sk tr zh_CN zh_TW.Big5" ; export LINGUAS
CPP_PATH="/lib/cpp" ; export CPP_PATH
%configure \
--with-nlsdir=%{_datadir}/locale \
+ --with-appspath=%{_libdir}/GNUstep/Apps \
--enable-sound \
--enable-gnome \
--disable-debug \
%{__make} \
LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru \
se sk tr zh_CN zh_TW.Big5" \
- CFLAGS="$RPM_OPT_FLAGS" \
- LDFLAGS="-s"
+ CFLAGS="%{rpmcflags}" \
+ LDFLAGS="%{rpmldflags}"
autoconf
cd %{name}-extra-%{extraver}
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure %{_target_platform} \
- --prefix=%{_prefix} \
- --mandir=%{_mandir} \
+%configure \
--with-nlsdir=%{_datadir}/locale \
--with-iconsdir=%{_datadir}/pixmaps
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/{pixmaps,gnome/wm-properties}
+install -d $RPM_BUILD_ROOT{%{_datadir}/pixmaps,%{_wmpropsdir}} \
+ $RPM_BUILD_ROOT/etc/sysconfig/wmstyle
%{__make} install \
LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru \
install contrib/dockit.1 $RPM_BUILD_ROOT%{_mandir}/man1
install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_datadir}/pixmaps
-install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
+install %{SOURCE3} $RPM_BUILD_ROOT%{_wmpropsdir}
+
+install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
+install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
(cd %{name}-extra-%{extraver};
%{__make} DESTDIR=$RPM_BUILD_ROOT install )
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
+gzip -9nf AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
- AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
+%find_lang %{name} --all-name
-%find_lang %{name}
-%find_lang WPrefs
-cat WPrefs.lang >> %{name}.lang
-
-%post libs -p /sbin/ldconfig
+%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%clean
-rm -r $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc {AUTHORS,BUGFORM,BUGS,ChangeLog,FAQ,NEWS,README}.gz
+%doc *.gz
%dir %{_sysconfdir}/WindowMaker
%config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/*
+%attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
+/etc/sysconfig/wmstyle/*.names
+
%{_mandir}/man1/*
-%{_datadir}/pixmaps/*
-%{_datadir}/gnome/wm-properties/WindowMaker.desktop
+%{_pixmapsdir}/*
+%{_wmpropsdir}/WindowMaker.desktop
+%attr(755,root,root) %{_bindir}/bughint
%attr(755,root,root) %{_bindir}/geticonset
%attr(755,root,root) %{_bindir}/getstyle
%attr(755,root,root) %{_bindir}/seticons
%attr(755,root,root) %{_bindir}/setstyle
%attr(755,root,root) %{_bindir}/wdwrite
+%attr(755,root,root) %{_bindir}/wdread
%attr(755,root,root) %{_bindir}/wkdemenu.pl
%attr(755,root,root) %{_bindir}/wm-oldmenu2new
+%attr(755,root,root) %{_bindir}/wmagnify
%attr(755,root,root) %{_bindir}/wmaker
%attr(755,root,root) %{_bindir}/wmaker.inst
%attr(755,root,root) %{_bindir}/wmsetbg
+%attr(755,root,root) %{_bindir}/wmchlocale
%attr(755,root,root) %{_bindir}/wsetfont
%attr(755,root,root) %{_bindir}/wxcopy
%attr(755,root,root) %{_bindir}/wxpaste
%{_datadir}/WindowMaker
-%dir %{_prefix}/GNUstep
-%dir %{_prefix}/GNUstep/Apps
-%dir %{_prefix}/GNUstep/Apps/WPrefs.app
+%dir %{_libdir}/GNUstep
+%dir %{_libdir}/GNUstep/Apps
+%dir %{_libdir}/GNUstep/Apps/WPrefs.app
-%attr(755,root,root) %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs
+%attr(755,root,root) %{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs
-%{_prefix}/GNUstep/Apps/WPrefs.app/tiff
-%{_prefix}/GNUstep/Apps/WPrefs.app/xpm
-%{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.tiff
-%{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.xpm
+%{_libdir}/GNUstep/Apps/WPrefs.app/tiff
+%{_libdir}/GNUstep/Apps/WPrefs.app/xpm
+%{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs.tiff
+%{_libdir}/GNUstep/Apps/WPrefs.app/WPrefs.xpm
%files libs
%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/get-wings-flags
+%attr(755,root,root) %{_bindir}/get-wraster-flags
+%attr(755,root,root) %{_bindir}/get-wutil-flags
%attr(755,root,root) %{_libdir}/lib*.so.*.*
%{_datadir}/WINGs
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/lib*.so
%attr(755,root,root) %{_bindir}/get-wraster-flags
-%{_includedir}/*.h
+%{_includedir}/*
%{_libdir}/lib*.la
%files static