1 Summary: Simple DirectMedia Layer - network
2 Summary(pl): Biblioteka obs³ugi sieci w SDL
8 Source0: http://www.libsdl.org/projects/SDL_net/release/%{name}-%{version}.tar.gz
9 URL: http://www.libsdl.org/projects/SDL_net/
10 BuildRequires: SDL-devel >= 1.2.0
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: libtool
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _prefix /usr/X11R6
19 This is an example portable network library for use with SDL. Note
20 that this isn't necessarily how you would want to write a chat
21 program, but it demonstrates how to use the basic features of the
22 network and GUI libraries.
25 Przyk³adowa biblioteka obs³ugi sieci korzystaj±ca z SDL.
28 Summary: Header files and more to develop SDL_net applications
29 Summary(pl): Pliki na³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_net
30 Group: Development/Libraries
31 Requires: %{name} = %{version}
35 Header files and more to develop SDL_net applications.
37 %description -l pl devel
38 Pliki na³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_net.
41 Summary: Static SDL_net libraries
42 Summary(pl): Statyczne biblioteki SDL_net
43 Group: Development/Libraries
44 Requires: %{name}-devel = %{version}
47 Statis SDL_net libraries.
49 %description -l pl static
50 Statyczne biblioteki SDL_net.
57 libtoolize --copy --force
65 rm -rf $RPM_BUILD_ROOT
67 %{__make} install DESTDIR=$RPM_BUILD_ROOT
72 rm -rf $RPM_BUILD_ROOT
74 %post -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
78 %defattr(644,root,root,755)
79 %attr(755,root,root) %{_libdir}/lib*.so.*.*
82 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/lib*.so
85 %attr(755,root,root) %{_libdir}/lib*.la
89 %defattr(644,root,root,755)