2007-01-15 23:50:25 +01:00
|
|
|
#
|
2007-07-27 02:09:33 +02:00
|
|
|
# spec file for package SDL_net (Version 1.2.7)
|
2007-01-15 23:50:25 +01:00
|
|
|
#
|
2009-03-02 01:30:21 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:50:25 +01:00
|
|
|
#
|
2009-03-02 01:30:21 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-15 23:50:25 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-03-02 01:30:21 +01:00
|
|
|
|
2007-01-15 23:50:25 +01:00
|
|
|
Name: SDL_net
|
2009-05-28 23:51:36 +02:00
|
|
|
BuildRequires: libSDL-devel
|
2009-03-02 01:30:21 +01:00
|
|
|
Url: http://www.libsdl.org/projects/SDL_net/
|
|
|
|
License: LGPL v2.1 or later
|
2009-05-28 23:51:36 +02:00
|
|
|
Group: System/Libraries
|
2007-07-27 02:09:33 +02:00
|
|
|
Version: 1.2.7
|
2009-05-28 23:51:36 +02:00
|
|
|
Release: 152
|
|
|
|
Summary: Simple DirectMedia Layer - Networking Library
|
2007-01-15 23:50:25 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is a small cross-platform networking library for use with SDL.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-03-03 14:36:39 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sam Lantinga <slouken@devolution.com>
|
|
|
|
Roy Wood <roy@centricsystems.ca>
|
|
|
|
Masahiro Minami <elsur@aaa.letter.co.jp>
|
|
|
|
|
2009-05-28 23:51:36 +02:00
|
|
|
%package -n libSDL_net-1_2-0
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Simple DirectMedia Layer - Networking Library
|
2009-03-02 01:30:21 +01:00
|
|
|
License: LGPL v2.1 or later
|
2009-05-28 23:51:36 +02:00
|
|
|
Provides: SDL_net = %{version}
|
|
|
|
Obsoletes: SDL_net < %{version}
|
2007-03-03 14:36:39 +01:00
|
|
|
|
2009-05-28 23:51:36 +02:00
|
|
|
%description -n libSDL_net-1_2-0
|
|
|
|
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 -n libSDL_net-devel
|
|
|
|
License: LGPL v2.1 or later
|
|
|
|
Summary: Simple DirectMedia Layer - Networking Library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libSDL_net-1_2-0 = %{version} libSDL-devel
|
|
|
|
Provides: SDL_net-devel = %{version}
|
|
|
|
Obsoletes: SDL_net-devel < %{version}
|
|
|
|
|
|
|
|
%description -n libSDL_net-devel
|
2007-03-03 14:36:39 +01:00
|
|
|
This is a small cross-platform networking library for use with SDL.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-15 23:50:25 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sam Lantinga <slouken@devolution.com>
|
|
|
|
Roy Wood <roy@centricsystems.ca>
|
|
|
|
Masahiro Minami <elsur@aaa.letter.co.jp>
|
|
|
|
|
|
|
|
%prep
|
2007-03-03 14:36:39 +01:00
|
|
|
%setup -q
|
2007-01-15 23:50:25 +01:00
|
|
|
|
|
|
|
%build
|
2009-03-02 01:30:21 +01:00
|
|
|
%configure --disable-static --with-pic
|
2007-03-03 14:36:39 +01:00
|
|
|
make %{?jobs:-j %jobs}
|
2007-01-15 23:50:25 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2009-03-02 01:30:21 +01:00
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
2007-01-15 23:50:25 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2009-05-28 23:51:36 +02:00
|
|
|
%post -n libSDL_net-1_2-0 -p /sbin/ldconfig
|
2007-01-15 23:50:25 +01:00
|
|
|
|
2009-05-28 23:51:36 +02:00
|
|
|
%postun -n libSDL_net-1_2-0 -p /sbin/ldconfig
|
2007-01-15 23:50:25 +01:00
|
|
|
|
2009-05-28 23:51:36 +02:00
|
|
|
%files -n libSDL_net-1_2-0
|
2007-01-15 23:50:25 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc CHANGES COPYING README
|
2007-03-03 14:36:39 +01:00
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
2009-05-28 23:51:36 +02:00
|
|
|
%files -n libSDL_net-devel
|
2007-03-03 14:36:39 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/SDL/*
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
|
|
|
|
%changelog
|
2009-05-28 23:51:36 +02:00
|
|
|
* Wed May 20 2009 prusnak@suse.cz
|
|
|
|
- follow Shared Library Policy
|
2009-03-02 01:30:21 +01:00
|
|
|
* Wed Feb 25 2009 crrodriguez@suse.de
|
|
|
|
- remove static libraries and "la" files
|
|
|
|
* Wed Jul 25 2007 prusnak@suse.cz
|
2007-07-27 02:09:33 +02:00
|
|
|
- updated to 1.2.7
|
|
|
|
* set server TCP sockets to blocking mode
|
2009-03-02 01:30:21 +01:00
|
|
|
* Sun Jul 22 2007 aj@suse.de
|
2007-07-23 02:19:44 +02:00
|
|
|
- Cleanup build requires.
|
2009-03-02 01:30:21 +01:00
|
|
|
* Fri Mar 02 2007 prusnak@suse.cz
|
2007-03-03 14:36:39 +01:00
|
|
|
- cleaned spec file
|
2009-03-02 01:30:21 +01:00
|
|
|
* Thu Feb 22 2007 prusnak@suse.cz
|
2007-03-03 14:36:39 +01:00
|
|
|
- updated to 1.2.6
|
|
|
|
- created devel subpackage
|
2009-03-02 01:30:21 +01:00
|
|
|
* Thu Oct 26 2006 sndirsch@suse.de
|
2007-01-15 23:50:25 +01:00
|
|
|
- removed wrong 'extra ;' in SDL_net.h (Bug #214645)
|
2009-03-02 01:30:21 +01:00
|
|
|
* Fri Jan 27 2006 nadvornik@suse.cz
|
2007-01-15 23:50:25 +01:00
|
|
|
- fixed BuildRequires
|
2009-03-02 01:30:21 +01:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:50:25 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-03-02 01:30:21 +01:00
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2007-01-15 23:50:25 +01:00
|
|
|
- add %%defattr and %%run_ldconfig
|
2009-03-02 01:30:21 +01:00
|
|
|
* Fri Jul 25 2003 nadvornik@suse.cz
|
2007-01-15 23:50:25 +01:00
|
|
|
- updated to 1.2.5
|
|
|
|
- added buildroot
|
2009-03-02 01:30:21 +01:00
|
|
|
* Mon Dec 16 2002 ro@suse.de
|
2007-01-15 23:50:25 +01:00
|
|
|
- fix build with automake, use "AUTOMAKE_OPTIONS = foreign"
|
2009-03-02 01:30:21 +01:00
|
|
|
* Mon Sep 02 2002 uli@suse.de
|
2007-01-15 23:50:25 +01:00
|
|
|
- use %%_libdir (bug #18726)
|
2009-03-02 01:30:21 +01:00
|
|
|
* Thu Jun 13 2002 uli@suse.de
|
2007-01-15 23:50:25 +01:00
|
|
|
- update -> 1.2.4 (bugfixes)
|
2009-05-28 23:51:36 +02:00
|
|
|
* Wed Jun 12 2002 ro@suse.de
|
2007-01-15 23:50:25 +01:00
|
|
|
- run autoreconf (fixes build on ppc64)
|
2009-03-02 01:30:21 +01:00
|
|
|
* Tue Jan 22 2002 ro@suse.de
|
2007-01-15 23:50:25 +01:00
|
|
|
- changed neededforbuild <kdelibs-artsd> to <kdelibs3-artsd>
|
2009-03-02 01:30:21 +01:00
|
|
|
* Tue Aug 07 2001 uli@suse.de
|
2007-01-15 23:50:25 +01:00
|
|
|
- initial package
|