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