]> git.pld-linux.org Git - packages/SDL_ttf.git/blame - SDL_ttf.spec
- raw version.
[packages/SDL_ttf.git] / SDL_ttf.spec
CommitLineData
0eb88c47 1%define name SDL_ttf
2%define version 1.0.1
3
4Summary: Simple DirectMedia Layer - ttf handling
5Name: %{name}
6Version: %{version}
7Release: 2mdk
8Source0: %{name}-%{version}.tar.bz2
9Copyright: LGPL
10Group: System/Libraries
11BuildRoot: %{_tmppath}/%{name}-buildroot
12URL: http://www.devolution.com/~slouken/SDL/projects/SDL_ttf/
13Prefix: %{_prefix}
14Requires: SDL >= 1.0
15
16%description
17This is a sample library which allows you to use TrueType fonts in your SDL
18applications. It comes with an example program "showfont" which displays an
19example string for a given TrueType font file.
20
21Warning! TrueType font decoding is under patent, and software using this
22library may be in violation of this patent. Use at your own risk! See
23http://www.freetype.org/ for details.
24
25%package devel
26Summary: Libraries, includes and more to develop SDL applications.
27Group: Development/C
28Requires: %{name}
29Requires: SDL-devel
30
31%description devel
32This is a sample library which allows you to use TrueType fonts in your SDL
33applications. It comes with an example program "showfont" which displays an
34example string for a given TrueType font file.
35
36Warning! TrueType font decoding is under patent, and software using this
37library may be in violation of this patent. Use at your own risk! See
38http://www.freetype.org/ for details.
39
40%prep
41rm -rf ${RPM_BUILD_ROOT}
42
43%setup
44#%patch -p1
45
46%build
47CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
48make
49
50%install
51rm -rf $RPM_BUILD_ROOT
52make install prefix=$RPM_BUILD_ROOT/%{prefix}
53
54%clean
55rm -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.132798 seconds and 4 git commands to generate.