Summary(uk): WindowMaker - צËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
Name: WindowMaker
Version: 0.91.0
-Release: 1
+Release: 7
License: GPL
Group: X11/Window Managers
Source0: ftp://ftp.windowmaker.org/pub/source/release/%{name}-%{version}.tar.gz
# Source0-md5: be07953e905d1e42fe7a65ac2193a5f9
-Source1: ftp://windowmaker.org/pub/%{name}-data.tar.gz
+Source1: %{name}-data.tar.gz
# Source1-md5: 6ea0c37314ea9e9ab27e8bdf45a31a82
Source2: ftp://ftp.windowmaker.org/pub/source/release/%{name}-extra-%{extraver}.tar.gz
# Source2-md5: 07c7700daaaf232bc490f5abaabef085
Patch8: %{name}-pl.po-update.patch
Patch9: http://www.heily.com/mark/code_samples/appicon_captions_maxprotect.diff
Patch10: %{name}-localenames.patch
+Patch11: %{name}-updateIconImage.patch
+Patch12: %{name}-0.91.0-translucency-1.patch
URL: http://www.windowmaker.org/
BuildRequires: XFree86-devel
BuildRequires: autoconf
BuildRequires: libtiff-devel
BuildRequires: libtool >= 1:1.4.2-9
BuildRequires: libungif-devel
+BuildRequires: perl-base
BuildRequires: xft-devel
Requires: %{name}-libs = %{version}-%{release}
Requires: cpp
+Requires: gnustep-dirs
Requires: tk
Requires: vfmg
Requires: xinitrc-ng
%package devel
Summary: WindowMaker libraries - development part
-Summary(es): Bibliotecas, archivos de inclusión, e etc. para desarrollar aplicaciones WindowMaker
+Summary(es): Bibliotecas y archivos de inclusión para WindowMaker
Summary(fr): Librairies de WindowMaker
Summary(pl): Biblioteki WindowMakera - czê¶æ dla programistów
Summary(pt_BR): Arquivos de inclusão e bibliotecas para o WindowMaker
%patch8 -p1
%patch9 -p1
%patch10 -p1
+%patch11 -p1
+%patch12 -p1
for f in WindowMaker/*menu*; do
sed -i s,/usr/lib/GNUstep/,%{_libdir}/GNUstep/, $f
%{__automake}
cd ..
-perl -pi -e 's/defaultAppIcon.#extension#;SharedAppIcon = Yes;/defaultAppIcon.#extension#;/' \
+%{__perl} -pi -e 's/defaultAppIcon.#extension#;SharedAppIcon = Yes;/defaultAppIcon.#extension#;/' \
WindowMaker/Defaults/WMWindowAttributes.in
%configure \
CPP_PATH="/lib/cpp" \
LINGUAS="bg cs da de el es et fi fr gl hr hu it ja ko ms nb nl pl pt ro ru \
sk sv tr zh_CN zh_TW" \
- --disable-rpath \
- --with-nlsdir=%{_datadir}/locale \
- --with-appspath=%{_libdir}/GNUstep/Apps \
- --enable-sound \
- --enable-gnome \
--disable-debug \
- --enable-kde \
+ --disable-rpath \
--enable-shared \
--enable-static \
--enable-usermenu \
+ --with-appspath=%{_libdir}/GNUstep/Apps \
+ --with-nlsdir=%{_datadir}/locale
touch WindowMaker/Defaults/W*.in
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_pixmapsdir},%{_wmpropsdir}} \
- $RPM_BUILD_ROOT/etc/sysconfig/wmstyle
+ $RPM_BUILD_ROOT/etc/sysconfig/wmstyle \
+ $RPM_BUILD_ROOT%{_datadir}/WindowMaker/{Sounds,SoundSets}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%{_datadir}/xsessions/WindowMaker.desktop
# the first one is shared with gnustep-make...
-%dir %{_libdir}/GNUstep
%dir %{_libdir}/GNUstep/Apps
%dir %{_libdir}/GNUstep/Apps/WPrefs.app