1 Summary: Simple DirectMedia Layer 2 - network
2 Summary(pl.UTF-8): Biblioteka obsługi sieci w SDL2
3 Summary(pt_BR.UTF-8): Simple DirectMedia Layer 2 - Biblioteca de rede portável
9 Source0: http://www.libsdl.org/projects/SDL_net/release/%{name}-%{version}.tar.gz
10 # Source0-md5: 83bcd0e67796b81b35b08a014c677200
11 URL: http://www.libsdl.org/projects/SDL_net/
12 BuildRequires: SDL2-devel >= 2.0.0
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libtool >= 2:2.0
16 Requires: SDL2 >= 2.0.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 This is an example portable network library for use with SDL2. Note
21 that this isn't necessarily how you would want to write a chat
22 program, but it demonstrates how to use the basic features of the
23 network and GUI libraries.
25 %description -l pl.UTF-8
26 Przykładowa biblioteka obsługi sieci korzystająca z SDL2.
28 %description -l pt_BR.UTF-8
29 Esta é uma biblioteca portável de rede para uso com o SDL2.
32 Summary: Header files and more to develop SDL2_net applications
33 Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL2_net
34 Summary(pt_BR.UTF-8): Cabeçalhos para desenvolver programas utilizando a SDL2_net
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
37 Requires: SDL2-devel >= 2.0.0
40 This package contains the headers that programmers will need to
41 develop applications which will use SDL2_net.
43 %description devel -l pl.UTF-8
44 Pakiet ten zawiera pliki nagłówkowepotzrebne przy rozwijania aplikacji
47 %description devel -l pt_BR.UTF-8
48 Este pacote contém os cabeçalhos que programadores vão precisar para
49 desenvolver aplicações utilizando a SDL2_net.
52 Summary: Static SDL2_net libraries
53 Summary(pl.UTF-8): Statyczne biblioteki SDL2_net
54 Summary(pt_BR.UTF-8): Biblioteca estática para desenvolvimento utilizando a SDL2_net
55 Group: Development/Libraries
56 Requires: %{name}-devel = %{version}-%{release}
59 Static SDL2_net libraries.
61 %description static -l pl.UTF-8
62 Statyczne biblioteki SDL2_net.
64 %description static -l pt_BR.UTF-8
65 Este pacote contém a biblioteca estática que programadores vão
66 precisar para desenvolver aplicações linkados estaticamente com a
81 rm -rf $RPM_BUILD_ROOT
84 DESTDIR=$RPM_BUILD_ROOT
86 # obsoleted by pkg-config
87 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
90 rm -rf $RPM_BUILD_ROOT
92 %post -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
96 %defattr(644,root,root,755)
97 %doc CHANGES.txt COPYING.txt README.txt
98 %attr(755,root,root) %{_libdir}/libSDL2_net-2.0.so.*.*.*
99 %attr(755,root,root) %ghost %{_libdir}/libSDL2_net-2.0.so.0
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_libdir}/libSDL2_net.so
104 %{_includedir}/SDL2/SDL_net.h
105 %{_pkgconfigdir}/SDL2_net.pc
108 %defattr(644,root,root,755)
109 %{_libdir}/libSDL2_net.a