]> git.pld-linux.org Git - packages/SDL_ttf.git/blame - SDL_ttf.spec
- updated to 1.2.1.
[packages/SDL_ttf.git] / SDL_ttf.spec
CommitLineData
7cd6f34d 1Summary: Simple DirectMedia Layer - ttf handling
2Name: SDL_ttf
31d41575 3Version: 1.2.1
4Release: 1
7cd6f34d 5License: LGPL
6Group: Libraries
7Source0: http://www.devolution.com/~slouken/SDL/projects/SDL_ttf/src/%{name}-%{version}.tar.gz
8URL: http://www.devolution.com/~slouken/SDL/projects/SDL_ttf/
9BuildRequires: freetype-devel
10BuildRequires: SDL-devel >= 1.0.1
11BuildRequires: XFree86-devel
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%define _prefix /usr/X11R6
0eb88c47 15
16%description
3ef760d3 17This is a sample library which allows you to use TrueType fonts in
18your SDL applications. It comes with an example program "showfont"
19which displays an example string for a given TrueType font file.
0eb88c47 20
0eb88c47 21%package devel
7cd6f34d 22Summary: Header files and more to develop SDL_ttf applications
23Group: Development/Libraries
24Group(fr): Development/Librairies
25Group(pl): Programowanie/Biblioteki
26Requires: %{name} = %{version}
27Requires: SDL-devel
0eb88c47 28
29%description devel
7cd6f34d 30Header files and more to develop SDL_ttf applications.
0eb88c47 31
7cd6f34d 32%package static
33Summary: Statis SDL_ttf libraries
34Group: Development/Libraries
35Group(fr): Development/Librairies
36Group(pl): Programowanie/Biblioteki
37Requires: %{name}-devel = %{version}
0eb88c47 38
7cd6f34d 39%description static
40Statis SDL_ttf libraries.
0eb88c47 41
7cd6f34d 42%prep
43%setup -q
0eb88c47 44
45%build
7cd6f34d 46LDFLAGS="-s"; export LDFLAGS
47%configure
58f93c09 48%{__make}
0eb88c47 49
50%install
51rm -rf $RPM_BUILD_ROOT
7cd6f34d 52
8d5630db 53%{__make} install DESTDIR=$RPM_BUILD_ROOT
7cd6f34d 54
55strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
56
57gzip -9nf README CHANGES
0eb88c47 58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
7cd6f34d 62%post -p /sbin/ldconfig
63%postun -p /sbin/ldconfig
0eb88c47 64
65%files
7cd6f34d 66%defattr(644,root,root,755)
67%attr(755,root,root) %{_bindir}/showfont
68%attr(755,root,root) %{_libdir}/lib*.so.*.*
0eb88c47 69
70%files devel
7cd6f34d 71%defattr(644,root,root,755)
72%doc *.gz
73%{_includedir}/SDL/*
74%attr(755,root,root) %{_libdir}/lib*.so
75%attr(755,root,root) %{_libdir}/lib*.la
76
77%files static
3ef760d3 78%defattr(644,root,root,755)
79%{_libdir}/lib*.a
This page took 0.079285 seconds and 4 git commands to generate.