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