diff --git a/SDL_net-1.2.5.dif b/SDL_net-1.2.5.dif deleted file mode 100644 index 0c38081..0000000 --- a/SDL_net-1.2.5.dif +++ /dev/null @@ -1,20 +0,0 @@ ---- Makefile.am -+++ Makefile.am 2002/12/16 16:48:20 -@@ -1,5 +1,5 @@ - # Makefile.am for the SDL sample image loading library and viewer -- -+AUTOMAKE_OPTIONS = foreign - lib_LTLIBRARIES = libSDL_net.la - - libSDL_netincludedir = $(includedir)/SDL ---- /usr/include/SDL/SDL_net.h 2006-09-24 11:06:01.000000000 +0300 -+++ SDL_net.h 2006-09-24 10:24:02.000000000 +0300 -@@ -413,7 +413,7 @@ - #endif - /* Ends C function definitions when using C++ */ - #ifdef __cplusplus --}; -+} - #endif - #include "close_code.h" - diff --git a/SDL_net-1.2.5.tar.bz2 b/SDL_net-1.2.5.tar.bz2 deleted file mode 100644 index 4505d21..0000000 --- a/SDL_net-1.2.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5c3d7d0aac49f4c884d8ae46bc7f7b93717ae00ea95f8222f4ef1b4d88cdc1b4 -size 152170 diff --git a/SDL_net-1.2.6-makefile.diff b/SDL_net-1.2.6-makefile.diff new file mode 100644 index 0000000..b0db156 --- /dev/null +++ b/SDL_net-1.2.6-makefile.diff @@ -0,0 +1,9 @@ +--- Makefile.am ++++ Makefile.am +@@ -1,5 +1,5 @@ + # Makefile.am for the SDL sample image loading library and viewer +- ++AUTOMAKE_OPTIONS = foreign + lib_LTLIBRARIES = libSDL_net.la + + libSDL_netincludedir = $(includedir)/SDL diff --git a/SDL_net-1.2.6.tar.bz2 b/SDL_net-1.2.6.tar.bz2 new file mode 100644 index 0000000..9aff046 --- /dev/null +++ b/SDL_net-1.2.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba76f093d31f5848a4849d72aafec8c0872da03931261b6372fd89f11c2053d8 +size 288210 diff --git a/SDL_net.changes b/SDL_net.changes index 88e3d0d..5433a48 100644 --- a/SDL_net.changes +++ b/SDL_net.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Mar 2 12:39:27 CET 2007 - prusnak@suse.cz + +- cleaned spec file + +------------------------------------------------------------------- +Thu Feb 22 15:38:08 CET 2007 - prusnak@suse.cz + +- updated to 1.2.6 +- created devel subpackage + ------------------------------------------------------------------- Thu Oct 26 11:17:41 CEST 2006 - sndirsch@suse.de diff --git a/SDL_net.spec b/SDL_net.spec index 82d4f59..d2e8394 100644 --- a/SDL_net.spec +++ b/SDL_net.spec @@ -1,7 +1,7 @@ # -# spec file for package SDL_net (Version 1.2.5) +# spec file for package SDL_net (Version 1.2.6) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -15,13 +15,12 @@ BuildRequires: SDL-devel gcc-c++ xorg-x11 URL: http://www.libsdl.org/projects/SDL_net/ License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) Group: Development/Libraries/X11 -#Requires: xforms Autoreqprov: on -Version: 1.2.5 -Release: 250 +Version: 1.2.6 +Release: 1 Summary: Simple DirectMedia Layer--Networking Library Source: %{name}-%{version}.tar.bz2 -Patch: %{name}-%{version}.dif +Patch: %{name}-%{version}-makefile.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -29,6 +28,23 @@ This is a small cross-platform networking library for use with SDL. +Authors: +-------- + Sam Lantinga + Roy Wood + Masahiro Minami + +%package devel +Summary: Simple DirectMedia Layer--Networking Library +Group: Development/Libraries/X11 +Requires: %{name} = %{version} SDL-devel libstdc++-devel + + +%description devel +This is a small cross-platform networking library for use with SDL. + + + Authors: -------- Sam Lantinga @@ -36,17 +52,16 @@ Authors: Masahiro Minami %prep -%setup +%setup -q %patch %build rm *.m4 autoreconf --force --install -CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%_libdir -make +%configure +make %{?jobs:-j %jobs} %install -rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean @@ -61,14 +76,20 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc CHANGES COPYING README -/usr/include/SDL/SDL_net.h -%_libdir/libSDL_net-1.2.so.0 -%_libdir/libSDL_net-1.2.so.0.* -%_libdir/libSDL_net.a -%_libdir/libSDL_net.la -%_libdir/libSDL_net.so +%{_libdir}/lib*.so.* -%changelog -n SDL_net +%files devel +%defattr(-,root,root) +%{_includedir}/SDL/* +%{_libdir}/lib*.*a +%{_libdir}/lib*.so + +%changelog +* Fri Mar 02 2007 - prusnak@suse.cz +- cleaned spec file +* Thu Feb 22 2007 - prusnak@suse.cz +- updated to 1.2.6 +- created devel subpackage * Thu Oct 26 2006 - sndirsch@suse.de - removed wrong 'extra ;' in SDL_net.h (Bug #214645) * Fri Jan 27 2006 - nadvornik@suse.cz