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