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 Patch2: %{name}-foundrynames.patch
15 Patch3: %{name}-nospaces.patch
16 URL: http://www.physiol.med.tu-muenchen.de/~robert/freetype.html
17 BuildRequires: gettext-devel
18 BuildRequires: XFree86-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 The FreeType engine is a free and portable TrueType font rendering
23 engine. It has been developed to provide TrueType support to a great
24 variety of platforms and environments.
26 Note that FreeType is a *library*. It is not a font server for your
27 favorite platform, even though it was designed to be used in many of
28 them. Note also that it is *not* a complete text-rendering library.
29 Its purpose is simply to open and manage font files, as well as load,
30 hint and render individual glyphs efficiently. You can also see it as
31 a "TrueType driver" for a higher-level library, though rendering text
32 with it is extremely easy, as demo-ed by the test programs.
35 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType. Kody
36 ¼ród³owe napisane s± w ANSI C oraz PASCAL'u.
39 Summary: Header files and development documentation
40 Summary(pl): Pliki nag³ówkowe biblioteki freetype i dokumentacja
41 Group: Development/Libraries
42 Group(fr): Development/Librairies
43 Group(pl): Programowanie/Biblioteki
44 Requires: %{name} = %{version}
47 This package includes the header files documentations and libraries
48 necessary to develop applications that use freetype.
50 %description -l pl devel
51 Pakiet ten zawiera pliki nag³ówkowe oraz biblioteki niezbêdne przy
52 kompilowaniu programów wykorzystuj±cych bibliotekê freetype.
55 Summary: Freetype static libraries
56 Summary(pl): Biblioteki statyczne freetype
57 Group: Development/Libraries
58 Group(fr): Development/Librairies
59 Group(pl): Programowanie/Biblioteki
60 Requires: %{name}-devel = %{version}
63 Static freetype libraries.
65 %description -l pl static
66 Biblioteki statyczne freetype.
69 Summary: Freetype library utilities
70 Summary(pl): Programy u¿ytkowe freetype
73 Requires: %{name} = %{version}
74 Obsoletes: freetype-utils
77 Freetype library utilites:
78 - ftimer - a simple performance timer for the engine,
79 - fzoom - very simple glyph viewer,
80 - ftlint - program will hint each glyph of a font file, at a given
82 - ftwiew - display all glyphs in a given font, applying hinting to
84 - fdump - a simple TrueType font or collection dumper,
85 - ftstring - a simple program to show off string text generation.
86 - ftstrpn - convert a rendered text string into the PGM or PBM format,
87 - fterror - small test program. Tests the gettext() functionality for
88 internationalized messages.
90 %description -l pl progs
91 Przyk³adowe aplikacje wykorzystuj±ce freetype.
96 tar xz -C ttmkfdir -f %{SOURCE1}
101 gettextize --copy --force
108 %{__make} -C ttmkfdir CC="gcc $RPM_OPT_FLAGS -I../lib"
111 rm -rf $RPM_BUILD_ROOT
113 %{__make} install DESTDIR=$RPM_BUILD_ROOT
114 install -s ttmkfdir/ttmkfdir $RPM_BUILD_ROOT%{_bindir}
116 strip $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
118 gzip -9nf howto/unix.txt README announce docs/{*.txt,FAQ,TODO,credits}
122 %post -p /sbin/ldconfig
123 %postun -p /sbin/ldconfig
126 rm -rf $RPM_BUILD_ROOT
128 %files -f %{name}.lang
129 %defattr(644,root,root,755)
130 %attr(755,root,root) %{_bindir}/ttmkfdir
131 %attr(755,root,root) %{_libdir}/lib*so.*.*
134 %defattr(644,root,root,755)
135 %doc howto/unix* docs/*txt* *.gz
136 %attr(755,root,root) %{_libdir}/lib*.so
137 %attr(755,root,root) %{_libdir}/lib*.la
141 %defattr(644,root,root,755)
145 %defattr(644,root,root,755)
146 %attr(755,root,root) %{_bindir}/f*