From 4ea126b8d18fdfb03b217a42131ec9d07deccbfa Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Feb 01 2008 15:46:33 +0000 Subject: - new static sub package for static libraries --- diff --git a/SDL.spec b/SDL.spec index dd1994c..d14b7be 100644 --- a/SDL.spec +++ b/SDL.spec @@ -1,7 +1,7 @@ Summary: A cross-platform multimedia library Name: SDL Version: 1.2.13 -Release: 1%{?dist} +Release: 2%{?dist} Source: http://www.libsdl.org/release/%{name}-%{version}.tar.gz Source1: SDL_config.h # Temporary hack: Use pulseaudio via esd so SDL apps don't lock up when they @@ -58,6 +58,17 @@ designed to provide fast access to the graphics frame buffer and audio device. This package provides the libraries, include files, and other resources needed for developing SDL applications. +%package static +Summary: Files needed to develop static Simple DirectMedia Layer applications +Group: Development/Libraries +Requires: SDL-devel = %{version}-%{release} + +%description static +Simple DirectMedia Layer (SDL) is a cross-platform multimedia library +designed to provide fast access to the graphics frame buffer and audio +device. This package provides the static libraries needed for developing +static SDL applications. + %prep %setup -q %patch0 -p1 -b .byteorder @@ -106,8 +117,6 @@ install -m644 %{SOURCE1} %{buildroot}/%{_includedir}/SDL/SDL_config.h # remove libtool .la file rm -f %{buildroot}%{_libdir}/*.la -# remove static libs -rm -f %{buildroot}%{_libdir}/*.a # Temporary SDL pulseaudio hack mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/ @@ -139,7 +148,14 @@ rm -rf %{buildroot} %{_datadir}/aclocal/* %{_mandir}/man3/SDL*.3* +%files static +%defattr(-,root,root) +%{_libdir}/lib*.a + %changelog +* Fri Feb 1 2008 Thomas Woerner 1.2.13-2 +- new static sub package for static libraries + * Mon Jan 7 2008 Thomas Woerner 1.2.13-1 - new version 1.2.13 - fixes i810 video overlay problem (rhbz#310841)