1 Summary: Truetype font rasterizer
2 Summary(pl): Rasteryzer fontów Truetype
10 Source0: ftp://ftp.physiol.med.tu-muenchen.de/pub/freetype/%{name}-%{version}.tar.gz
11 Source1: ttmkfdir.tar.gz
12 Patch0: %{name}-DESTDIR.patch
13 Patch1: %{name}-autoconf.patch
14 URL: http://www.physiol.med.tu-muenchen.de/~robert/freetype.html
15 BuildRequires: gettext-devel
16 BuildRequires: XFree86-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The FreeType engine is a free and portable TrueType font rendering
21 engine. It has been developed to provide TrueType support to a great
22 variety of platforms and environments.
24 Note that FreeType is a *library*. It is not a font server for your
25 favorite platform, even though it was designed to be used in many of
26 them. Note also that it is *not* a complete text-rendering library.
27 Its purpose is simply to open and manage font files, as well as load,
28 hint and render individual glyphs efficiently. You can also see it as
29 a "TrueType driver" for a higher-level library, though rendering text
30 with it is extremely easy, as demo-ed by the test programs.
33 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType. Kody
34 ¼ród³owe napisane s± w ANSI C oraz PASCAL'u.
37 Summary: Header files and development documentation
38 Summary(pl): Pliki nag³ówkowe biblioteki freetype i dokumentacja
39 Group: Development/Libraries
40 Group(pl): Programowanie/Biblioteki
41 Group(fr): Development/Librairies
42 Requires: %{name} = %{version}
45 This package includes the header files documentations and libraries
46 necessary to develop applications that use freetype.
48 %description -l pl devel
49 Pakiet ten zawiera pliki nag³ówkowe oraz biblioteki niezbêdne przy
50 kompilowaniu programów wykorzystuj±cych bibliotekê freetype.
53 Summary: Freetype static libraries
54 Summary(pl): Biblioteki statyczne freetype
55 Group: Development/Libraries
56 Group(pl): Programowanie/Biblioteki
57 Group(fr): Development/Librairies
58 Requires: %{name}-devel = %{version}
61 Static freetype libraries.
63 %description -l pl static
64 Biblioteki statyczne freetype.
67 Summary: Freetype library utilities
68 Summary(pl): Programy u¿ytkowe freetype
71 Requires: %{name} = %{version}
72 Obsoletes: freetype-utils
75 Freetype library utilites:
76 - ftimer - a simple performance timer for the engine,
77 - fzoom - very simple glyph viewer,
78 - ftlint - program will hint each glyph of a font file, at a given
80 - ftwiew - display all glyphs in a given font, applying hinting to
82 - fdump - a simple TrueType font or collection dumper,
83 - ftstring - a simple program to show off string text generation.
84 - ftstrpn - convert a rendered text string into the PGM or PBM format,
85 - fterror - small test program. Tests the gettext() functionality for
86 internationalized messages.
88 %description -l pl progs
89 Przyk³adowe aplikacje wykorzystuj±ce freetype.
94 tar xz -C ttmkfdir -f %{SOURCE1}
99 gettextize --copy --force
106 %{__make} -C ttmkfdir CC="gcc $RPM_OPT_FLAGS -I../lib"
109 rm -rf $RPM_BUILD_ROOT
111 %{__make} install DESTDIR=$RPM_BUILD_ROOT
112 install -s ttmkfdir/ttmkfdir $RPM_BUILD_ROOT%{_bindir}
114 strip $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
116 gzip -9nf howto/unix.txt README announce docs/{*.txt,FAQ,TODO,credits}
120 %post -p /sbin/ldconfig
121 %postun -p /sbin/ldconfig
124 rm -rf $RPM_BUILD_ROOT
126 %files -f %{name}.lang
127 %defattr(644,root,root,755)
128 %attr(755,root,root) %{_libdir}/lib*so.*.*
131 %defattr(644,root,root,755)
132 %doc howto/unix* docs/*txt* *.gz
133 %attr(755,root,root) %{_libdir}/lib*.so
134 %attr(755,root,root) %{_libdir}/lib*.la
138 %defattr(644,root,root,755)
142 %defattr(644,root,root,755)
143 %attr(755,root,root) %{_bindir}/*