
%define name Hermes
%define version 1.3.2
%define release 1
%define prefix /usr
Summary : HERMES pixel format conversion library
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: LGPL
Distribution : Build for Red Hat 6.2
Vendor: Boubouline Software
Packager: Okki <crow@planete.net>
URL: http://okki.lefute.com
Group: Development/Libraries
Source: %{name}-%{version}-%{release}.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
Prefix: %{prefix}
Docdir: %{prefix}/doc

%description
HERMES is a library designed to convert a source buffer with a specified
pixel format to a destination buffer with possibly a different format
at the maximum possible speed. On x86 and MMX architectures,
handwritten assembler routines are taking over the job and doing it lightning fast.
On top of that, HERMES provides fast surface clearing, stretching and some dithering.
Supported platforms are basically all that have an ANSI C compiler as there is
no platform specific code but those are supported: DOS, Win32 (Visual C), Linux,
FreeBSD (IRIX, Solaris are on hold at the moment), some BeOS support.

%prep
rm -rf $RPM_BUILD_ROOT

%setup
./configure --target=i586

%build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"

%install
make prefix=$RPM_BUILD_ROOT%{prefix} install

%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/*

%files
%defattr (-,root,root)
%doc AUTHORS COPYING ChangeLog FAQ NEWS README TODO TODO.Blitters TODO.conversion docs/api/*.htm
/usr/lib/libHermes.so.1.0.0
/usr/lib/libHermes.so.1
/usr/lib/libHermes.so
/usr/lib/libHermes.la
/usr/lib/libHermes.a
/usr/include/Hermes/Hermes.h
/usr/include/Hermes/Types.h
/usr/include/Hermes/H_Conv.h
/usr/include/Hermes/H_Clear.h
/usr/include/Hermes/H_Pal.h
/usr/include/Hermes/H_Format.h
/usr/include/Hermes/H_Config.h
/usr/include/Hermes/H_Types.h
/usr/include/Hermes/H_Blit.h

%changelog

* Wed Aug 02 2000 Georges Seguin crow@planete.net 
- Hermes 1.3.2

* Thu May 30 2000 Georges Seguin crow@planete.net 
- First RPM
