7dd024c
Name:		SDL_image
4692c43
Version:	1.2.10
3903669
Release:	2%{?dist}
7dd024c
Summary:	Image loading library for SDL
7dd024c
7dd024c
Group:		System Environment/Libraries
9796481
License:	LGPLv2+
7dd024c
URL:		http://www.libsdl.org/projects/SDL_image/
7dd024c
Source0:	http://www.libsdl.org/projects/%{name}/release/%{name}-%{version}.tar.gz
7dd024c
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
7dd024c
4d6a992
BuildRequires: 	SDL-devel >= 1.2.10
7dd024c
BuildRequires:	libjpeg-devel
7dd024c
BuildRequires:	libpng-devel
7dd024c
BuildRequires:	libtiff-devel
7dd024c
cd8f0ba
cd8f0ba
%description
cd8f0ba
Simple DirectMedia Layer (SDL) is a cross-platform multimedia library
cd8f0ba
designed to provide fast access to the graphics frame buffer and audio
cd8f0ba
device.  This package contains a simple library for loading images of
cd8f0ba
various formats (BMP, PPM, PCX, GIF, JPEG, PNG) as SDL surfaces.
cd8f0ba
7dd024c
cd8f0ba
%package devel
4d6a992
Summary:	Development files for %{name}
7dd024c
Group:		Development/Libraries
7dd024c
Requires:	%{name} = %{version}-%{release}
4d6a992
Requires:	SDL-devel >= 1.2.10
4692c43
Requires:	pkgconfig
7dd024c
cd8f0ba
cd8f0ba
%description devel
4d6a992
The %{name}-devel package contains libraries and header files for
4d6a992
developing applications that use %{name}.
cd8f0ba
cd8f0ba
7dd024c
%prep
cd8f0ba
%setup -q
1f68f1f
7dd024c
cd8f0ba
%build
fe87b28
# XCF support is crashy in 1.2.4
f00ccce
%configure --disable-dependency-tracking	\
f00ccce
	--enable-tif				\
f00ccce
	--disable-jpg-shared			\
f00ccce
	--disable-png-shared			\
f00ccce
	--disable-tif-shared			\
f00ccce
	--disable-static
