Summary: Simple DirectMedia Layer - network Name: SDL_net Version: 1.1.1 Release: 2 License: LGPL Group: Libraries Group(de): Libraries Group(fr): Librairies Group(pl): Biblioteki Source0: http://www.libsdl.org/projects/SDL_net/src/%{name}-%{version}.tar.gz URL: http://www.devolution.com/~slouken/SDL/projects/SDL_net/ BuildRequires: SDL-devel >= 1.0.1 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 %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: Header files and more to develop SDL_net applications Group: Development/Libraries Group(de): Entwicklung/Libraries Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki Requires: %{name} = %{version} Requires: SDL-devel %description devel Header files and more to develop SDL_net applications. %package static Summary: Statis SDL_net libraries Group: Development/Libraries Group(de): Entwicklung/Libraries Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki Requires: %{name}-devel = %{version} %description static Statis SDL_net libraries. %prep %setup -q %build %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT gzip -9nf README %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel %defattr(644,root,root,755) %doc *.gz %attr(755,root,root) %{_libdir}/lib*.so %attr(755,root,root) %{_libdir}/lib*.la %{_includedir}/SDL/* %files static %defattr(644,root,root,755) %{_libdir}/lib*.a