]>
Commit | Line | Data |
---|---|---|
ecc1e9ef | 1 | Summary: Simple DirectMedia Layer - network |
ef0de8d1 ER |
2 | Summary(pl.UTF-8): Biblioteka obsługi sieci w SDL |
3 | Summary(pt_BR.UTF-8): Simple DirectMedia Layer - Biblioteca de rede portável | |
ecc1e9ef | 4 | Name: SDL_net |
2af6177d | 5 | Version: 1.2.8 |
55122f1a | 6 | Release: 2 |
2af6177d | 7 | License: Zlib-like |
ecc1e9ef | 8 | Group: Libraries |
8c01b8e9 | 9 | Source0: http://www.libsdl.org/projects/SDL_net/release/%{name}-%{version}.tar.gz |
2af6177d | 10 | # Source0-md5: 20e64e61d65662db66c379034f11f718 |
34b6aedb JB |
11 | URL: http://www.libsdl.org/projects/SDL_net/release-1.2.html |
12 | BuildRequires: SDL-devel >= 1.2.14 | |
838363ef | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
2af6177d | 15 | BuildRequires: libtool >= 2:2.0 |
34b6aedb | 16 | Requires: SDL >= 1.2.14 |
9d06937a | 17 | Obsoletes: libSDL_net1.2 |
bdc675a2 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
e6f01e85 | 19 | |
20 | %description | |
ecc1e9ef | 21 | This is an example portable network library for use with SDL. Note |
22 | that this isn't necessarily how you would want to write a chat | |
23 | program, but it demonstrates how to use the basic features of the | |
24 | network and GUI libraries. | |
e6f01e85 | 25 | |
74648966 JR |
26 | %description -l pl.UTF-8 |
27 | Przykładowa biblioteka obsługi sieci korzystająca z SDL. | |
62bde992 | 28 | |
74648966 JR |
29 | %description -l pt_BR.UTF-8 |
30 | Esta é uma biblioteca portável de rede para uso com o SDL. | |
5b35923a | 31 | |
e6f01e85 | 32 | %package devel |
ecc1e9ef | 33 | Summary: Header files and more to develop SDL_net applications |
ef0de8d1 ER |
34 | Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL_net |
35 | Summary(pt_BR.UTF-8): Cabeçalhos para desenvolver programas utilizando a SDL_net | |
ecc1e9ef | 36 | Group: Development/Libraries |
b54f6baa | 37 | Requires: %{name} = %{version}-%{release} |
34b6aedb | 38 | Requires: SDL-devel >= 1.2.14 |
9d06937a | 39 | Obsoletes: libSDL_net1.2-devel |
e6f01e85 | 40 | |
41 | %description devel | |
5b35923a | 42 | This package contains the headers that programmers will need to |
43 | develop applications which will use SDL_net. | |
44 | ||
74648966 JR |
45 | %description devel -l pl.UTF-8 |
46 | Pakiet ten zawiera pliki nagłówkowepotzrebne przy rozwijania aplikacji | |
47 | używających SDL_net. | |
e6f01e85 | 48 | |
74648966 JR |
49 | %description devel -l pt_BR.UTF-8 |
50 | Este pacote contém os cabeçalhos que programadores vão precisar para | |
51 | desenvolver aplicações utilizando a SDL_net. | |
62bde992 | 52 | |
ecc1e9ef | 53 | %package static |
62bde992 | 54 | Summary: Static SDL_net libraries |
ef0de8d1 ER |
55 | Summary(pl.UTF-8): Statyczne biblioteki SDL_net |
56 | Summary(pt_BR.UTF-8): Biblioteca estática para desenvolvimento utilizando a SDL_net | |
ecc1e9ef | 57 | Group: Development/Libraries |
b54f6baa | 58 | Requires: %{name}-devel = %{version}-%{release} |
e6f01e85 | 59 | |
ecc1e9ef | 60 | %description static |
6b352034 | 61 | Static SDL_net libraries. |
e6f01e85 | 62 | |
74648966 | 63 | %description static -l pl.UTF-8 |
62bde992 AM |
64 | Statyczne biblioteki SDL_net. |
65 | ||
74648966 JR |
66 | %description static -l pt_BR.UTF-8 |
67 | Este pacote contém a biblioteca estática que programadores vão | |
68 | precisar para desenvolver aplicações linkados estaticamente com a | |
5b35923a | 69 | SDL_net. |
70 | ||
ecc1e9ef | 71 | %prep |
5b35923a | 72 | %setup -q |
e6f01e85 | 73 | |
74 | %build | |
bdc675a2 JB |
75 | %{__libtoolize} |
76 | %{__aclocal} | |
919ef48f | 77 | %{__autoconf} |
bdc675a2 | 78 | %{__automake} |
e6f01e85 | 79 | %configure |
ecc1e9ef | 80 | %{__make} |
e6f01e85 | 81 | |
82 | %install | |
83 | rm -rf $RPM_BUILD_ROOT | |
ecc1e9ef | 84 | |
841da7e4 PG |
85 | %{__make} install \ |
86 | DESTDIR=$RPM_BUILD_ROOT | |
ecc1e9ef | 87 | |
e6f01e85 | 88 | %clean |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
6972c2a8 | 91 | %post -p /sbin/ldconfig |
e6f01e85 | 92 | %postun -p /sbin/ldconfig |
93 | ||
94 | %files | |
ecc1e9ef | 95 | %defattr(644,root,root,755) |
2af6177d JB |
96 | %doc CHANGES COPYING README |
97 | %attr(755,root,root) %{_libdir}/libSDL_net-1.2.so.*.*.* | |
98 | %attr(755,root,root) %ghost %{_libdir}/libSDL_net-1.2.so.0 | |
e6f01e85 | 99 | |
100 | %files devel | |
ecc1e9ef | 101 | %defattr(644,root,root,755) |
ab067a03 JB |
102 | %attr(755,root,root) %{_libdir}/libSDL_net.so |
103 | %{_libdir}/libSDL_net.la | |
104 | %{_includedir}/SDL/SDL_net.h | |
2af6177d | 105 | %{_pkgconfigdir}/SDL_net.pc |
ecc1e9ef | 106 | |
107 | %files static | |
108 | %defattr(644,root,root,755) | |
ab067a03 | 109 | %{_libdir}/libSDL_net.a |