]> git.pld-linux.org Git - packages/SDL2_net.git/blame - SDL2_net.spec
- updated to 2.2.0
[packages/SDL2_net.git] / SDL2_net.spec
CommitLineData
49faff89
JB
1Summary: Simple DirectMedia Layer 2 - network
2Summary(pl.UTF-8): Biblioteka obsługi sieci w SDL2
3Summary(pt_BR.UTF-8): Simple DirectMedia Layer 2 - Biblioteca de rede portável
4Name: SDL2_net
226855a1 5Version: 2.2.0
49faff89
JB
6Release: 1
7License: Zlib-like
8Group: Libraries
9Source0: http://www.libsdl.org/projects/SDL_net/release/%{name}-%{version}.tar.gz
226855a1 10# Source0-md5: ba1cc690ddde85ee90c80e15be9f3bf9
49faff89
JB
11URL: http://www.libsdl.org/projects/SDL_net/
12BuildRequires: SDL2-devel >= 2.0.0
13BuildRequires: autoconf
14BuildRequires: automake
15BuildRequires: libtool >= 2:2.0
16Requires: SDL2 >= 2.0.0
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20This is an example portable network library for use with SDL2. Note
21that this isn't necessarily how you would want to write a chat
22program, but it demonstrates how to use the basic features of the
23network and GUI libraries.
24
25%description -l pl.UTF-8
26Przykładowa biblioteka obsługi sieci korzystająca z SDL2.
27
28%description -l pt_BR.UTF-8
29Esta é uma biblioteca portável de rede para uso com o SDL2.
30
31%package devel
32Summary: Header files and more to develop SDL2_net applications
33Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL2_net
34Summary(pt_BR.UTF-8): Cabeçalhos para desenvolver programas utilizando a SDL2_net
35Group: Development/Libraries
36Requires: %{name} = %{version}-%{release}
37Requires: SDL2-devel >= 2.0.0
38
39%description devel
40This package contains the headers that programmers will need to
41develop applications which will use SDL2_net.
42
43%description devel -l pl.UTF-8
44Pakiet ten zawiera pliki nagłówkowepotzrebne przy rozwijania aplikacji
45używających SDL2_net.
46
47%description devel -l pt_BR.UTF-8
48Este pacote contém os cabeçalhos que programadores vão precisar para
49desenvolver aplicações utilizando a SDL2_net.
50
51%package static
52Summary: Static SDL2_net libraries
53Summary(pl.UTF-8): Statyczne biblioteki SDL2_net
54Summary(pt_BR.UTF-8): Biblioteca estática para desenvolvimento utilizando a SDL2_net
55Group: Development/Libraries
56Requires: %{name}-devel = %{version}-%{release}
57
58%description static
59Static SDL2_net libraries.
60
61%description static -l pl.UTF-8
62Statyczne biblioteki SDL2_net.
63
64%description static -l pt_BR.UTF-8
65Este pacote contém a biblioteca estática que programadores vão
66precisar para desenvolver aplicações linkados estaticamente com a
67SDL2_net.
68
69%prep
70%setup -q
71
72%build
73%{__libtoolize}
74%{__aclocal}
75%{__autoconf}
76%{__automake}
77%configure
78%{__make}
79
80%install
81rm -rf $RPM_BUILD_ROOT
82
83%{__make} install \
84 DESTDIR=$RPM_BUILD_ROOT
85
86# obsoleted by pkg-config
87%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
88
89%clean
90rm -rf $RPM_BUILD_ROOT
91
92%post -p /sbin/ldconfig
93%postun -p /sbin/ldconfig
94
95%files
96%defattr(644,root,root,755)
226855a1 97%doc CHANGES.txt LICENSE.txt README.txt
49faff89
JB
98%attr(755,root,root) %{_libdir}/libSDL2_net-2.0.so.*.*.*
99%attr(755,root,root) %ghost %{_libdir}/libSDL2_net-2.0.so.0
100
101%files devel
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
226855a1 106%{_libdir}/cmake/SDL2_net
49faff89
JB
107
108%files static
109%defattr(644,root,root,755)
110%{_libdir}/libSDL2_net.a
This page took 0.072766 seconds and 4 git commands to generate.