ALT Linux repos
Group :: System/Libraries
RPM: SDL_ttf
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define lib_name lib%name
Name: SDL_ttf
Version: 2.0.9
Release: alt1
Summary: Simple DirectMedia Layer - Sample TrueType Font Library
License: LGPL
Group: System/Libraries
Packager: Pavlov Konstantin <thresh at altlinux.ru>
Url: http://www.libsdl.org/projects/SDL_ttf
Source0: %name-%version.tar
%define SDL_ver 1.2.9
BuildRequires: libfreetype-devel glibc-devel-static zlib-devel libmesa-devel
BuildRequires: libSDL-devel >= %SDL_ver
%description
This is a sample library which allows you to use TrueType fonts in your SDL
applications. It comes with an example program "showfont" which displays an
example string for a given TrueType font file.
Warning! TrueType font decoding is under patent, and software using this
library may be in violation of this patent. Use at your own risk! See
http://www.freetype.org/ for details.
%package -n %lib_name
Summary: Main library for %name
Group: System/Libraries
Requires: libSDL >= %SDL_ver
%description -n %lib_name
This package contains the library needed to run programs dynamically
linked with %name.
Warning! TrueType font decoding is under patent, and software using this
library may be in violation of this patent. Use at your own risk! See
http://www.freetype.org/ for details.
%package -n %lib_name-devel
Summary: Headers for developing programs that will use %name
Group: Development/C
Requires: %lib_name = %version-%release
%description -n %lib_name-devel
This package contains the headers that programmers will need to develop
applications which will use %name.
Warning! TrueType font decoding is under patent, and software using this
library may be in violation of this patent. Use at your own risk! See
http://www.freetype.org/ for details.
%package -n %lib_name-devel-static
Summary: Static libraries for developing programs that will use %name
Group: Development/C
Requires: %lib_name-devel = %version-%release
%description -n %lib_name-devel-static
This package contains the static libraries that programmers will need to develop
applications which will use %name.
Warning! TrueType font decoding is under patent, and software using this
library may be in violation of this patent. Use at your own risk! See
http://www.freetype.org/ for details.
%prep
%setup -q
%build
%configure
%make_build
%install
%makeinstall
%post -n %lib_name -p %post_ldconfig
%postun -n %lib_name -p %postun_ldconfig
%files -n %lib_name
%_libdir/*.so.*
%doc README
%files -n %lib_name-devel
%_libdir/*.so
%_includedir/SDL/*
%doc README CHANGES
%files -n %lib_name-devel-static
%_libdir/*.a
%changelog
…
Full changelog you can see here
Name: SDL_ttf
Version: 2.0.9
Release: alt1
Summary: Simple DirectMedia Layer - Sample TrueType Font Library
License: LGPL
Group: System/Libraries
Packager: Pavlov Konstantin <thresh at altlinux.ru>
Url: http://www.libsdl.org/projects/SDL_ttf
Source0: %name-%version.tar
%define SDL_ver 1.2.9
BuildRequires: libfreetype-devel glibc-devel-static zlib-devel libmesa-devel
BuildRequires: libSDL-devel >= %SDL_ver
%description
This is a sample library which allows you to use TrueType fonts in your SDL
applications. It comes with an example program "showfont" which displays an
example string for a given TrueType font file.
Warning! TrueType font decoding is under patent, and software using this
library may be in violation of this patent. Use at your own risk! See
http://www.freetype.org/ for details.
%package -n %lib_name
Summary: Main library for %name
Group: System/Libraries
Requires: libSDL >= %SDL_ver
%description -n %lib_name
This package contains the library needed to run programs dynamically
linked with %name.
Warning! TrueType font decoding is under patent, and software using this
library may be in violation of this patent. Use at your own risk! See
http://www.freetype.org/ for details.
%package -n %lib_name-devel
Summary: Headers for developing programs that will use %name
Group: Development/C
Requires: %lib_name = %version-%release
%description -n %lib_name-devel
This package contains the headers that programmers will need to develop
applications which will use %name.
Warning! TrueType font decoding is under patent, and software using this
library may be in violation of this patent. Use at your own risk! See
http://www.freetype.org/ for details.
%package -n %lib_name-devel-static
Summary: Static libraries for developing programs that will use %name
Group: Development/C
Requires: %lib_name-devel = %version-%release
%description -n %lib_name-devel-static
This package contains the static libraries that programmers will need to develop
applications which will use %name.
Warning! TrueType font decoding is under patent, and software using this
library may be in violation of this patent. Use at your own risk! See
http://www.freetype.org/ for details.
%prep
%setup -q
%build
%configure
%make_build
%install
%makeinstall
%post -n %lib_name -p %post_ldconfig
%postun -n %lib_name -p %postun_ldconfig
%files -n %lib_name
%_libdir/*.so.*
%doc README
%files -n %lib_name-devel
%_libdir/*.so
%_includedir/SDL/*
%doc README CHANGES
%files -n %lib_name-devel-static
%_libdir/*.a
%changelog
…
Full changelog you can see here