7 |
Summary: Simple DirectMedia Layer - Sample TrueType Font Library |
Summary: Simple DirectMedia Layer - Sample TrueType Font Library |
8 |
Name: SDL_ttf |
Name: SDL_ttf |
9 |
Version: 2.0.10 |
Version: 2.0.10 |
10 |
Release: %mkrel 2 |
Release: %mkrel 3 |
11 |
License: LGPLv2+ |
License: LGPLv2+ |
12 |
Group: System/Libraries |
Group: System/Libraries |
13 |
URL: http://www.libsdl.org/projects/SDL_ttf/ |
URL: http://www.libsdl.org/projects/SDL_ttf/ |
14 |
Source0: http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz |
Source0: http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz |
15 |
|
Patch0: SDL_ttf-2.0.10-linkage.patch |
16 |
BuildRequires: SDL-devel |
BuildRequires: SDL-devel |
17 |
BuildRequires: freetype2-devel >= 2.1.7 |
BuildRequires: freetype2-devel >= 2.1.7 |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
|
18 |
|
|
19 |
%description |
%description |
20 |
This is a sample library which allows you to use TrueType fonts in your SDL |
This is a sample library which allows you to use TrueType fonts in your SDL |
65 |
|
|
66 |
%prep |
%prep |
67 |
%setup -q |
%setup -q |
68 |
|
%patch0 -p0 |
69 |
|
|
70 |
%build |
%build |
71 |
export CFLAGS="%{optflags} -lm" |
%configure2_5x --disable-static |
|
%configure2_5x |
|
72 |
%make |
%make |
73 |
|
|
74 |
%install |
%install |
75 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
76 |
%makeinstall_std |
%makeinstall_std |
77 |
|
|
78 |
|
rm -f %{buildroot}%{_libdir}/*.la |
79 |
|
|
80 |
install -d %{buildroot}%{_bindir} |
install -d %{buildroot}%{_bindir} |
81 |
install -m755 .libs/{showfont,glfont} %{buildroot}%{_bindir} |
install -m755 .libs/{showfont,glfont} %{buildroot}%{_bindir} |
82 |
|
|
95 |
%files -n %{develname} |
%files -n %{develname} |
96 |
%defattr(-,root,root) |
%defattr(-,root,root) |
97 |
%doc README CHANGES |
%doc README CHANGES |
|
%{_libdir}/*a |
|
98 |
%{_libdir}/lib*.so |
%{_libdir}/lib*.so |
99 |
%{_includedir}/SDL/* |
%{_includedir}/SDL/* |
100 |
%{_libdir}/pkgconfig/*.pc |
%{_libdir}/pkgconfig/*.pc |
|
|
|
|
|
|