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