rpms/SDL/F-8 SDL.spec,1.61,1.62

Thomas Woerner (twoerner) fedora-extras-commits at redhat.com
Fri Feb 1 15:47:09 UTC 2008


Author: twoerner

Update of /cvs/pkgs/rpms/SDL/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22176

Modified Files:
	SDL.spec 
Log Message:
- new static sub package for static libraries




Index: SDL.spec
===================================================================
RCS file: /cvs/pkgs/rpms/SDL/F-8/SDL.spec,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- SDL.spec	7 Jan 2008 18:01:46 -0000	1.61
+++ SDL.spec	1 Feb 2008 15:46:33 -0000	1.62
@@ -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 @@
 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 @@
 
 # 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 @@
 %{_datadir}/aclocal/*
 %{_mandir}/man3/SDL*.3*
 
+%files static
+%defattr(-,root,root)
+%{_libdir}/lib*.a
+
 %changelog
+* Fri Feb  1 2008 Thomas Woerner <twoerner at redhat.com> 1.2.13-2
+- new static sub package for static libraries
+
 * Mon Jan  7 2008 Thomas Woerner <twoerner at redhat.com> 1.2.13-1
 - new version 1.2.13
   - fixes i810 video overlay problem (rhbz#310841)




More information about the fedora-extras-commits mailing list