From 76e2c5504c1859f2751fbd467a9b2a3a28e5884267e726eec3f6d6b78f7cf6e2 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 2 Mar 2009 00:30:21 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_net?expand=0&rev=6 --- SDL_net.changes | 5 ++++ SDL_net.spec | 62 ++++++++++++++++++++++++++++--------------------- 2 files changed, 41 insertions(+), 26 deletions(-) diff --git a/SDL_net.changes b/SDL_net.changes index e9aa55b..b1eb4d0 100644 --- a/SDL_net.changes +++ b/SDL_net.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 25 16:04:00 CET 2009 - crrodriguez@suse.de + +- remove static libraries and "la" files + ------------------------------------------------------------------- Wed Jul 25 18:11:19 CEST 2007 - prusnak@suse.cz diff --git a/SDL_net.spec b/SDL_net.spec index cecc399..af502bf 100644 --- a/SDL_net.spec +++ b/SDL_net.spec @@ -1,23 +1,31 @@ # # spec file for package SDL_net (Version 1.2.7) # -# 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. +# 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 or later +Url: http://www.libsdl.org/projects/SDL_net/ +License: LGPL v2.1 or later Group: Development/Libraries/X11 -Autoreqprov: on +AutoReqProv: on Version: 1.2.7 -Release: 1 +Release: 151 Summary: Simple DirectMedia Layer--Networking Library Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -34,10 +42,10 @@ Authors: Masahiro Minami %package devel +License: LGPL v2.1 or later Summary: Simple DirectMedia Layer--Networking Library Group: Development/Libraries/X11 -Requires: %{name} = %{version} SDL-devel libstdc++-devel - +Requires: %{name} = %{version} SDL-devel %description devel This is a small cross-platform networking library for use with SDL. @@ -54,11 +62,12 @@ Authors: %setup -q %build -%configure +%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 @@ -75,40 +84,41 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root) %{_includedir}/SDL/* -%{_libdir}/lib*.*a %{_libdir}/lib*.so %changelog -* Wed Jul 25 2007 - prusnak@suse.cz +* 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 +* Sun Jul 22 2007 aj@suse.de - Cleanup build requires. -* Fri Mar 02 2007 - prusnak@suse.cz +* Fri Mar 02 2007 prusnak@suse.cz - cleaned spec file -* Thu Feb 22 2007 - prusnak@suse.cz +* 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) -* Fri Jan 27 2006 - nadvornik@suse.cz +* Fri Jan 27 2006 nadvornik@suse.cz - fixed BuildRequires -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Sat Jan 10 2004 - adrian@suse.de +* Sat Jan 10 2004 adrian@suse.de - add %%defattr and %%run_ldconfig -* Fri Jul 25 2003 - nadvornik@suse.cz +* Fri Jul 25 2003 nadvornik@suse.cz - updated to 1.2.5 - added buildroot -* Mon Dec 16 2002 - ro@suse.de +* Mon Dec 16 2002 ro@suse.de - fix build with automake, use "AUTOMAKE_OPTIONS = foreign" -* Mon Sep 02 2002 - uli@suse.de +* Mon Sep 02 2002 uli@suse.de - use %%_libdir (bug #18726) -* Thu Jun 13 2002 - uli@suse.de +* Thu Jun 13 2002 uli@suse.de - update -> 1.2.4 (bugfixes) -* Wed Jun 12 2002 - ro@suse.de +* Tue Jun 11 2002 ro@suse.de - run autoreconf (fixes build on ppc64) -* Tue Jan 22 2002 - ro@suse.de +* Tue Jan 22 2002 ro@suse.de - changed neededforbuild to -* Tue Aug 07 2001 - uli@suse.de +* Tue Aug 07 2001 uli@suse.de - initial package