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