From e6f01e8550721ee858db88ef60d761625b24fbcc Mon Sep 17 00:00:00 2001 From: kloczek Date: Sun, 2 Jul 2000 19:57:12 +0000 Subject: [PATCH] - raw version. Changed files: SDL_net.spec -> 1.1 --- SDL_net.spec | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 SDL_net.spec diff --git a/SDL_net.spec b/SDL_net.spec new file mode 100644 index 0000000..3f39274 --- /dev/null +++ b/SDL_net.spec @@ -0,0 +1,93 @@ +%define name SDL_net +%define version 1.0.2 +%define release 1mdk + +Summary: Simple DirectMedia Layer - network +Name: %{name} +Version: %{version} +Release: %{release} +Source0: %{name}-%{version}.tar.bz2 +Patch0: SDL_net-1.0.1-newm4libtoolize.patch.bz2 +Copyright: LGPL +Group: System/Libraries +BuildRoot: %{_tmppath}/%{name}-buildroot +URL: http://www.devolution.com/~slouken/SDL/projects/SDL_net/ +Prefix: %{_prefix} +Requires: SDL >= 1.0 + +%description +This is an example portable network library for use with SDL. Note that this +isn't necessarily how you would want to write a chat program, but it +demonstrates how to use the basic features of the network and GUI libraries. + +%package devel +Summary: Libraries, includes and more to develop SDL applications. +Group: Development/C +Requires: %{name} +Requires: SDL-devel + +%description devel +This is an example portable network library for use with SDL. Note that this +isn't necessarily how you would want to write a chat program, but it +demonstrates how to use the basic features of the network and GUI libraries. + +The API can be found in the file SDL_net.h + +%prep +rm -rf ${RPM_BUILD_ROOT} + +%setup +%patch0 -p1 + +%build +aclocal +autoconf +%configure +make + +%install +rm -rf $RPM_BUILD_ROOT +%makeinstall + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc README COPYING +%{prefix}/lib/lib*.so.* + +%files devel +%defattr(-,root,root) +%doc README COPYING +%{prefix}/lib/*a +%{prefix}/include/SDL/ +%{prefix}/lib/lib*.so + +%changelog +* Fri Jun 23 2000 Lenny Cartier 1.0.2-1mdk +- v1.0.2 + +* Tue Jun 20 2000 Chmouel Boudjnah 1.0.1-5mdk +- Use makeinstall macros. + +* Tue May 23 2000 Chmouel Boudjnah 1.0.1-4mdk +- Fix m4 macros with new libtoolize. +- Use configure macro. + +* Tue Apr 11 2000 Guillaume Cottenceau 1.0.1-2mdk +- added url +- fixed group +- some minor package build fixes +- built against stable SDL version, previous was using 1.1.x devel + +* Fri Feb 11 2000 Lenny Cartier +- new in contribs +- used srpm provided by Hakan Tandogan + +* Sun Jan 16 2000 Hakan Tandogan +- initial spec file -- 2.44.0