e16/e16.spec.in

66 lines
2.1 KiB
Plaintext

Summary: The Enlightenment window manager, DR16.
Name: @PACKAGE@
Version: @ENLIGHTENMENT_VERSION@
Release: @RPM_REVISION@%{?_rpm_add_date:.%(date '+%y%m%d')}%{?_vendorsuffix:.%{_vendorsuffix}}
License: BSD
Group: User Interface/Desktops
URL: http://www.enlightenment.org/
Source0: http://prdownloads.sourceforge.net/enlightenment/@PACKAGE@-@VERSION@.tar.gz
#BuildSuggests: esound-devel
BuildRequires: imlib2-devel freetype-devel
Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Obsoletes: enlightenment < 0.16.8
Requires: imlib2 >= 1.2.0
%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.
%prep
%setup -n @PACKAGE@-@VERSION@
%build
CFLAGS="${RPM_OPT_FLAGS}"
AC_FLAGS="--prefix=%{_prefix} --mandir=%{_mandir}"
export CFLAGS AC_FLAGS
if [ ! -f configure ]; then
./autogen.sh $AC_FLAGS
else
%{configure} $AC_FLAGS %{?acflags}
fi
%{__make} %{?mflags}
%install
test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT %{?mflags_install}
rm -f $RPM_BUILD_ROOT/usr/lib/libe16_*.a
rm -f $RPM_BUILD_ROOT/usr/lib/libe16_*.la
%clean
test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog README docs/README-0.16.8
%{_bindir}/*
%{_libdir}/libe16_*.so
%{_datadir}/%{name}/*
%{_datadir}/locale/*
%{_datadir}/xsessions/*
#%{_mandir}/*
%changelog