]> git.pld-linux.org Git - packages/SDL_net.git/blob - SDL_net.spec
- raw version.
[packages/SDL_net.git] / SDL_net.spec
1 %define name SDL_net
2 %define version 1.0.2
3 %define release 1mdk
4
5 Summary: Simple DirectMedia Layer - network
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}
9 Source0: %{name}-%{version}.tar.bz2
10 Patch0: SDL_net-1.0.1-newm4libtoolize.patch.bz2
11 Copyright: LGPL
12 Group: System/Libraries
13 BuildRoot: %{_tmppath}/%{name}-buildroot
14 URL: http://www.devolution.com/~slouken/SDL/projects/SDL_net/
15 Prefix: %{_prefix}
16 Requires: SDL >= 1.0
17
18 %description
19 This is an example portable network library for use with SDL. Note that this
20 isn't necessarily how you would want to write a chat program, but it
21 demonstrates how to use the basic features of the network and GUI libraries.
22
23 %package devel
24 Summary: Libraries, includes and more to develop SDL applications.
25 Group: Development/C
26 Requires: %{name}
27 Requires: SDL-devel
28
29 %description devel
30 This is an example portable network library for use with SDL. Note that this
31 isn't necessarily how you would want to write a chat program, but it
32 demonstrates how to use the basic features of the network and GUI libraries.
33
34 The API can be found in the file SDL_net.h
35
36 %prep
37 rm -rf ${RPM_BUILD_ROOT}
38
39 %setup 
40 %patch0 -p1
41
42 %build
43 aclocal
44 autoconf
45 %configure
46 make
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 %makeinstall
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %post -p /sbin/ldconfig
56
57 %postun -p /sbin/ldconfig
58
59 %files
60 %defattr(-,root,root)
61 %doc README COPYING
62 %{prefix}/lib/lib*.so.*
63
64 %files devel
65 %defattr(-,root,root)
66 %doc README COPYING
67 %{prefix}/lib/*a
68 %{prefix}/include/SDL/
69 %{prefix}/lib/lib*.so
70
71 %changelog
72 * Fri Jun 23 2000 Lenny Cartier <lenny@mandrakesoft.com> 1.0.2-1mdk
73 - v1.0.2
74
75 * Tue Jun 20 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.0.1-5mdk
76 - Use makeinstall macros.
77
78 * Tue May 23 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.0.1-4mdk
79 - Fix m4 macros with new libtoolize.
80 - Use configure macro.
81
82 * Tue Apr 11 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 1.0.1-2mdk
83 - added url
84 - fixed group
85 - some minor package build fixes
86 - built against stable SDL version, previous was using 1.1.x devel
87
88 * Fri Feb 11 2000 Lenny Cartier <lenny@mandrakesoft.com>
89 - new in contribs
90 - used srpm provided by Hakan Tandogan <hakan@iconsult.com> 
91
92 * Sun Jan 16 2000 Hakan Tandogan <hakan@iconsult.com>
93 - initial spec file
This page took 0.169202 seconds and 4 git commands to generate.