]> git.pld-linux.org Git - packages/SDL_net.git/blob - SDL_net.spec
- perl -pi -e "s/^libtoolize --copy --force/\%\{__libtoolize\}/"
[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.4
5 Release:        2
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.0
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 %define         _prefix         /usr/X11R6
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 %package devel
29 Summary:        Header files and more to develop SDL_net applications
30 Summary(pl):    Pliki na³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_net
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}
33 Requires:       SDL-devel
34 Obsoletes:      libSDL_net1.2-devel
35
36 %description devel
37 Header files and more to develop SDL_net applications.
38
39 %description -l pl devel
40 Pliki na³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_net.
41
42 %package static
43 Summary:        Static SDL_net libraries
44 Summary(pl):    Statyczne biblioteki SDL_net
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}
47
48 %description static
49 Statis SDL_net libraries.
50
51 %description -l pl static
52 Statyczne biblioteki SDL_net.
53
54 %prep
55 %setup -q 
56
57 %build
58 rm -f missing
59 %{__libtoolize}
60 aclocal
61 %{__autoconf}
62 %{__automake}
63 %configure
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install DESTDIR=$RPM_BUILD_ROOT
70
71 gzip -9nf README
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_libdir}/lib*.so.*.*
82
83 %files devel
84 %defattr(644,root,root,755)
85 %doc README.gz
86 %attr(755,root,root) %{_libdir}/lib*.so
87 %attr(755,root,root) %{_libdir}/lib*.la
88 %{_includedir}/SDL/*
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/lib*.a
This page took 0.059025 seconds and 4 git commands to generate.