#
# Conditional build:
-%bcond_without gradients # disable gradients (implies with_antialiasing)
-%bcond_without antialiasing # disable antialiasing
+%bcond_without gradients # disable gradients (requires antialiasing which requires freetype)
%bcond_without freetype # disable xfreetype support (implies !with_antialiasing)
%bcond_without guievents # disable guievents
-%bcond_without imlib # disable imlib support
#
# TODO:
# - make a PLD-theme - default :]
# - -home_etc.patch needs update
Summary: IceWM X11 Window Manager
+Summary(de.UTF-8): IceWM ist ein Window Manager für X
Summary(es.UTF-8): Administrador de Ventanas X11
Summary(pl.UTF-8): IceWM - zarządca okienek X11
Summary(pt_BR.UTF-8): Gerenciador de Janelas X11
Summary(ru.UTF-8): Оконный менеджер для X11
Summary(uk.UTF-8): Віконний менеджер для X11
-Summary(de.UTF-8): IceWM ist ein Window Manager für X
Name: icewm
-Version: 1.2.32
+Version: 1.3.6
#%define _pre pre1
%define _iceicons_ver 0.6
%define _netscapeicons_ver 0.2
-Release: 2
+Release: 1
Epoch: 2
License: LGPL
Group: X11/Window Managers
#Source0: http://dl.sourceforge.net/icewm/%{name}-%{version}%{_pre}.tar.gz
Source0: http://dl.sourceforge.net/icewm/%{name}-%{version}.tar.gz
-# Source0-md5: 49084971689c04b739766a3f5d576d83
+# Source0-md5: 65a7ddb0fb3f60abea4af52184382570
Source1: IceWM.desktop
Source3: http://dl.sourceforge.net/icewm/iceicons-%{_iceicons_ver}.tar.gz
# Source3-md5: 53ed111a3c4d1e609bd1604ddccd4701
# exctracted from http://ftp.de.debian.org/debian/pool/main/i/icewm/icewm_1.2.32-2.diff.gz
Patch3: %{name}-tray_hotfixes.patch
URL: http://www.icewm.org/
-BuildRequires: xorg-lib-libX11-devel
BuildRequires: autoconf >= 2.50
BuildRequires: automake
%{?with_guievents:BuildRequires: esound-devel}
+BuildRequires: gdk-pixbuf-devel
BuildRequires: gettext-devel
-%{?with_imlib:BuildRequires: imlib-devel}
+BuildRequires: gtk+2-devel
+BuildRequires: kde4-kde3support
BuildRequires: libstdc++-devel
-#%:wq
+BuildRequires: pkgconfig
+BuildRequires: xorg-lib-libICE-devel
+BuildRequires: xorg-lib-libSM-devel
+BuildRequires: xorg-lib-libX11-devel
%{?with_freetype:BuildRequires: xorg-lib-libXft-devel >= 2.1}
+BuildRequires: xorg-lib-libXinerama-devel
%{?with_guievents:BuildRequires: yiff-devel}
Requires(pre): fileutils
Requires(pre): sh-utils
-Requires: vfmg >= 0.9.95
Requires: xinitrc-ng
+Suggests: vfmg >= 0.9.95
+Conflicts: filesystem < 3.0-20
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _wmstyledir /etc/sysconfig/wmstyle
-%define _wmpropsdir /usr/share/wm-properties
-%define specflags_ia32 -fomit-frame-pointer
+%define _wmpropsdir /usr/share/gnome/wm-properties
+%define specflags_ia32 -fomit-frame-pointer
%description
Window Manager for X Window System. Can emulate the look of
%patch0 -p1
#patch1 -p1
#patch2 -p1
-%patch3 -p1
-
-mv -f po/{zh_TW.Big5,zh_TW}.po
+#patch3 -p1
cd lib/icons
tar -xzf %{SOURCE3}
%{__autoconf}
%{__autoheader}
%configure \
- %{?with_gradients:--enable-gradients} \
- %{?with_antialiasing:--enable-antialiasing} \
+ %{!?with_gradients:--disable-gradients} \
%{!?with_freetype:--disable-xfreetype --enable-corefonts} \
%{?with_guievents:--enable-guievents} \
- %{!?with_imlib:--without-imlib} \
- --disable-menus-gnome \
--enable-shaped-decorations \
--with-cfgdir=%{_sysconfdir}/X11/%{name} \
--with-docdir=%{_docdir}