]> git.pld-linux.org Git - packages/SDL_net.git/blame - SDL_net.spec
- x32 rebuild
[packages/SDL_net.git] / SDL_net.spec
CommitLineData
ecc1e9ef 1Summary: Simple DirectMedia Layer - network
ef0de8d1
ER
2Summary(pl.UTF-8): Biblioteka obsługi sieci w SDL
3Summary(pt_BR.UTF-8): Simple DirectMedia Layer - Biblioteca de rede portável
ecc1e9ef 4Name: SDL_net
2af6177d 5Version: 1.2.8
55122f1a 6Release: 2
2af6177d 7License: Zlib-like
ecc1e9ef 8Group: Libraries
8c01b8e9 9Source0: http://www.libsdl.org/projects/SDL_net/release/%{name}-%{version}.tar.gz
2af6177d 10# Source0-md5: 20e64e61d65662db66c379034f11f718
34b6aedb
JB
11URL: http://www.libsdl.org/projects/SDL_net/release-1.2.html
12BuildRequires: SDL-devel >= 1.2.14
838363ef 13BuildRequires: autoconf
14BuildRequires: automake
2af6177d 15BuildRequires: libtool >= 2:2.0
34b6aedb 16Requires: SDL >= 1.2.14
9d06937a 17Obsoletes: libSDL_net1.2
bdc675a2 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
e6f01e85 19
20%description
ecc1e9ef 21This is an example portable network library for use with SDL. Note
22that this isn't necessarily how you would want to write a chat
23program, but it demonstrates how to use the basic features of the
24network and GUI libraries.
e6f01e85 25
74648966
JR
26%description -l pl.UTF-8
27Przykładowa biblioteka obsługi sieci korzystająca z SDL.
62bde992 28
74648966
JR
29%description -l pt_BR.UTF-8
30Esta é uma biblioteca portável de rede para uso com o SDL.
5b35923a 31
e6f01e85 32%package devel
ecc1e9ef 33Summary: Header files and more to develop SDL_net applications
ef0de8d1
ER
34Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL_net
35Summary(pt_BR.UTF-8): Cabeçalhos para desenvolver programas utilizando a SDL_net
ecc1e9ef 36Group: Development/Libraries
b54f6baa 37Requires: %{name} = %{version}-%{release}
34b6aedb 38Requires: SDL-devel >= 1.2.14
9d06937a 39Obsoletes: libSDL_net1.2-devel
e6f01e85 40
41%description devel
5b35923a 42This package contains the headers that programmers will need to
43develop applications which will use SDL_net.
44
74648966
JR
45%description devel -l pl.UTF-8
46Pakiet ten zawiera pliki nagłówkowepotzrebne przy rozwijania aplikacji
47używających SDL_net.
e6f01e85 48
74648966
JR
49%description devel -l pt_BR.UTF-8
50Este pacote contém os cabeçalhos que programadores vão precisar para
51desenvolver aplicações utilizando a SDL_net.
62bde992 52
ecc1e9ef 53%package static
62bde992 54Summary: Static SDL_net libraries
ef0de8d1
ER
55Summary(pl.UTF-8): Statyczne biblioteki SDL_net
56Summary(pt_BR.UTF-8): Biblioteca estática para desenvolvimento utilizando a SDL_net
ecc1e9ef 57Group: Development/Libraries
b54f6baa 58Requires: %{name}-devel = %{version}-%{release}
e6f01e85 59
ecc1e9ef 60%description static
6b352034 61Static SDL_net libraries.
e6f01e85 62
74648966 63%description static -l pl.UTF-8
62bde992
AM
64Statyczne biblioteki SDL_net.
65
74648966
JR
66%description static -l pt_BR.UTF-8
67Este pacote contém a biblioteca estática que programadores vão
68precisar para desenvolver aplicações linkados estaticamente com a
5b35923a 69SDL_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
83rm -rf $RPM_BUILD_ROOT
ecc1e9ef 84
841da7e4
PG
85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT
ecc1e9ef 87
e6f01e85 88%clean
89rm -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
This page took 0.132781 seconds and 4 git commands to generate.