]> git.pld-linux.org Git - packages/SDL_ttf.git/blob - SDL_ttf.spec
- massive attack: adding Source-md5
[packages/SDL_ttf.git] / SDL_ttf.spec
1 Summary:        Simple DirectMedia Layer - ttf handling
2 Summary(pl):    Biblioteka obs³ugi fontów TTF
3 Summary(pt_BR): Simple DirectMedia Layer - Biblioteca de fontes TrueType
4 Name:           SDL_ttf
5 Version:        2.0.6
6 Release:        1
7 License:        LGPL
8 Group:          Libraries
9 Source0:        http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz
10 # Source0-md5:  880ca22ac3e8beb5cca2326cc8069733
11 URL:            http://www.libsdl.org/projects/SDL_ttf/
12 BuildRequires:  SDL-devel >= 1.2.5-2
13 BuildRequires:  XFree86-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  freetype-devel >= 2.0.0
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 This is a sample library which allows you to use TrueType fonts in
21 your SDL applications. It comes with an example program "sdlfont"
22 which displays an example string for a given TrueType font file.
23
24 %description -l pl
25 Przyk³adowa biblioteka do obs³ugi fontów TrueType w aplikacjach SDL.
26 Pakiet zawiera przyk³adowy program "sdlfont", wy¶wietlaj±cy
27 przyk³adowy ci±g znaków zadanym fontem TrueType.
28
29 %description -l pt_BR
30 Esta é uma biblioteca que permite a utilização de fontes TrueType em
31 suas aplicações SDL. Ela vem com o programa exemplo "showfont" que
32 mostra uma string exemplo para uma fonte TrueType fornecida.
33
34 %package devel
35 Summary:        Header files and more to develop SDL_ttf applications
36 Summary(pl):    Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_ttf
37 Summary(pt_BR): Cabeçalhos para desenvolver programas utilizando a %{name}
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}
40 Requires:       SDL-devel
41
42 %description devel
43 Header files and more to develop SDL_ttf applications.
44
45 %description devel -l pl
46 Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_ttf.
47
48 %description devel -l pt_BR
49 Este pacote contém os cabeçalhos que programadores vão precisar para
50 desenvolver aplicações utilizando a %{name}.
51
52 %package static
53 Summary:        Static SDL_ttf libraries
54 Summary(pl):    Biblioteki statyczne SDL_ttf
55 Summary(pt_BR): Biblioteca estática para desenvolvimento utilizando a %{name}
56 Group:          Development/Libraries
57 Requires:       %{name}-devel = %{version}
58
59 %description static
60 Static SDL_ttf libraries.
61
62 %description static -l pl
63 Biblioteki statyczne SDL_ttf.
64
65 %description static -l pt_BR
66 Este pacote contém a biblioteca estática que programadores vão
67 precisar para desenvolver aplicações linkados estaticamente com a
68 %{name}.
69
70 %prep
71 %setup -q
72
73 %build
74 rm -f missing
75 %{__aclocal}
76 %{__autoconf}
77 %{__automake}
78 %configure
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT%{_bindir}
84
85 %{__make} install DESTDIR=$RPM_BUILD_ROOT
86
87 install showfont $RPM_BUILD_ROOT%{_bindir}/sdlfont
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post   -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %files
96 %defattr(644,root,root,755)
97 %doc README CHANGES
98 %attr(755,root,root) %{_bindir}/*
99 %attr(755,root,root) %{_libdir}/lib*.so.*.*
100
101 %files devel
102 %defattr(644,root,root,755)
103 %{_includedir}/SDL/*
104 %attr(755,root,root) %{_libdir}/lib*.so
105 %{_libdir}/lib*.la
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/lib*.a
This page took 0.063606 seconds and 4 git commands to generate.