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