]> git.pld-linux.org Git - packages/SDL_ttf.git/blob - SDL_ttf.spec
- raw version.
[packages/SDL_ttf.git] / SDL_ttf.spec
1 %define name SDL_ttf
2 %define version 1.0.1
3
4 Summary: Simple DirectMedia Layer - ttf handling
5 Name: %{name}
6 Version: %{version}
7 Release: 2mdk
8 Source0: %{name}-%{version}.tar.bz2
9 Copyright: LGPL
10 Group: System/Libraries
11 BuildRoot: %{_tmppath}/%{name}-buildroot
12 URL: http://www.devolution.com/~slouken/SDL/projects/SDL_ttf/
13 Prefix: %{_prefix}
14 Requires: SDL >= 1.0
15
16 %description
17 This is a sample library which allows you to use TrueType fonts in your SDL
18 applications. It comes with an example program "showfont" which displays an
19 example string for a given TrueType font file.
20
21 Warning! TrueType font decoding is under patent, and software using this
22 library may be in violation of this patent. Use at your own risk! See
23 http://www.freetype.org/ for details.
24
25 %package devel
26 Summary: Libraries, includes and more to develop SDL applications.
27 Group: Development/C
28 Requires: %{name}
29 Requires: SDL-devel
30
31 %description devel
32 This is a sample library which allows you to use TrueType fonts in your SDL
33 applications. It comes with an example program "showfont" which displays an
34 example string for a given TrueType font file.
35
36 Warning! TrueType font decoding is under patent, and software using this
37 library may be in violation of this patent. Use at your own risk! See
38 http://www.freetype.org/ for details.
39
40 %prep
41 rm -rf ${RPM_BUILD_ROOT}
42
43 %setup
44 #%patch -p1
45
46 %build
47 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
48 make
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 make install prefix=$RPM_BUILD_ROOT/%{prefix}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post
58 /sbin/ldconfig
59
60 %postun
61 /sbin/ldconfig
62
63 %files
64 %defattr(-,root,root)
65 %doc README COPYING
66 %{prefix}/bin/showfont
67 %{prefix}/lib/lib*.so.*
68
69 %files devel
70 %defattr(-,root,root)
71 %doc README COPYING CHANGES
72 %{prefix}/lib/*a
73 %{prefix}/include/SDL/
74 %{prefix}/lib/lib*.so
75
76 %changelog
77 * Tue Apr 11 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 1.0.1-2mdk
78 - added url
79 - fixed group
80 - some minor package build fixes
81 - built against stable SDL version, previous was using 1.1.x devel
82
83 * Fri Feb 11 2000 Lenny Cartier <lenny@mandrakesoft.com>
84 - new in contribs
85 - used specfile provided by Hakan Tandogan <hakan@iconsult.com>
86
87 * Sun Jan 16 2000 Hakan Tandogan <hakan@iconsult.com>
88 - initial spec file
This page took 0.065884 seconds and 3 git commands to generate.