]> git.pld-linux.org Git - packages/SDL_net.git/blob - SDL_net.spec
e1d2cf97fd292081898ca9c1cf80a78b862543e1
[packages/SDL_net.git] / SDL_net.spec
1 Summary:        Simple DirectMedia Layer - network
2 Summary(pl):    Biblioteka obs³ugi sieci w SDL
3 Summary(pt_BR): Simple DirectMedia Layer - Biblioteca de rede portável
4 Name:           SDL_net
5 Version:        1.2.5
6 Release:        1
7 License:        LGPL
8 Group:          Libraries
9 Source0:        http://www.libsdl.org/projects/SDL_net/release/%{name}-%{version}.tar.gz
10 # Source0-md5: e45b1048d2747480dcc65ece4130a920
11 URL:            http://www.libsdl.org/projects/SDL_net/
12 BuildRequires:  SDL-devel >= 1.2.5-2
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Obsoletes:      libSDL_net1.2
18
19 %description
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.
24
25 %description -l pl
26 Przyk³adowa biblioteka obs³ugi sieci korzystaj±ca z SDL.
27
28 %description -l pt_BR
29 Esta é uma biblioteca portável de rede para uso com o SDL.
30
31 %package devel
32 Summary:        Header files and more to develop SDL_net applications
33 Summary(pl):    Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_net
34 Summary(pt_BR): Cabeçalhos para desenvolver programas utilizando a SDL_net
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}
37 Requires:       SDL-devel
38 Obsoletes:      libSDL_net1.2-devel
39
40 %description devel
41 This package contains the headers that programmers will need to
42 develop applications which will use SDL_net.
43
44 %description devel -l pl
45 Pakiet ten zawiera pliki nag³ówkowepotzrebne przy rozwijania aplikacji
46 u¿ywaj±cych SDL_net.
47
48 %description devel -l pt_BR
49 Este pacote contém os cabeçalhos que programadores vão precisar para
50 desenvolver aplicações utilizando a SDL_net.
51
52 %package static
53 Summary:        Static SDL_net libraries
54 Summary(pl):    Statyczne biblioteki SDL_net
55 Summary(pt_BR): Biblioteca estática para desenvolvimento utilizando a SDL_net
56 Group:          Development/Libraries
57 Requires:       %{name}-devel = %{version}
58
59 %description static
60 Statis SDL_net libraries.
61
62 %description static -l pl
63 Statyczne biblioteki SDL_net.
64
65 %description static -l pt_BR
66 Este pacote contém a biblioteca estática que programadores vão
67 precisar para desenvolver aplicações linkados estaticamente com a
68 SDL_net.
69
70 %prep
71 %setup -q
72
73 %build
74 cp /usr/share/automake/config.sub .
75 %{__autoconf}
76 %configure
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/lib*.so.*.*
94
95 %files devel
96 %defattr(644,root,root,755)
97 %doc README
98 %attr(755,root,root) %{_libdir}/lib*.so
99 %{_libdir}/lib*.la
100 %{_includedir}/SDL/*
101
102 %files static
103 %defattr(644,root,root,755)
104 %{_libdir}/lib*.a
This page took 0.069141 seconds and 2 git commands to generate.