]> git.pld-linux.org Git - packages/SDL_net.git/blob - SDL_net.spec
db62c751ed36e697769b11104aeba9e69706e371
[packages/SDL_net.git] / SDL_net.spec
1 Summary:        Simple DirectMedia Layer - network
2 Summary(pl):    Biblioteka obs³ugi sieci w SDL
3 Name:           SDL_net
4 Version:        1.2.5
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://www.libsdl.org/projects/SDL_net/release/%{name}-%{version}.tar.gz
9 URL:            http://www.libsdl.org/projects/SDL_net/
10 BuildRequires:  SDL-devel >= 1.2.5-2
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Obsoletes:      libSDL_net1.2
16
17 %description
18 This is an example portable network library for use with SDL. Note
19 that this isn't necessarily how you would want to write a chat
20 program, but it demonstrates how to use the basic features of the
21 network and GUI libraries.
22
23 %description -l pl
24 Przyk³adowa biblioteka obs³ugi sieci korzystaj±ca z SDL.
25
26 %package devel
27 Summary:        Header files and more to develop SDL_net applications
28 Summary(pl):    Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_net
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}
31 Requires:       SDL-devel
32 Obsoletes:      libSDL_net1.2-devel
33
34 %description devel
35 Header files and more to develop SDL_net applications.
36
37 %description -l pl devel
38 Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_net.
39
40 %package static
41 Summary:        Static SDL_net libraries
42 Summary(pl):    Statyczne biblioteki SDL_net
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}
45
46 %description static
47 Statis SDL_net libraries.
48
49 %description -l pl static
50 Statyczne biblioteki SDL_net.
51
52 %prep
53 %setup -q 
54
55 %build
56 #rm -f missing
57 #%%{__libtoolize}
58 #%%{__aclocal}
59 %{__autoconf}
60 #%%{__automake}
61 %configure
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install DESTDIR=$RPM_BUILD_ROOT
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post   -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
74
75 %files
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/lib*.so.*.*
78
79 %files devel
80 %defattr(644,root,root,755)
81 %doc README
82 %attr(755,root,root) %{_libdir}/lib*.so
83 %{_libdir}/lib*.la
84 %{_includedir}/SDL/*
85
86 %files static
87 %defattr(644,root,root,755)
88 %{_libdir}/lib*.a
This page took 0.099547 seconds and 2 git commands to generate.