File icewm-lite.spec of Package icewm-lite

# spec file for package icewm-lite (Version 1.2.38)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           icewm-lite
BuildRequires:  freetype2-devel gcc-c++ xorg-x11-devel
License:        LGPLv2.1+
Group:          System/GUI/Other
Provides:       icewm-bin
Requires:       icewm
Conflicts:      icewm-default
AutoReqProv:    on
Version:        1.2.38
Release:        4
%define real_version 1.2.38pre1
Source:         icewm-%{real_version}.tar.bz2
Patch1:         icewm-multiByte.patch
Patch2:         icewm-menu.patch
Patch3:         icewm-docdir.patch
Patch4:         icewm-1.2.30-strict-aliasing.patch
Patch5:         icewm-1.2.35-override-config.patch
Patch8:         icewm-1.2.35-empty-winmenu.patch
Patch9:         icewm-1.2.35-unaligned-access.patch
Patch10:        icewm-1.2.36-gnome-compilation.patch
Patch11:        icewm-1.2.38pre1-bad-delete.patch
Summary:        IceWM Window Manager--Lite Version
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Window manager for the X Window System that can emulate the look of
Windows 95, OS/2 Warp 3,4, Motif. It tries to take the best features of
the above systems. It features multiple workspaces, opaque move and
resize. It is fast and small.

The icewm-default package features a taskbar, window list, mailbox
status and digital clock in addition to that.

    Marko Macek <>

%setup -q -n icewm-%real_version
%patch0 -p1
%patch10 -p1
%patch11 -p1

%{?suse_update_config:%{suse_update_config -f}}
./configure --without-debug \
	    --sysconfdir=/etc \
	    --with-cfgdir=/etc/icewm \
	    --prefix=/usr \
	    --with-docdir=%{_docdir} \
	    --enable-i18n \
	    --disable-nls \
	    --disable-guievents \
	    --with-xpm \
	    --disable-winmenu \
	    --enable-lite \
make %{?jobs:-j%jobs}

mkdir -p $RPM_BUILD_ROOT/usr/bin
cd src
install icewm icewmhint icewmbg icesh icewm-session $RPM_BUILD_ROOT/usr/bin