]> git.pld-linux.org Git - packages/SDL_net.git/blob - SDL_net.spec
- x32 rebuild
[packages/SDL_net.git] / SDL_net.spec
1 Summary:        Simple DirectMedia Layer - network
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
4 Name:           SDL_net
5 Version:        1.2.8
6 Release:        2
7 License:        Zlib-like
8 Group:          Libraries
9 Source0:        http://www.libsdl.org/projects/SDL_net/release/%{name}-%{version}.tar.gz
10 # Source0-md5:  20e64e61d65662db66c379034f11f718
11 URL:            http://www.libsdl.org/projects/SDL_net/release-1.2.html
12 BuildRequires:  SDL-devel >= 1.2.14
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool >= 2:2.0
16 Requires:       SDL >= 1.2.14
17 Obsoletes:      libSDL_net1.2
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
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.
25
26 %description -l pl.UTF-8
27 Przykładowa biblioteka obsługi sieci korzystająca z SDL.
28
29 %description -l pt_BR.UTF-8
30 Esta é uma biblioteca portável de rede para uso com o SDL.
31
32 %package devel
33 Summary:        Header files and more to develop SDL_net applications
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
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}-%{release}
38 Requires:       SDL-devel >= 1.2.14
39 Obsoletes:      libSDL_net1.2-devel
40
41 %description devel
42 This package contains the headers that programmers will need to
43 develop applications which will use SDL_net.
44
45 %description devel -l pl.UTF-8
46 Pakiet ten zawiera pliki nagłówkowepotzrebne przy rozwijania aplikacji
47 używających SDL_net.
48
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.
52
53 %package static
54 Summary:        Static SDL_net libraries
55 Summary(pl.UTF-8):      Statyczne biblioteki SDL_net
56 Summary(pt_BR.UTF-8):   Biblioteca estática para desenvolvimento utilizando a SDL_net
57 Group:          Development/Libraries
58 Requires:       %{name}-devel = %{version}-%{release}
59
60 %description static
61 Static SDL_net libraries.
62
63 %description static -l pl.UTF-8
64 Statyczne biblioteki SDL_net.
65
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
69 SDL_net.
70
71 %prep
72 %setup -q
73
74 %build
75 %{__libtoolize}
76 %{__aclocal}
77 %{__autoconf}
78 %{__automake}
79 %configure
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %post   -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
93
94 %files
95 %defattr(644,root,root,755)
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
99
100 %files devel
101 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_libdir}/libSDL_net.so
103 %{_libdir}/libSDL_net.la
104 %{_includedir}/SDL/SDL_net.h
105 %{_pkgconfigdir}/SDL_net.pc
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/libSDL_net.a
This page took 0.069246 seconds and 3 git commands to generate.