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