]>
Commit | Line | Data |
---|---|---|
7cd6f34d | 1 | Summary: Simple DirectMedia Layer - ttf handling |
27b34389 ER |
2 | Summary(pl.UTF-8): Biblioteka obsługi fontów TTF |
3 | Summary(pt_BR.UTF-8): Simple DirectMedia Layer - Biblioteca de fontes TrueType | |
7cd6f34d | 4 | Name: SDL_ttf |
8cacf0cf | 5 | Version: 2.0.11 |
7aea9140 | 6 | Release: 1 |
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 |
02954138 | 11 | URL: http://www.libsdl.org/projects/SDL_ttf/ |
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 | |
32 | suas aplicações SDL. Ela vem com o programa exemplo "showfont" 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 |
02954138 | 55 | Summary: Static SDL_ttf libraries |
27b34389 | 56 | Summary(pl.UTF-8): Biblioteki statyczne 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 |
761cf8fc | 62 | Static SDL_ttf libraries. |
0eb88c47 | 63 | |
9e32080b | 64 | %description static -l pl.UTF-8 |
02954138 AM |
65 | Biblioteki statyczne SDL_ttf. |
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} | |
2b953cb0 | 80 | %configure \ |
81 | LIBS="-lm" | |
58f93c09 | 82 | %{__make} |
0eb88c47 | 83 | |
84 | %install | |
85 | rm -rf $RPM_BUILD_ROOT | |
0c460baf | 86 | install -d $RPM_BUILD_ROOT%{_bindir} |
7cd6f34d | 87 | |
fc1d14af PG |
88 | %{__make} install \ |
89 | DESTDIR=$RPM_BUILD_ROOT | |
7cd6f34d | 90 | |
17095ffe | 91 | install .libs/showfont $RPM_BUILD_ROOT%{_bindir}/sdlfont |
b003c0e2 | 92 | |
0eb88c47 | 93 | %clean |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
62941cb4 | 96 | %post -p /sbin/ldconfig |
7cd6f34d | 97 | %postun -p /sbin/ldconfig |
0eb88c47 | 98 | |
99 | %files | |
7cd6f34d | 100 | %defattr(644,root,root,755) |
8cacf0cf | 101 | %doc CHANGES COPYING README |
5ef5561b | 102 | %attr(755,root,root) %{_bindir}/sdlfont |
32f6bcb8 | 103 | %attr(755,root,root) %{_libdir}/libSDL_ttf-2.0.so.*.*.* |
7aea9140 | 104 | %attr(755,root,root) %ghost %{_libdir}/libSDL_ttf-2.0.so.0 |
0eb88c47 | 105 | |
106 | %files devel | |
7cd6f34d | 107 | %defattr(644,root,root,755) |
5ef5561b JB |
108 | %attr(755,root,root) %{_libdir}/libSDL_ttf.so |
109 | %{_libdir}/libSDL_ttf.la | |
110 | %{_includedir}/SDL/SDL_ttf.h | |
7aea9140 | 111 | %{_pkgconfigdir}/SDL_ttf.pc |
7cd6f34d | 112 | |
113 | %files static | |
3ef760d3 | 114 | %defattr(644,root,root,755) |
5ef5561b | 115 | %{_libdir}/libSDL_ttf.a |