1999-08-17 15:56:46 -07:00
|
|
|
# Note that this is NOT a relocatable package
|
2000-07-27 14:23:28 -07:00
|
|
|
%define ver 0.16.5
|
1999-08-17 15:56:46 -07:00
|
|
|
%define rel 1
|
|
|
|
%define prefix /usr
|
|
|
|
|
|
|
|
Summary: The Enlightenment window manager.
|
|
|
|
Name: enlightenment
|
|
|
|
Version: %ver
|
|
|
|
Release: %rel
|
|
|
|
Copyright: GPL
|
|
|
|
Group: User Interface/Desktops
|
2000-03-27 12:34:10 -08:00
|
|
|
Source: ftp://ftp.enlightenment.org/pub/enlightenment/enlightenment-%{ver}.tar.gz
|
1999-08-17 15:56:46 -07:00
|
|
|
BuildRoot: /tmp/e-%{ver}-root
|
2000-09-28 10:58:58 -07:00
|
|
|
Packager: Mandrake <mandrake@valinux.com>
|
2000-03-27 12:34:10 -08:00
|
|
|
URL: http://www.enlightenment.org
|
1999-10-25 16:43:45 -07:00
|
|
|
Requires: imlib >= 1.9.8
|
|
|
|
Requires: fnlib >= 0.5
|
1999-08-17 15:56:46 -07:00
|
|
|
Requires: freetype >= 1.1
|
1999-10-25 16:43:45 -07:00
|
|
|
Requires: esound >= 0.2.13
|
1999-08-17 15:56:46 -07:00
|
|
|
|
|
|
|
Docdir: %{prefix}/doc
|
|
|
|
|
|
|
|
%description
|
|
|
|
Enlightenment is a window manager for the X Window System that
|
|
|
|
is designed to be powerful, extensible, configurable and
|
|
|
|
pretty darned good looking! It is one of the more graphically
|
|
|
|
intense window managers.
|
|
|
|
|
|
|
|
Enlightenment goes beyond managing windows by providing a useful
|
|
|
|
and appealing graphical shell from which to work. It is open
|
|
|
|
in design and instead of dictating a policy, allows the user to
|
|
|
|
define their own policy, down to every last detail.
|
|
|
|
|
|
|
|
This package will install the Enlightenment window manager.
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
|
|
|
# Optimize that damned code all the way
|
|
|
|
if [ ! -z "`echo -n ${RPM_OPT_FLAGS} | grep pentium`" ]; then
|
|
|
|
if [ ! -z "`which egcs`" ]; then
|
|
|
|
CC="egcs"
|
|
|
|
else
|
|
|
|
if [ ! -z "`which pgcc`" ]; then
|
|
|
|
CC="pgcc"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
CFLAGS="${RPM_OPT_FLAGS}"
|
|
|
|
else
|
|
|
|
CFLAGS="${RPM_OPT_FLAGS}"
|
|
|
|
fi
|
|
|
|
if [ ! -f configure ]; then
|
1999-10-19 03:56:41 -07:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --enable-fsstd --enable-upgrade=no
|
1999-08-17 15:56:46 -07:00
|
|
|
else
|
1999-10-19 03:56:41 -07:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --enable-fsstd --enable-upgrade=no
|
1999-08-17 15:56:46 -07:00
|
|
|
fi
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
make prefix=$RPM_BUILD_ROOT%{prefix} install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
|
|
|
|
%{prefix}/share/enlightenment/*
|
|
|
|
%{prefix}/bin/*
|
1999-10-21 04:31:12 -07:00
|
|
|
%{prefix}/man/man1/*
|
1999-08-17 15:56:46 -07:00
|
|
|
|
|
|
|
%doc AUTHORS
|
|
|
|
%doc COPYING
|
|
|
|
%doc INSTALL
|
|
|
|
%doc README
|
|
|
|
%doc FAQ
|