Name: libhermes Version: 1.3.3 Release: 2mamba Summary: Hermes is a graphics library for pixel format conversion Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Tiziana Ferro URL: http://www.clanlib.org/hermes/ Source: http://clanlib.org/download/files/Hermes-%{version}.tar.bz2 Patch0: Hermes-1.3.3-debian.patch Patch1: Hermes-1.3.3-64bit.patch License: LGPL BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END %description Hermes is a graphics library designed to do a very limited number of things and do them very well. Is designed to convert a source buffer with a specified pixel format to a destination buffer with possibly a different format atthe maximum possible speed. The long feature list includes things like palette handling and clearing surfaces to a specific color, conversion of images from one format to another and more. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{version} %description devel Hermes is a graphics library designed to do a very limited number of things and do them very well. Is 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. The long feature list includes things like palette handling and clearing surfaces to a specific color, conversion of images from one format to another and more. This package contains static libraries and header files need for development. %prep %setup -q -n Hermes-%{version} %patch0 -p1 -z .deb %patch1 -p1 -z .64bit # sigh the tarbal contains bad timestamps or so? Which cause autoxxx to run, this stops this: touch src/hrconfig.h.in # mark asm files as NOT needing execstack for i in src/*.S; do echo '.section .note.GNU-stack,"",@progbits' >> $i done %build %configure -disable-dependency-tracking --disable-static # FIXME cp /usr/bin/libtool . %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeoldinstall %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/*.so.* %doc AUTHORS ChangeLog COPYING FAQ INSTALL.unix NEWS README TODO %files devel %defattr(-,root,root) %dir %{_includedir}/Hermes %{_includedir}/Hermes/* %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %changelog * Thu Oct 16 2008 Tiziana Ferro 1.3.3-2mamba - add patches (resolve some compiling bugs) - update mantainer * Thu Jan 20 2005 Massimo Pintore 1.3.3-1qilnx - package created by autospec