Summary: HERMES pixel format conversion library Summary(pl): HERMES - biblioteka konwersji grafiki rastrowej Name: Hermes Version: 1.3.2 Release: 3 License: LGPL Group: Libraries Source0: http://dark.x.dtu.dk/~mbn/clanlib/download/%{name}-%{version}.tar.gz Patch0: %{name}-DESTDIR.patch Patch1: %{name}-automake.patch URL: http://hermes.terminal.at/ BuildRequires: automake BuildRequires: autoconf BuildRequires: libtool BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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. %description -l pl HERMES jest biblioteką do konwersji między różnymi formatami buforów pixeli z maksymalną możliwą szybkoscią. Na procesorach x86 z architekturą MMX wstawki assemblerowe umożliwiają bibliotece dużą szybkość działania. HERMES umożliwia wypełnianie powierzchni, skalowanie i częściowo dithering. %package devel Summary: HERMES header files and documentation Summary(pl): Pliki nagłówkowe i dokumentacja do biblioteki HERMES Group: Development/Libraries Requires: %{name} = %{version} %description devel Header files and documentation for developing applications using HERMES library. %description -l pl devel Pliki nagłówkowe i dokumentacja potrzebne przy tworzeniu aplikacji używających biblioteki HERMES. %package static Summary: HERMES static library Summary(pl): Biblioteka statyczna HERMES Group: Development/Libraries Requires: %{name}-devel = %{version} %description static HERMES static library. %description -l pl static Biblioteka statyczna HERMES. %prep %setup -q %patch0 -p1 %patch1 -p1 %build rm -f missing libtoolize --copy --force aclocal autoconf automake -a -c %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT gzip -9nf AUTHORS ChangeLog TODO TODO.conversion README FAQ %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel %defattr(644,root,root,755) %doc *gz docs/api %{_includedir}/Hermes %attr(755,root,root) %{_libdir}/lib*.so %attr(755,root,root) %{_libdir}/lib*.la %files static %defattr(644,root,root,755) %attr(644,root,root) %{_libdir}/lib*.a