2007-01-15 23:50:23 +01:00
|
|
|
#
|
2009-12-20 22:49:33 +01:00
|
|
|
# spec file for package SDL_image (Version 1.2.7)
|
2007-01-15 23:50:23 +01:00
|
|
|
#
|
2009-03-02 01:29:17 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:50:23 +01:00
|
|
|
#
|
2009-03-02 01:29:17 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-15 23:50:23 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 15:32:26 +02:00
|
|
|
|
2007-01-15 23:50:23 +01:00
|
|
|
Name: SDL_image
|
2009-05-28 23:26:30 +02:00
|
|
|
BuildRequires: libSDL-devel libjpeg-devel libpng-devel libtiff-devel xorg-x11-devel
|
2007-12-17 12:05:05 +01:00
|
|
|
Url: http://www.libsdl.org/projects/SDL_image/
|
2007-01-15 23:50:23 +01:00
|
|
|
Summary: Simple DirectMedia Layer--Sample Image Loading Library
|
2009-12-26 11:43:38 +01:00
|
|
|
Version: 1.2.7
|
2009-12-20 22:49:33 +01:00
|
|
|
Release: 4
|
2009-12-26 11:43:38 +01:00
|
|
|
# removed VisualC.zip, Watcom-OS2.zip, Xcode.tar.gz from upstream tarball [bnc#508084]
|
2009-06-02 12:36:32 +02:00
|
|
|
Source: %{name}-%{version}-repack.tar.bz2
|
2009-12-20 22:49:33 +01:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-15 23:50:23 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is a simple library to load images of various formats as SDL
|
|
|
|
surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
|
|
|
|
formats.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sam Lantinga <slouken@devolution.com>
|
|
|
|
|
2009-05-28 23:26:30 +02:00
|
|
|
%package -n libSDL_image-1_2-0
|
|
|
|
Summary: Simple DirectMedia Layer--Sample Image Loading Library
|
|
|
|
Group: System/Libraries
|
2009-12-20 22:49:33 +01:00
|
|
|
License: LGPL v2.1 or later
|
2009-05-28 23:26:30 +02:00
|
|
|
Provides: SDL_image = %{version}
|
2009-10-08 01:52:51 +02:00
|
|
|
Obsoletes: SDL_image <= %{version}
|
2009-05-28 23:26:30 +02:00
|
|
|
|
|
|
|
%description -n libSDL_image-1_2-0
|
|
|
|
This is a simple library to load images of various formats as SDL
|
|
|
|
surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
|
|
|
|
formats.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sam Lantinga <slouken@devolution.com>
|
|
|
|
|
|
|
|
%package -n libSDL_image-devel
|
2009-12-20 22:49:33 +01:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-15 23:50:23 +01:00
|
|
|
Summary: Libraries, includes and more to develop SDL_image applications
|
2009-05-28 23:26:30 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libSDL_image-1_2-0 = %{version} libSDL-devel
|
|
|
|
Provides: SDL_image-devel = %{version}
|
2009-10-08 01:52:51 +02:00
|
|
|
Obsoletes: SDL_image-devel <= %{version}
|
2007-01-15 23:50:23 +01:00
|
|
|
|
2009-05-28 23:26:30 +02:00
|
|
|
%description -n libSDL_image-devel
|
2007-01-15 23:50:23 +01:00
|
|
|
This is a simple library to load images of various formats as SDL
|
|
|
|
surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
|
|
|
|
formats.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sam Lantinga <slouken@devolution.com>
|
|
|
|
|
|
|
|
%prep
|
2007-03-03 14:36:00 +01:00
|
|
|
%setup -q
|
2007-01-15 23:50:23 +01:00
|
|
|
|
|
|
|
%build
|
2009-03-02 01:29:17 +01:00
|
|
|
%configure --disable-static --with-pic
|
2007-03-03 14:36:00 +01:00
|
|
|
make %{?jobs:-j %jobs}
|
2007-01-15 23:50:23 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2009-03-02 01:29:17 +01:00
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
2007-01-15 23:50:23 +01:00
|
|
|
|
2009-05-28 23:26:30 +02:00
|
|
|
%post -n libSDL_image-1_2-0 -p /sbin/ldconfig
|
2007-01-15 23:50:23 +01:00
|
|
|
|
2009-05-28 23:26:30 +02:00
|
|
|
%postun -n libSDL_image-1_2-0 -p /sbin/ldconfig
|
2007-01-15 23:50:23 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2009-05-28 23:26:30 +02:00
|
|
|
%files -n libSDL_image-1_2-0
|
2007-01-15 23:50:23 +01:00
|
|
|
%defattr(-,root,root)
|
2009-05-20 00:16:17 +02:00
|
|
|
%doc CHANGES COPYING README
|
2007-07-27 02:09:20 +02:00
|
|
|
%{_libdir}/lib*.so.*
|
2007-01-15 23:50:23 +01:00
|
|
|
|
2009-05-28 23:26:30 +02:00
|
|
|
%files -n libSDL_image-devel
|
2007-01-15 23:50:23 +01:00
|
|
|
%defattr(-,root,root)
|
2007-07-27 02:09:20 +02:00
|
|
|
%{_includedir}/SDL
|
|
|
|
%{_libdir}/lib*.so
|
2007-01-15 23:50:23 +01:00
|
|
|
|
2007-03-03 14:36:00 +01:00
|
|
|
%changelog
|