1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
|
Summary: SDL_stretch - Stretch Functions For The Simple DirectMedia Layer
Name: SDL_stretch
Version: 0.2.3
Release: 1.01
Source0: %{name}-%{version}.tar.bz2
License: LGPL
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-buildroot
URL: http://sdl-stretch.sf.net
Prefix: %{_prefix}
%description
Providing stretch and blit routines for SDL surfaces.
%package lib
Summary: SDL_stretch - Stretch Functions for SDL - Runtime Libraries
Group: Development/Libraries
Provides: SDL_stretch = %version
Provides: SDL_stretch0 = %version
Provides: SDL_stretch0.2 = %version
Provides: libSDL_stretch = %version
Requires: libSDL1.2
BuildRequires: libSDL1.2-devel
%package dev
Summary: SDL_stretch - Stretch Functions For SDL - Headers and Manpages
Group: Development/Libraries
Provides: SDL_stretch-devel = %version
Provides: SDL_stretch0-devel = %version
Provides: SDL_stretch0.2-devel = %version
Provides: libSDL_stretch-devel = %version
Requires: SDL_stretch = %version
Requires: libSDL1.2-devel
%package doc
Summary: SDL_stretch - Stretch Functions For SDL - Html Pages
Group: Development/Libraries
BuildRequires: python
BuildRequires: xmlto
%description lib
Providing stretch and blit routines for SDL surfaces.
These are optimized for speed including lots of assembler parts
in the general routines and dynamic cpu native code generation
for applications to compile specialized stretch-and-blit routines
at runtime.
%description dev
While hacking on UAE (the unix amiga emulator) I did develop a few
stretching routines. I have been asking on the SDL mainling for any
prior art but it seems that no one did wrap such routines into a
library part that can be reused everywhere. Other projects are
just game SDKs which tend to wrap such routines it into their
own framework - instead of using vanilla SDL surface. Also, there
are only rare pieces of assembler optimized routines. I took some
of these as hints and created my own set of highly optimized routines
pumped up with assembler - stretch-and-blit routines for SDL on steroids.
%description doc
Providing stretch and blit routines for SDL surfaces.
Here are the Html Pages as they can be seen on %URL
%prep
%setup -q
CFLAGS="$RPM_OPT_CFLAGS" sh configure --prefix=%_prefix
%build
make
make docs
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=%buildroot
make install-docs DESTDIR=%buildroot
%clean
rm -rf $RPM_BUILD_ROOT
%files lib
%defattr(-,root,root)
%_libdir/*.so.*
%files dev
%defattr(-,root,root)
%_libdir/*.so
%_libdir/*.a
%_libdir/*.la
%_libdir/pkgconfig/*
%_includedir/*
%_datadir/man/*
%files doc
%defattr(-,root,root)
%_datadir/groups/*
%changelog
# end of file
|