]> git.pld-linux.org Git - packages/SDL_ttf.git/blob - SDL_ttf.spec
- install actual showfont binary, not wrapper script
[packages/SDL_ttf.git] / SDL_ttf.spec
1 Summary:        Simple DirectMedia Layer - ttf handling
2 Summary(pl):    Biblioteka obs³ugi fontów TTF
3 Summary(pt_BR): Simple DirectMedia Layer - Biblioteca de fontes TrueType
4 Name:           SDL_ttf
5 Version:        2.0.8
6 Release:        1
7 License:        LGPL
8 Group:          Libraries
9 Source0:        http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz
10 # Source0-md5:  094b6c08769e9842dbe1dfb5efa22df7
11 Patch0:         %{name}-ft2build_h.patch
12 URL:            http://www.libsdl.org/projects/SDL_ttf/
13 BuildRequires:  OpenGL-GLU-devel
14 BuildRequires:  SDL-devel >= 1.2.5-2
15 BuildRequires:  autoconf >= 2.59-9
16 BuildRequires:  automake
17 BuildRequires:  freetype-devel >= 2.1.4
18 BuildRequires:  libtool
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This is a sample library which allows you to use TrueType fonts in
23 your SDL applications. It comes with an example program "sdlfont"
24 which displays an example string for a given TrueType font file.
25
26 %description -l pl
27 Przyk³adowa biblioteka do obs³ugi fontów TrueType w aplikacjach SDL.
28 Pakiet zawiera przyk³adowy program "sdlfont", wy¶wietlaj±cy
29 przyk³adowy ci±g znaków zadanym fontem TrueType.
30
31 %description -l pt_BR
32 Esta é uma biblioteca que permite a utilização de fontes TrueType em
33 suas aplicações SDL. Ela vem com o programa exemplo "showfont" que
34 mostra uma string exemplo para uma fonte TrueType fornecida.
35
36 %package devel
37 Summary:        Header files and more to develop SDL_ttf applications
38 Summary(pl):    Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_ttf
39 Summary(pt_BR): Cabeçalhos para desenvolver programas utilizando a %{name}
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42 Requires:       SDL-devel >= 1.2.5-2
43 Requires:       freetype-devel >= 2.1.4
44
45 %description devel
46 Header files and more to develop SDL_ttf applications.
47
48 %description devel -l pl
49 Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_ttf.
50
51 %description devel -l pt_BR
52 Este pacote contém os cabeçalhos que programadores vão precisar para
53 desenvolver aplicações utilizando a %{name}.
54
55 %package static
56 Summary:        Static SDL_ttf libraries
57 Summary(pl):    Biblioteki statyczne SDL_ttf
58 Summary(pt_BR): Biblioteca estática para desenvolvimento utilizando a %{name}
59 Group:          Development/Libraries
60 Requires:       %{name}-devel = %{version}-%{release}
61
62 %description static
63 Static SDL_ttf libraries.
64
65 %description static -l pl
66 Biblioteki statyczne SDL_ttf.
67
68 %description static -l pt_BR
69 Este pacote contém a biblioteca estática que programadores vão
70 precisar para desenvolver aplicações linkados estaticamente com a
71 %{name}.
72
73 %prep
74 %setup -q
75 %patch0 -p1
76
77 rm -f acinclude.m4
78
79 %build
80 %{__libtoolize}
81 %{__aclocal}
82 %{__autoconf}
83 %{__automake}
84 %configure
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT%{_bindir}
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 install .libs/showfont $RPM_BUILD_ROOT%{_bindir}/sdlfont
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %post   -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
101
102 %files
103 %defattr(644,root,root,755)
104 %doc README CHANGES
105 %attr(755,root,root) %{_bindir}/*
106 %attr(755,root,root) %{_libdir}/lib*.so.*.*
107
108 %files devel
109 %defattr(644,root,root,755)
110 %{_includedir}/SDL/*
111 %attr(755,root,root) %{_libdir}/lib*.so
112 %{_libdir}/lib*.la
113
114 %files static
115 %defattr(644,root,root,755)
116 %{_libdir}/lib*.a
This page took 0.053708 seconds and 3 git commands to generate.