]>
Commit | Line | Data |
---|---|---|
7cd6f34d | 1 | Summary: Simple DirectMedia Layer - ttf handling |
b42c4c82 | 2 | Summary(pl.UTF-8): Biblioteka obsługi fontów TTF dla SDL |
27b34389 | 3 | Summary(pt_BR.UTF-8): Simple DirectMedia Layer - Biblioteca de fontes TrueType |
7cd6f34d | 4 | Name: SDL_ttf |
8cacf0cf | 5 | Version: 2.0.11 |
5f33feb6 | 6 | Release: 2 |
8cacf0cf | 7 | License: Zlib-like |
7cd6f34d | 8 | Group: Libraries |
6bebf73e | 9 | Source0: http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz |
8cacf0cf | 10 | # Source0-md5: 61e29bd9da8d245bc2471d1b2ce591aa |
13153911 | 11 | URL: http://www.libsdl.org/projects/SDL_ttf/release-1.2.html |
eb63bc7a | 12 | BuildRequires: OpenGL-GLU-devel |
8c2b4b12 | 13 | BuildRequires: SDL-devel >= 1.2.5-2 |
eb63bc7a | 14 | BuildRequires: autoconf >= 2.59-9 |
aca27c58 | 15 | BuildRequires: automake |
23cd32d4 | 16 | BuildRequires: freetype-devel >= 2.1.4 |
32f6bcb8 | 17 | BuildRequires: libtool >= 2:2.0 |
7cd6f34d | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
0eb88c47 | 20 | %description |
3ef760d3 | 21 | This is a sample library which allows you to use TrueType fonts in |
761cf8fc | 22 | your SDL applications. It comes with an example program "sdlfont" |
3ef760d3 | 23 | which displays an example string for a given TrueType font file. |
0eb88c47 | 24 | |
9e32080b JR |
25 | %description -l pl.UTF-8 |
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. | |
02954138 | 29 | |
9e32080b JR |
30 | %description -l pt_BR.UTF-8 |
31 | Esta é uma biblioteca que permite a utilização de fontes TrueType em | |
13153911 | 32 | suas aplicações SDL. Ela vem com o programa exemplo "sdlfont" que |
d40162c6 | 33 | mostra uma string exemplo para uma fonte TrueType fornecida. |
34 | ||
0eb88c47 | 35 | %package devel |
7cd6f34d | 36 | Summary: Header files and more to develop SDL_ttf applications |
27b34389 | 37 | Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL_ttf |
5ef5561b | 38 | Summary(pt_BR.UTF-8): Cabeçalhos para desenvolver programas utilizando a SDL_ttf |
7cd6f34d | 39 | Group: Development/Libraries |
4c140d09 | 40 | Requires: %{name} = %{version}-%{release} |
4efe5322 JB |
41 | Requires: SDL-devel >= 1.2.5-2 |
42 | Requires: freetype-devel >= 2.1.4 | |
0eb88c47 | 43 | |
44 | %description devel | |
7cd6f34d | 45 | Header files and more to develop SDL_ttf applications. |
0eb88c47 | 46 | |
9e32080b JR |
47 | %description devel -l pl.UTF-8 |
48 | Pliki nagłówkowe do rozwijania aplikacji używających SDL_ttf. | |
02954138 | 49 | |
9e32080b JR |
50 | %description devel -l pt_BR.UTF-8 |
51 | Este pacote contém os cabeçalhos que programadores vão precisar para | |
5ef5561b | 52 | desenvolver aplicações utilizando a SDL_ttf. |
d40162c6 | 53 | |
7cd6f34d | 54 | %package static |
b42c4c82 JB |
55 | Summary: Static SDL_ttf library |
56 | Summary(pl.UTF-8): Biblioteka statyczna SDL_ttf | |
5ef5561b | 57 | Summary(pt_BR.UTF-8): Biblioteca estática para desenvolvimento utilizando a SDL_ttf |
7cd6f34d | 58 | Group: Development/Libraries |
4c140d09 | 59 | Requires: %{name}-devel = %{version}-%{release} |
0eb88c47 | 60 | |
7cd6f34d | 61 | %description static |
b42c4c82 | 62 | Static SDL_ttf library. |
0eb88c47 | 63 | |
9e32080b | 64 | %description static -l pl.UTF-8 |
b42c4c82 | 65 | Biblioteka statyczna SDL_ttf. |
02954138 | 66 | |
9e32080b JR |
67 | %description static -l pt_BR.UTF-8 |
68 | Este pacote contém a biblioteca estática que programadores vão | |
69 | precisar para desenvolver aplicações linkados estaticamente com a | |
5ef5561b | 70 | SDL_ttf. |
d40162c6 | 71 | |
7cd6f34d | 72 | %prep |
73 | %setup -q | |
0eb88c47 | 74 | |
75 | %build | |
4efe5322 | 76 | %{__libtoolize} |
4cd77505 | 77 | %{__aclocal} |
322cecae | 78 | %{__autoconf} |
79 | %{__automake} | |
b42c4c82 JB |
80 | %configure |
81 | ||
82 | %{__make} \ | |
83 | libSDL_ttf_la_LIBADD="-lm" | |
0eb88c47 | 84 | |
85 | %install | |
86 | rm -rf $RPM_BUILD_ROOT | |
0c460baf | 87 | install -d $RPM_BUILD_ROOT%{_bindir} |
7cd6f34d | 88 | |
fc1d14af PG |
89 | %{__make} install \ |
90 | DESTDIR=$RPM_BUILD_ROOT | |
7cd6f34d | 91 | |
17095ffe | 92 | install .libs/showfont $RPM_BUILD_ROOT%{_bindir}/sdlfont |
b003c0e2 | 93 | |
0eb88c47 | 94 | %clean |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
62941cb4 | 97 | %post -p /sbin/ldconfig |
7cd6f34d | 98 | %postun -p /sbin/ldconfig |
0eb88c47 | 99 | |
100 | %files | |
7cd6f34d | 101 | %defattr(644,root,root,755) |
8cacf0cf | 102 | %doc CHANGES COPYING README |
5ef5561b | 103 | %attr(755,root,root) %{_bindir}/sdlfont |
32f6bcb8 | 104 | %attr(755,root,root) %{_libdir}/libSDL_ttf-2.0.so.*.*.* |
7aea9140 | 105 | %attr(755,root,root) %ghost %{_libdir}/libSDL_ttf-2.0.so.0 |
0eb88c47 | 106 | |
107 | %files devel | |
7cd6f34d | 108 | %defattr(644,root,root,755) |
5ef5561b JB |
109 | %attr(755,root,root) %{_libdir}/libSDL_ttf.so |
110 | %{_libdir}/libSDL_ttf.la | |
111 | %{_includedir}/SDL/SDL_ttf.h | |
7aea9140 | 112 | %{_pkgconfigdir}/SDL_ttf.pc |
7cd6f34d | 113 | |
114 | %files static | |
3ef760d3 | 115 | %defattr(644,root,root,755) |
5ef5561b | 116 | %{_libdir}/libSDL_ttf.a |