]> git.pld-linux.org Git - packages/SDL_net.git/blob - SDL_net.spec
- merge translations from Conectiva.
[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 URL:            http://www.libsdl.org/projects/SDL_net/
11 BuildRequires:  SDL-devel >= 1.2.5-2
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Obsoletes:      libSDL_net1.2
17
18 %description
19 This is an example portable network library for use with SDL. Note
20 that this isn't necessarily how you would want to write a chat
21 program, but it demonstrates how to use the basic features of the
22 network and GUI libraries.
23
24 %description -l pl
25 Przyk³adowa biblioteka obs³ugi sieci korzystaj±ca z SDL.
26
27 %description -l pt_BR
28 Esta é uma biblioteca portável de rede para uso com o SDL.
29
30 %package devel
31 Summary:        Header files and more to develop SDL_net applications
32 Summary(pl):    Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_net
33 Summary(pt_BR): Cabeçalhos para desenvolver programas utilizando a SDL_net
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}
36 Requires:       SDL-devel
37 Obsoletes:      libSDL_net1.2-devel
38
39 %description devel
40 This package contains the headers that programmers will need to
41 develop applications which will use SDL_net.
42
43 %description devel -l pl
44 Pakiet ten zawiera pliki nag³ówkowepotzrebne przy rozwijania aplikacji
45 u¿ywaj±cych SDL_net.
46
47 %description devel -l pt_BR
48 Este pacote contém os cabeçalhos que programadores vão precisar para
49 desenvolver aplicações utilizando a SDL_net.
50
51 %package static
52 Summary:        Static SDL_net libraries
53 Summary(pl):    Statyczne biblioteki SDL_net
54 Summary(pt_BR): Biblioteca estática para desenvolvimento utilizando a SDL_net
55 Group:          Development/Libraries
56 Requires:       %{name}-devel = %{version}
57
58 %description static
59 Statis SDL_net libraries.
60
61 %description static -l pl
62 Statyczne biblioteki SDL_net.
63
64 %description static -l pt_BR
65 Este pacote contém a biblioteca estática que programadores vão
66 precisar para desenvolver aplicações linkados estaticamente com a
67 SDL_net.
68
69 %prep
70 %setup -q
71
72 %build
73 #rm -f missing
74 #%%{__libtoolize}
75 #%%{__aclocal}
76 %{__autoconf}
77 #%%{__automake}
78 %configure
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install DESTDIR=$RPM_BUILD_ROOT
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %post   -p /sbin/ldconfig
90 %postun -p /sbin/ldconfig
91
92 %files
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/lib*.so.*.*
95
96 %files devel
97 %defattr(644,root,root,755)
98 %doc README
99 %attr(755,root,root) %{_libdir}/lib*.so
100 %{_libdir}/lib*.la
101 %{_includedir}/SDL/*
102
103 %files static
104 %defattr(644,root,root,755)
105 %{_libdir}/lib*.a
This page took 0.067579 seconds and 3 git commands to generate.