General
Start
APT/YUM/Smart config
List of packages
GPG key
Mirrors
Recent changes
How you can help
Pydar2
Thanks:
Buildsystem hosted at ithomi
SUSE and Mandrake builds made by the openSUSE build service
Static site hosted at ULYSSIS
Primary mirrors hosted at BELNET, HEAnet, 3TI
Varia:
Random picture!
Looking for a java job?
Leuven blogt

SDL_image spec file : Dries RPM Repository

Back to the SDL_image rpms

Current spec in pydar2:


# $Id: SDL_image.spec 4969 2006-12-05 18:44:32Z dries $
# Authority: dries
# Upstream: Sam Latinga 

Summary: Load images as SDL surfaces
Name: SDL_image
Version: 1.2.5
Release: 1
License: LGPL
Group: System Environment/Libraries
URL: http://www.libsdl.org/projects/SDL_image/
Source: http://www.libsdl.org/projects/SDL_image/release/SDL_image-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: SDL-devel >= 1.2.10, gcc-c++, automake, autoconf, perl, libjpeg-devel
BuildRequires: libpng-devel, zlib-devel, libtiff-devel

%description
SDL_image is an image file loading library. It loads images as SDL surfaces,
and supports the following formats: BMP, PNM, XPM, LBM, PCX, GIF, JPEG, PNG,
TGA.

%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup

%build
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall

%clean
%{__rm} -rf %{buildroot}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-, root, root, 0755)
%doc CHANGES COPYING README
%{_libdir}/libSDL_image*.so.*

%files devel
%defattr(-, root, root, 0755)
%dir %{_includedir}/SDL/
%{_includedir}/SDL/SDL_image.h
%{_libdir}/libSDL_image.a
%{_libdir}/libSDL_image.so
%exclude %{_libdir}/*.la

%changelog
* Fri May 19 2006 Dries Verachtert  - 1.2.5-1
- Updated to release 1.2.5.

* Sat Apr 08 2006 Dries Verachtert  - 1.2.4-1.2
- Rebuild for Fedora Core 5.

* Sun Dec 04 2005 Dries Verachtert