pkg://SDL_net-1.2.2-1.src.rpm:150176/SDL_net.spec
info downloads
%define eul %{nil}
Summary: SDL portable network library
Name: SDL_net
Version: 1.2.2
Release: 1
Source0: http://www.libsdl.org/projects/SDL_net/release/%{name}-%{version}.tar.bz2
URL: http://www.libsdl.org/projects/SDL_net/
License: LGPL
Group: System Environment/Libraries
BuildRoot: /var/tmp/%{name}-buildroot
Prefix: %{_prefix}
Requires: SDL >= 1.2.0
%if "%{eul}" == ""
BuildRequires: esound-devel
%endif
BuildRequires: SDL-devel kdelibs-sound-devel
%description
This is a portable network library for use with SDL.
%package devel
Summary: Libraries and includes to develop SDL networked applications.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
This is a portable network library for use with SDL.
This is the libraries and include files you can use to develop SDL
networked applications.
%prep
%setup -q
%build
%configure --prefix=%{prefix}
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 CHANGES COPYING
%{prefix}/lib/lib*.so.*
%files devel
%defattr(-,root,root)
%doc README CHANGES COPYING
%{prefix}/lib/lib*.a
%{prefix}/lib/lib*.so
%{prefix}/include/SDL/
%changelog
* Tue Jul 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.2.2-1
- Add build dependencies (#49829)
- Update to 1.2.2 (bugfix release) while at it
- s/Copyright/License/
* Tue Jul 10 2001 Elliot Lee <sopwith@redhat.com>
- Rebuild
* Sun Apr 15 2001 Bernhard Rosenkraenzer <bero@redhat.com>
- Initial Red Hat build