cd8f0ba
make %{?_smp_mflags}
cd8f0ba
7dd024c
cd8f0ba
%install
cd8f0ba
rm -rf $RPM_BUILD_ROOT
cd8f0ba
%makeinstall
cd8f0ba
mkdir -p $RPM_BUILD_ROOT%{_bindir}
cd8f0ba
./libtool --mode=install /usr/bin/install showimage $RPM_BUILD_ROOT%{_bindir}
cd8f0ba
4d6a992
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
cd8f0ba
7dd024c
cd8f0ba
%clean
cd8f0ba
rm -rf $RPM_BUILD_ROOT
cd8f0ba
7dd024c
cd8f0ba
%post -p /sbin/ldconfig
cd8f0ba
7dd024c
cd8f0ba
%postun -p /sbin/ldconfig
cd8f0ba
7dd024c
cd8f0ba
%files
cd8f0ba
%defattr(-,root,root)
cd8f0ba
%doc README CHANGES COPYING
cd8f0ba
%{_bindir}/showimage
cd8f0ba
%{_libdir}/lib*.so.*
cd8f0ba
7dd024c
cd8f0ba
%files devel
cd8f0ba
%defattr(-,root,root)
cd8f0ba
%{_libdir}/lib*.so
4d6a992
%{_includedir}/SDL/
4692c43
%{_libdir}/pkgconfig/%{name}.pc
cd8f0ba
7dd024c
cd8f0ba
%changelog
3903669
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.10-2
3903669
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3903669
4692c43
* Mon Jan 18 2010 Brian Pepple <bpepple@fedoraproject.org> - 1.2.10-1
4692c43
- Update to 1.2.10.
4692c43
1f68f1f
* Sun Aug  9 2009 Brian Pepple <bpepple@fedoraproject.org> - 1.2.7-1
1f68f1f
- Update to 1.2.7.
1f68f1f
- Drop IMG_lbm patch.  Fixed upstream.
1f68f1f
- Drop buffer overflow patch.  Fixed upstream.
1f68f1f
34fe12c
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.6-8
34fe12c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
34fe12c
71efa02
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.6-7
71efa02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
71efa02
a52599e
* Fri Feb  8 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.2.6-6
a52599e
- Rebuild for gcc-4.3.
a52599e
e58b6a9
* Tue Jan 29 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.2.6-5
e58b6a9
- Add patch to fix ILBM image buffer overflow. (#430693)
e58b6a9
1565df6
* Thu Jan 24 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.2.6-4
e58b6a9
- Add patch to fix buffer-overflow. (#430100)
1565df6
961d9c9
* Tue Aug 21 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.6-3
961d9c9
- Rebuild.
961d9c9
9796481
* Sun Aug  5 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.6-2
9796481
- Update license tag.
9796481
3c55bf8
* Mon Jul 30 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.2.6-1
3c55bf8
- Update to 1.2.6.
3c55bf8
- remove IMG_xpm patch.  fixed upstream.
3c55bf8
f00ccce
* Tue Dec 19 2006 Brian Pepple <bpepple@fedoraproject.org> - 1.2.5-4
f00ccce
- Disable run-time loading of libs. (#219902)
f00ccce
37f3735
* Tue Oct 31 2006 Brian Pepple <bpepple@fedoraproject.org> - 1.2.5-3
37f3735
- Add patch to fix IMG_ReadXPMFromArray crash. (#213282)
37f3735
95f2931
* Thu Aug 31 2006 Brian Pepple <bpepple@fedoraproject.org> - 1.2.5-2
95f2931
- Rebuild for FC6.
95f2931
4d6a992
* Sat Aug 26 2006 Brian Pepple <bpepple@fedoraproject.org> - 1.2.5-1
4d6a992
- Update to 1.2.5.
4d6a992
- Simplify description & summary for devel package.
4d6a992
- Update SDL version required.
4d6a992
- Use disable-static configure flag.
4d6a992
e8a8366
* Mon Feb 13 2006 Brian Pepple <bdpepple@ameritech.net> - 1.2.4-5
e8a8366
- rebuilt for new gcc4.1 snapshot and glibc changes
e8a8366
7dd024c
* Tue Sep 27 2005 Brian Pepple <bdpepple@ameritech.net> - 1.2.4-4
7dd024c
- Bump release so it upgrades from FC4.
7dd024c
- General spec formatting cleanup.
7dd024c
b70388b
* Sat Jun 25 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.2.4-2
b70388b
- Rebuild.
b70388b
fe87b28
* Sun Jun 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.2.4-1
fe87b28
- 1.2.4, patches obsolete.
fe87b28
- Bring back TIFF support (BuildRequire libtiff-devel).
fe87b28
- Build with dependency tracking disabled.
fe87b28
- Require exact EVR of main package in -devel.
fe87b28
bba2cf0
* Thu May 26 2005 Bill Nottingham <notting@redhat.com> 1.2.3-9
c374e9f
- rebuild
c374e9f
cd8f0ba
* Wed Feb  9 2005 Thomas Woerner <twoerner@redhat.com> 1.2.3-7
cd8f0ba
- rebuild
cd8f0ba
cd8f0ba
* Thu Sep 30 2004 Thomas Woerner <twoerner@redhat.com> 1.2.3-6
cd8f0ba
- moved to new autofoo utils
cd8f0ba
cd8f0ba
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cd8f0ba
- rebuilt
cd8f0ba
cd8f0ba
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cd8f0ba
- rebuilt
cd8f0ba
cd8f0ba
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cd8f0ba
- rebuilt
cd8f0ba
cd8f0ba
* Wed Jun 18 2003 Thomas Woerner <twoerner@redhat.com> 1.2.3-3
cd8f0ba
- fixed build with automake-1.7
cd8f0ba
cd8f0ba
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cd8f0ba
- rebuilt
cd8f0ba
cd8f0ba
* Tue May  6 2003 Thomas Woerner <twoerner@redhat.com> 1.2.3-1
cd8f0ba
- new version 1.2.3
cd8f0ba
cd8f0ba
* Mon Feb 17 2003 Elliot Lee <sopwith@redhat.com>
cd8f0ba
- ppc64 fix
cd8f0ba
cd8f0ba
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cd8f0ba
- rebuilt
cd8f0ba
cd8f0ba
* Sun Dec 01 2002 Elliot Lee <sopwith@redhat.com>
cd8f0ba
- Remove unpackaged files
cd8f0ba
cd8f0ba
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cd8f0ba
- automated rebuild
cd8f0ba
cd8f0ba
* Sun May 26 2002 Tim Powers <timp@redhat.com>
cd8f0ba
- automated rebuild
cd8f0ba
cd8f0ba
* Thu May 23 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.2-1
cd8f0ba
- 1.2.2
cd8f0ba
cd8f0ba
* Fri Mar  1 2002 Than Ngo <than@redhat.com> 1.2.1-4
cd8f0ba
- rebuild in new env
cd8f0ba
cd8f0ba
* Thu Jan 24 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.1-3
cd8f0ba
- Rebuild to get rid of superfluous dependencies
cd8f0ba
- Clean up spec file
cd8f0ba
cd8f0ba
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cd8f0ba
- automated rebuild
cd8f0ba
cd8f0ba
* Mon Jan  7 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.1-1
cd8f0ba
- 1.2.1
cd8f0ba
- Require arts-devel rather than the obsolete kdelibs-sound-devel
cd8f0ba
cd8f0ba
* Fri Oct 26 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.0-4
cd8f0ba
- Rebuild with new libpng
cd8f0ba
cd8f0ba
* Tue Jul 24 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cd8f0ba
- Add build requirements (#49827)
cd8f0ba
cd8f0ba
* Tue Jul 10 2001 Elliot Lee <sopwith@redhat.com>
cd8f0ba
- Rebuild
cd8f0ba
cd8f0ba
* Sun Apr 15 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cd8f0ba
- 1.2.0
cd8f0ba
cd8f0ba
* Sun Jan  7 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cd8f0ba
- 1.1.0
cd8f0ba
- Use %%post -p, %%postun -p
cd8f0ba
- devel requires %%{name} = %%{version} rather than just %%{name}
cd8f0ba
- enable tiff support
cd8f0ba
cd8f0ba
* Tue Dec 19 2000 Than Ngo <than@redhat.com>
cd8f0ba
- added missing %post and %%postun
cd8f0ba
cd8f0ba
* Wed Nov 29 2000 Than Ngo <than@redhat.com>
cd8f0ba
- first build for 7.1