]> git.pld-linux.org Git - packages/SDL2_ttf.git/blame - SDL2_ttf.spec
- updated to 2.0.13
[packages/SDL2_ttf.git] / SDL2_ttf.spec
CommitLineData
11adbe75
JB
1Summary: Simple DirectMedia Layer 2 - ttf handling
2Summary(pl.UTF-8): Biblioteka obsługi fontów TTF dla SDL2
3Summary(pt_BR.UTF-8): Simple DirectMedia Layer 2 - Biblioteca de fontes TrueType
4Name: SDL2_ttf
3c792971
JB
5Version: 2.0.13
6Release: 1
11adbe75
JB
7License: Zlib-like
8Group: Libraries
9Source0: http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz
3c792971 10# Source0-md5: f57b13b2e51f1f8772cc1a79cdcdb14e
11adbe75
JB
11URL: http://www.libsdl.org/projects/SDL_ttf/
12BuildRequires: OpenGL-GLU-devel
13BuildRequires: SDL2-devel >= 2.0.0
14BuildRequires: autoconf >= 2.59-9
15BuildRequires: automake
16BuildRequires: freetype-devel >= 2.1.4
17BuildRequires: libtool >= 2:2.0
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21This is a sample library which allows you to use TrueType fonts in
22your SDL2 applications. It comes with an example program "sdl2font"
23which displays an example string for a given TrueType font file.
24
25%description -l pl.UTF-8
26Przykładowa biblioteka do obsługi fontów TrueType w aplikacjach SDL2.
27Pakiet zawiera przykładowy program "sdl2font", wyświetlający
28przykładowy ciąg znaków zadanym fontem TrueType.
29
30%description -l pt_BR.UTF-8
31Esta é uma biblioteca que permite a utilização de fontes TrueType em
32suas aplicações SDL2. Ela vem com o programa exemplo "sdl2font" que
33mostra uma string exemplo para uma fonte TrueType fornecida.
34
35%package devel
36Summary: Header files and more to develop SDL2_ttf applications
37Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL2_ttf
38Summary(pt_BR.UTF-8): Cabeçalhos para desenvolver programas utilizando a SDL2_ttf
39Group: Development/Libraries
40Requires: %{name} = %{version}-%{release}
41Requires: SDL2-devel >= 2.0.0
42Requires: freetype-devel >= 2.1.4
43
44%description devel
45Header files and more to develop SDL2_ttf applications.
46
47%description devel -l pl.UTF-8
48Pliki nagłówkowe do rozwijania aplikacji używających SDL2_ttf.
49
50%description devel -l pt_BR.UTF-8
51Este pacote contém os cabeçalhos que programadores vão precisar para
52desenvolver aplicações utilizando a SDL2_ttf.
53
54%package static
55Summary: Static SDL2_ttf library
56Summary(pl.UTF-8): Biblioteka statyczna SDL2_ttf
57Summary(pt_BR.UTF-8): Biblioteca estática para desenvolvimento utilizando a SDL2_ttf
58Group: Development/Libraries
59Requires: %{name}-devel = %{version}-%{release}
60
61%description static
62Static SDL2_ttf library.
63
64%description static -l pl.UTF-8
65Biblioteka statyczna SDL2_ttf.
66
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
70SDL2_ttf.
71
72%prep
73%setup -q
74
75%build
76%{__libtoolize}
77%{__aclocal}
78%{__autoconf}
79%{__automake}
80%configure
81
82%{__make} \
83 libSDL2_ttf_la_LIBADD="-lm"
84
85%install
86rm -rf $RPM_BUILD_ROOT
87install -d $RPM_BUILD_ROOT%{_bindir}
88
89%{__make} install \
90 DESTDIR=$RPM_BUILD_ROOT
91
92install .libs/showfont $RPM_BUILD_ROOT%{_bindir}/sdl2font
93
94# obsoleted by pkg-config
95%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
96
97%clean
98rm -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 CHANGES.txt COPYING.txt README.txt
106%attr(755,root,root) %{_bindir}/sdl2font
107%attr(755,root,root) %{_libdir}/libSDL2_ttf-2.0.so.*.*.*
108%attr(755,root,root) %ghost %{_libdir}/libSDL2_ttf-2.0.so.0
109
110%files devel
111%defattr(644,root,root,755)
112%attr(755,root,root) %{_libdir}/libSDL2_ttf.so
113%{_includedir}/SDL2/SDL_ttf.h
114%{_pkgconfigdir}/SDL2_ttf.pc
115
116%files static
117%defattr(644,root,root,755)
118%{_libdir}/libSDL2_ttf.a
This page took 0.155305 seconds and 4 git commands to generate.