1 Summary: Simple DirectMedia Layer - network
7 Source0: http://www.libsdl.org/projects/SDL_net/src/%{name}-%{version}.tar.gz
8 URL: http://www.devolution.com/~slouken/SDL/projects/SDL_net/
9 BuildRequires: SDL-devel >= 1.0.1
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 This is an example portable network library for use with SDL. Note
14 that this isn't necessarily how you would want to write a chat
15 program, but it demonstrates how to use the basic features of the
16 network and GUI libraries.
19 Summary: Header files and more to develop SDL_net applications
20 Group: Development/Libraries
21 Group(fr): Development/Librairies
22 Group(pl): Programowanie/Biblioteki
23 Requires: %{name} = %{version}
27 Header files and more to develop SDL_net applications.
30 Summary: Statis SDL_net libraries
31 Group: Development/Libraries
32 Group(fr): Development/Librairies
33 Group(pl): Programowanie/Biblioteki
34 Requires: %{name}-devel = %{version}
37 Statis SDL_net libraries.
43 LDFLAGS="-s"; export LDFLAGS
48 rm -rf $RPM_BUILD_ROOT
50 %{__make} install DESTDIR=$RPM_BUILD_ROOT
52 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
57 rm -rf $RPM_BUILD_ROOT
59 %post -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
63 %defattr(644,root,root,755)
65 %attr(755,root,root) %{_libdir}/lib*.so.*.*
68 %defattr(644,root,root,755)
70 %attr(755,root,root) %{_libdir}/lib*.so
71 %attr(755,root,root) %{_libdir}/lib*.la
75 %defattr(644,root,root,755)