]> git.pld-linux.org Git - packages/SDL_net.git/blob - SDL_net.spec
- release 2,
[packages/SDL_net.git] / SDL_net.spec
1 Summary:        Simple DirectMedia Layer - network
2 Name:           SDL_net
3 Version:        1.1.1
4 Release:        2
5 License:        LGPL
6 Group:          Libraries
7 Group(de):      Libraries
8 Group(fr):      Librairies
9 Group(pl):      Biblioteki
10 Source0:        http://www.libsdl.org/projects/SDL_net/src/%{name}-%{version}.tar.gz
11 URL:            http://www.devolution.com/~slouken/SDL/projects/SDL_net/
12 BuildRequires:  SDL-devel >= 1.0.1
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _prefix         /usr/X11R6
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 %package devel
24 Summary:        Header files and more to develop SDL_net applications
25 Group:          Development/Libraries
26 Group(de):      Entwicklung/Libraries
27 Group(fr):      Development/Librairies
28 Group(pl):      Programowanie/Biblioteki
29 Requires:       %{name} = %{version}
30 Requires:       SDL-devel
31
32 %description devel
33 Header files and more to develop SDL_net applications.
34
35 %package static
36 Summary:        Statis SDL_net libraries
37 Group:          Development/Libraries
38 Group(de):      Entwicklung/Libraries
39 Group(fr):      Development/Librairies
40 Group(pl):      Programowanie/Biblioteki
41 Requires:       %{name}-devel = %{version}
42
43 %description static
44 Statis SDL_net libraries.
45
46 %prep
47 %setup -q 
48
49 %build
50 %configure
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install DESTDIR=$RPM_BUILD_ROOT
57
58 gzip -9nf README
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post   -p /sbin/ldconfig
64 %postun -p /sbin/ldconfig
65
66 %files
67 %defattr(644,root,root,755)
68 %attr(755,root,root) %{_libdir}/lib*.so.*.*
69
70 %files devel
71 %defattr(644,root,root,755)
72 %doc *.gz
73 %attr(755,root,root) %{_libdir}/lib*.so
74 %attr(755,root,root) %{_libdir}/lib*.la
75 %{_includedir}/SDL/*
76
77 %files static
78 %defattr(644,root,root,755)
79 %{_libdir}/lib*.a
This page took 0.03822 seconds and 4 git commands to generate.