SHA256
1
0
forked from pool/SDL_net
SDL_net/SDL_net.spec

125 lines
3.3 KiB
RPMSpec

#
# spec file for package SDL_net (Version 1.2.7)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: SDL_net
BuildRequires: SDL-devel
Url: http://www.libsdl.org/projects/SDL_net/
License: LGPL v2.1 or later
Group: Development/Libraries/X11
AutoReqProv: on
Version: 1.2.7
Release: 151
Summary: Simple DirectMedia Layer--Networking Library
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
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
License: LGPL v2.1 or later
Summary: Simple DirectMedia Layer--Networking Library
Group: Development/Libraries/X11
Requires: %{name} = %{version} SDL-devel
%description devel
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>
%prep
%setup -q
%build
%configure --disable-static --with-pic
make %{?jobs:-j %jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%{__rm} -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc CHANGES COPYING README
%{_libdir}/lib*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/SDL/*
%{_libdir}/lib*.so
%changelog
* Wed Feb 25 2009 crrodriguez@suse.de
- remove static libraries and "la" files
* Wed Jul 25 2007 prusnak@suse.cz
- updated to 1.2.7
* set server TCP sockets to blocking mode
* Sun Jul 22 2007 aj@suse.de
- Cleanup build requires.
* 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
- fixed BuildRequires
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Jan 10 2004 adrian@suse.de
- add %%defattr and %%run_ldconfig
* Fri Jul 25 2003 nadvornik@suse.cz
- updated to 1.2.5
- added buildroot
* Mon Dec 16 2002 ro@suse.de
- fix build with automake, use "AUTOMAKE_OPTIONS = foreign"
* Mon Sep 02 2002 uli@suse.de
- use %%_libdir (bug #18726)
* Thu Jun 13 2002 uli@suse.de
- update -> 1.2.4 (bugfixes)
* Tue Jun 11 2002 ro@suse.de
- run autoreconf (fixes build on ppc64)
* Tue Jan 22 2002 ro@suse.de
- changed neededforbuild <kdelibs-artsd> to <kdelibs3-artsd>
* Tue Aug 07 2001 uli@suse.de
- initial package