]>
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 |
4efe5322 | 5 | Version: 2.0.8 |
369d43d4 | 6 | Release: 2 |
7cd6f34d | 7 | License: LGPL |
8 | Group: Libraries | |
6bebf73e | 9 | Source0: http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz |
4efe5322 | 10 | # Source0-md5: 094b6c08769e9842dbe1dfb5efa22df7 |
369d43d4 | 11 | # based on http://www.freetype.org/freetype2/patches/SDL_ttf-2.0.7-noftinternals.patch |
ae3c83fd | 12 | Patch0: %{name}-ft2build_h.patch |
02954138 | 13 | URL: http://www.libsdl.org/projects/SDL_ttf/ |
eb63bc7a | 14 | BuildRequires: OpenGL-GLU-devel |
8c2b4b12 | 15 | BuildRequires: SDL-devel >= 1.2.5-2 |
eb63bc7a | 16 | BuildRequires: autoconf >= 2.59-9 |
aca27c58 | 17 | BuildRequires: automake |
23cd32d4 | 18 | BuildRequires: freetype-devel >= 2.1.4 |
4efe5322 | 19 | BuildRequires: libtool |
7cd6f34d | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
0eb88c47 | 22 | %description |
3ef760d3 | 23 | This is a sample library which allows you to use TrueType fonts in |
761cf8fc | 24 | your SDL applications. It comes with an example program "sdlfont" |
3ef760d3 | 25 | which displays an example string for a given TrueType font file. |
0eb88c47 | 26 | |
9e32080b JR |
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. | |
02954138 | 31 | |
9e32080b JR |
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 | |
d40162c6 | 35 | mostra uma string exemplo para uma fonte TrueType fornecida. |
36 | ||
0eb88c47 | 37 | %package devel |
7cd6f34d | 38 | Summary: Header files and more to develop SDL_ttf applications |
27b34389 ER |
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} | |
7cd6f34d | 41 | Group: Development/Libraries |
4c140d09 | 42 | Requires: %{name} = %{version}-%{release} |
4efe5322 JB |
43 | Requires: SDL-devel >= 1.2.5-2 |
44 | Requires: freetype-devel >= 2.1.4 | |
0eb88c47 | 45 | |
46 | %description devel | |
7cd6f34d | 47 | Header files and more to develop SDL_ttf applications. |
0eb88c47 | 48 | |
9e32080b JR |
49 | %description devel -l pl.UTF-8 |
50 | Pliki nagłówkowe do rozwijania aplikacji używających SDL_ttf. | |
02954138 | 51 | |
9e32080b JR |
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}. | |
d40162c6 | 55 | |
7cd6f34d | 56 | %package static |
02954138 | 57 | Summary: Static SDL_ttf libraries |
27b34389 ER |
58 | Summary(pl.UTF-8): Biblioteki statyczne SDL_ttf |
59 | Summary(pt_BR.UTF-8): Biblioteca estática para desenvolvimento utilizando a %{name} | |
7cd6f34d | 60 | Group: Development/Libraries |
4c140d09 | 61 | Requires: %{name}-devel = %{version}-%{release} |
0eb88c47 | 62 | |
7cd6f34d | 63 | %description static |
761cf8fc | 64 | Static SDL_ttf libraries. |
0eb88c47 | 65 | |
9e32080b | 66 | %description static -l pl.UTF-8 |
02954138 AM |
67 | Biblioteki statyczne SDL_ttf. |
68 | ||
9e32080b JR |
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 | |
d40162c6 | 72 | %{name}. |
73 | ||
7cd6f34d | 74 | %prep |
75 | %setup -q | |
ae3c83fd | 76 | %patch0 -p1 |
0eb88c47 | 77 | |
4efe5322 JB |
78 | rm -f acinclude.m4 |
79 | ||
0eb88c47 | 80 | %build |
4efe5322 | 81 | %{__libtoolize} |
4cd77505 | 82 | %{__aclocal} |
322cecae | 83 | %{__autoconf} |
84 | %{__automake} | |
7cd6f34d | 85 | %configure |
58f93c09 | 86 | %{__make} |
0eb88c47 | 87 | |
88 | %install | |
89 | rm -rf $RPM_BUILD_ROOT | |
0c460baf | 90 | install -d $RPM_BUILD_ROOT%{_bindir} |
7cd6f34d | 91 | |
fc1d14af PG |
92 | %{__make} install \ |
93 | DESTDIR=$RPM_BUILD_ROOT | |
7cd6f34d | 94 | |
17095ffe | 95 | install .libs/showfont $RPM_BUILD_ROOT%{_bindir}/sdlfont |
b003c0e2 | 96 | |
0eb88c47 | 97 | %clean |
98 | rm -rf $RPM_BUILD_ROOT | |
99 | ||
62941cb4 | 100 | %post -p /sbin/ldconfig |
7cd6f34d | 101 | %postun -p /sbin/ldconfig |
0eb88c47 | 102 | |
103 | %files | |
7cd6f34d | 104 | %defattr(644,root,root,755) |
0b32645a | 105 | %doc README CHANGES |
b003c0e2 | 106 | %attr(755,root,root) %{_bindir}/* |
7cd6f34d | 107 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
0eb88c47 | 108 | |
109 | %files devel | |
7cd6f34d | 110 | %defattr(644,root,root,755) |
7cd6f34d | 111 | %{_includedir}/SDL/* |
112 | %attr(755,root,root) %{_libdir}/lib*.so | |
91342905 | 113 | %{_libdir}/lib*.la |
7cd6f34d | 114 | |
115 | %files static | |
3ef760d3 | 116 | %defattr(644,root,root,755) |
117 | %{_libdir}/lib*.a |