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