SHA256
1
0
forked from pool/SDL_net
OBS User unknown 2007-03-03 13:36:39 +00:00 committed by Git OBS Bridge
parent 5d4c829306
commit 3ddcdb12d9
6 changed files with 61 additions and 40 deletions

View File

@ -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"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c3d7d0aac49f4c884d8ae46bc7f7b93717ae00ea95f8222f4ef1b4d88cdc1b4
size 152170

View File

@ -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

3
SDL_net-1.2.6.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba76f093d31f5848a4849d72aafec8c0872da03931261b6372fd89f11c2053d8
size 288210

View File

@ -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 Thu Oct 26 11:17:41 CEST 2006 - sndirsch@suse.de

View File

@ -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 # This file and all modifications and additions to the pristine
# package are under the same license as the package itself. # 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/ URL: http://www.libsdl.org/projects/SDL_net/
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group: Development/Libraries/X11 Group: Development/Libraries/X11
#Requires: xforms
Autoreqprov: on Autoreqprov: on
Version: 1.2.5 Version: 1.2.6
Release: 250 Release: 1
Summary: Simple DirectMedia Layer--Networking Library Summary: Simple DirectMedia Layer--Networking Library
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Patch: %{name}-%{version}.dif Patch: %{name}-%{version}-makefile.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -29,6 +28,23 @@ This is a small cross-platform networking library for use with SDL.
Authors:
--------
Sam Lantinga <slouken@devolution.com>
Roy Wood <roy@centricsystems.ca>
Masahiro Minami <elsur@aaa.letter.co.jp>
%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: Authors:
-------- --------
Sam Lantinga <slouken@devolution.com> Sam Lantinga <slouken@devolution.com>
@ -36,17 +52,16 @@ Authors:
Masahiro Minami <elsur@aaa.letter.co.jp> Masahiro Minami <elsur@aaa.letter.co.jp>
%prep %prep
%setup %setup -q
%patch %patch
%build %build
rm *.m4 rm *.m4
autoreconf --force --install autoreconf --force --install
CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%_libdir %configure
make make %{?jobs:-j %jobs}
%install %install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install
%clean %clean
@ -61,14 +76,20 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc CHANGES COPYING README %doc CHANGES COPYING README
/usr/include/SDL/SDL_net.h %{_libdir}/lib*.so.*
%_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
%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 * Thu Oct 26 2006 - sndirsch@suse.de
- removed wrong 'extra ;' in SDL_net.h (Bug #214645) - removed wrong 'extra ;' in SDL_net.h (Bug #214645)
* Fri Jan 27 2006 - nadvornik@suse.cz * Fri Jan 27 2006 - nadvornik@suse.cz