diff --git a/SDL_net.changes b/SDL_net.changes index b1eb4d0..d4d370f 100644 --- a/SDL_net.changes +++ b/SDL_net.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 20 16:32:01 CEST 2009 - prusnak@suse.cz + +- follow Shared Library Policy + ------------------------------------------------------------------- Wed Feb 25 16:04:00 CET 2009 - crrodriguez@suse.de diff --git a/SDL_net.spec b/SDL_net.spec index af502bf..14a9d85 100644 --- a/SDL_net.spec +++ b/SDL_net.spec @@ -19,14 +19,13 @@ Name: SDL_net -BuildRequires: SDL-devel +BuildRequires: libSDL-devel Url: http://www.libsdl.org/projects/SDL_net/ License: LGPL v2.1 or later -Group: Development/Libraries/X11 -AutoReqProv: on +Group: System/Libraries Version: 1.2.7 -Release: 151 -Summary: Simple DirectMedia Layer--Networking Library +Release: 152 +Summary: Simple DirectMedia Layer - Networking Library Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -41,13 +40,33 @@ Authors: Roy Wood Masahiro Minami -%package devel +%package -n libSDL_net-1_2-0 +Group: System/Libraries +Summary: Simple DirectMedia Layer - Networking Library License: LGPL v2.1 or later -Summary: Simple DirectMedia Layer--Networking Library -Group: Development/Libraries/X11 -Requires: %{name} = %{version} SDL-devel +Provides: SDL_net = %{version} +Obsoletes: SDL_net < %{version} -%description devel +%description -n libSDL_net-1_2-0 +This is a small cross-platform networking library for use with SDL. + + + +Authors: +-------- + Sam Lantinga + Roy Wood + Masahiro Minami + +%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 This is a small cross-platform networking library for use with SDL. @@ -72,21 +91,23 @@ make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig +%post -n libSDL_net-1_2-0 -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n libSDL_net-1_2-0 -p /sbin/ldconfig -%files +%files -n libSDL_net-1_2-0 %defattr(-,root,root) %doc CHANGES COPYING README %{_libdir}/lib*.so.* -%files devel +%files -n libSDL_net-devel %defattr(-,root,root) %{_includedir}/SDL/* %{_libdir}/lib*.so %changelog +* Wed May 20 2009 prusnak@suse.cz +- follow Shared Library Policy * Wed Feb 25 2009 crrodriguez@suse.de - remove static libraries and "la" files * Wed Jul 25 2007 prusnak@suse.cz @@ -116,7 +137,7 @@ rm -rf $RPM_BUILD_ROOT - use %%_libdir (bug #18726) * Thu Jun 13 2002 uli@suse.de - update -> 1.2.4 (bugfixes) -* Tue Jun 11 2002 ro@suse.de +* Wed Jun 12 2002 ro@suse.de - run autoreconf (fixes build on ppc64) * Tue Jan 22 2002 ro@suse.de - changed neededforbuild to diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..3902788 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libSDL_net-1_2-0