]> git.pld-linux.org Git - packages/SDL_net.git/blob - SDL_net.spec
- tabs in preamble
[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.6
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:  7be5b9ef36129ee187ace96906cd264c
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 Obsoletes:      libSDL_net1.2
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.UTF-8
26 Przykładowa biblioteka obsługi sieci korzystająca z SDL.
27
28 %description -l pt_BR.UTF-8
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.UTF-8):      Pliki nagłówkowe do rozwijania aplikacji używających SDL_net
34 Summary(pt_BR.UTF-8):   Cabeçalhos para desenvolver programas utilizando a SDL_net
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       SDL-devel >= 1.2.5-2
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.UTF-8
45 Pakiet ten zawiera pliki nagłówkowepotzrebne przy rozwijania aplikacji
46 używających SDL_net.
47
48 %description devel -l pt_BR.UTF-8
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.UTF-8):      Statyczne biblioteki SDL_net
55 Summary(pt_BR.UTF-8):   Biblioteca estática para desenvolvimento utilizando a SDL_net
56 Group:          Development/Libraries
57 Requires:       %{name}-devel = %{version}-%{release}
58
59 %description static
60 Statis SDL_net libraries.
61
62 %description static -l pl.UTF-8
63 Statyczne biblioteki SDL_net.
64
65 %description static -l pt_BR.UTF-8
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 %{__libtoolize}
75 %{__aclocal}
76 %{__autoconf}
77 %{__automake}
78 %configure
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post   -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
92
93 %files
94 %defattr(644,root,root,755)
95 %doc CHANGES README
96 %attr(755,root,root) %{_libdir}/lib*.so.*.*
97
98 %files devel
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libdir}/lib*.so
101 %{_libdir}/lib*.la
102 %{_includedir}/SDL/*
103
104 %files static
105 %defattr(644,root,root,755)
106 %{_libdir}/lib*.a
This page took 0.100233 seconds and 4 git commands to generate.