rpms/SDL_gfx/FC-4 SDL_gfx-2.0.13-semicolon.patch, NONE, 1.1 SDL_gfx.spec, 1.3, 1.4

Matthias Saou (thias) fedora-extras-commits at redhat.com
Fri Sep 22 13:26:25 UTC 2006


Author: thias

Update of /cvs/extras/rpms/SDL_gfx/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14019/FC-4

Modified Files:
	SDL_gfx.spec 
Added Files:
	SDL_gfx-2.0.13-semicolon.patch 
Log Message:
Fix semicolons in header files (#207665).


SDL_gfx-2.0.13-semicolon.patch:

--- NEW FILE SDL_gfx-2.0.13-semicolon.patch ---
diff -Naupr SDL_gfx-2.0.13.orig/SDL_gfxPrimitives.h SDL_gfx-2.0.13/SDL_gfxPrimitives.h
--- SDL_gfx-2.0.13.orig/SDL_gfxPrimitives.h	2004-12-21 14:43:05.000000000 +0100
+++ SDL_gfx-2.0.13/SDL_gfxPrimitives.h	2006-09-22 15:20:48.000000000 +0200
@@ -187,7 +187,7 @@ extern "C" {
 
 /* Ends C function definitions when using C++ */
 #ifdef __cplusplus
-};
+}
 #endif
 
 #endif				/* _SDL_gfxPrimitives_h */
diff -Naupr SDL_gfx-2.0.13.orig/SDL_imageFilter.h SDL_gfx-2.0.13/SDL_imageFilter.h
--- SDL_gfx-2.0.13.orig/SDL_imageFilter.h	2004-11-29 20:35:40.000000000 +0100
+++ SDL_gfx-2.0.13/SDL_imageFilter.h	2006-09-22 15:20:32.000000000 +0200
@@ -186,7 +186,7 @@ extern "C" {
 
 /* Ends C function definitions when using C++ */
 #ifdef __cplusplus
-};
+}
 #endif
 
 #endif				/* _SDL_imageFilter_h */


Index: SDL_gfx.spec
===================================================================
RCS file: /cvs/extras/rpms/SDL_gfx/FC-4/SDL_gfx.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- SDL_gfx.spec	6 Apr 2005 22:10:46 -0000	1.3
+++ SDL_gfx.spec	22 Sep 2006 13:26:25 -0000	1.4
@@ -1,14 +1,14 @@
 Summary: Graphic primitives, rotozoomer, framerate control and image filters
 Name: SDL_gfx
 Version: 2.0.13
-Release: 2
-
+Release: 6%{?dist}
 License: LGPL
 Group: System Environment/Libraries
-URL: http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/
-Source: http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/SDL_gfx-%{version}.tar.gz
+URL: http://www.ferzkopp.net/Software/SDL_gfx-2.0/
+Source: http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-%{version}.tar.gz
+Patch0: SDL_gfx-2.0.13-semicolon.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: SDL-devel, gcc-c++, automake, autoconf, perl
+BuildRequires: SDL-devel, automake, autoconf
 
 %description
 The SDL_gfx library offers several components: Graphic Primitives,
@@ -23,7 +23,7 @@
 %package devel
 Summary: Header files and static libraries for SDL_gfx
 Group: Development/Libraries
-Requires: %{name} = %{version}, SDL-devel
+Requires: %{name} = %{version}-%{release}, SDL-devel
 
 %description devel
 This package contains the header files and static libraries for SDL_gfx.
@@ -33,6 +33,7 @@
 
 %prep
 %setup
+%patch0 -p1 -b .semicolon
 
 
 %build
@@ -53,27 +54,41 @@
 %{__rm} -rf %{buildroot}
 
 
-%post
-/sbin/ldconfig
+%post -p /sbin/ldconfig
 
-%postun
-/sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 
 %files
 %defattr(-, root, root, 0755)
 %doc NEWS LICENSE README AUTHORS COPYING
-%{_libdir}/lib*.so.*
+%{_libdir}/*.so.*
 
 %files devel
 %defattr(-, root, root, 0755)
-%{_libdir}/*.a
 %{_includedir}/SDL/*.h
+%exclude %{_libdir}/*.a
 %exclude %{_libdir}/*.la
 %{_libdir}/*.so
 
 
 %changelog
+* Fri Sep 22 2006 Matthias Saou <http://freshrpms.net/> 2.0.13-6
+- Fix semicolons in header files (#207665).
+
+* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 2.0.13-5
+- FC6 rebuild.
+- Remove gcc-c++ and perl build requirements, they're defaults.
+- Add release to the devel sub-package requirement.
+
+* Mon Mar  6 2006 Matthias Saou <http://freshrpms.net/> 2.0.13-4
+- FC5 rebuild.
+
+* Thu Feb  9 2006 Matthias Saou <http://freshrpms.net/> 2.0.13-3
+- Rebuild for new gcc/glibc.
+- Update URLs.
+- Exclude the static library.
+
 * Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
 - rebuilt
 




More information about the scm-commits mailing list