1 Summary: Truetype font rasterizer
2 Summary(pl): Rasteryzer fontów Truetype
12 Group(pt_BR): Bibliotecas
15 Source0: ftp://ftp.freetype.org/freetype/freetype1/freetype-%{version}.tar.gz
16 Source1: ttmkfdir.tar.gz
17 Patch0: freetype-DESTDIR.patch
18 Patch1: freetype-autoconf.patch
19 Patch2: freetype-foundrynames.patch
20 Patch3: freetype-nospaces.patch
21 URL: http://www.physiol.med.tu-muenchen.de/~robert/freetype.html
22 BuildRequires: XFree86-devel
23 BuildRequires: autoconf
24 BuildRequires: automake
25 BuildRequires: gettext-devel
26 BuildRequires: libtool
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 The FreeType engine is a free and portable TrueType font rendering
31 engine. It has been developed to provide TrueType support to a great
32 variety of platforms and environments.
34 Note that FreeType is a *library*. It is not a font server for your
35 favorite platform, even though it was designed to be used in many of
36 them. Note also that it is *not* a complete text-rendering library.
37 Its purpose is simply to open and manage font files, as well as load,
38 hint and render individual glyphs efficiently. You can also see it as
39 a "TrueType driver" for a higher-level library, though rendering text
40 with it is extremely easy, as demo-ed by the test programs.
43 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType. Kody
44 ¼ród³owe napisane s± w ANSI C oraz PASCAL'u.
47 Summary: Header files and development documentation
48 Summary(pl): Pliki nag³ówkowe biblioteki freetype i dokumentacja
49 Group: Development/Libraries
50 Group(de): Entwicklung/Libraries
51 Group(fr): Development/Librairies
52 Group(pl): Programowanie/Biblioteki
53 Requires: %{name} = %{version}
56 This package includes the header files documentations and libraries
57 necessary to develop applications that use freetype.
59 %description -l pl devel
60 Pakiet ten zawiera pliki nag³ówkowe oraz biblioteki niezbêdne przy
61 kompilowaniu programów wykorzystuj±cych bibliotekê freetype.
64 Summary: Freetype static libraries
65 Summary(pl): Biblioteki statyczne freetype
66 Group: Development/Libraries
67 Group(de): Entwicklung/Libraries
68 Group(fr): Development/Librairies
69 Group(pl): Programowanie/Biblioteki
70 Requires: %{name}-devel = %{version}
73 Static freetype libraries.
75 %description -l pl static
76 Biblioteki statyczne freetype.
79 Summary: Freetype library utilities
80 Summary(pl): Programy u¿ytkowe freetype
82 Group(de): Applikationen
84 Requires: %{name} = %{version}
85 Obsoletes: freetype-utils
86 Obsoletes: freetype-tools
89 Freetype library utilites:
90 - ftimer - a simple performance timer for the engine,
91 - fzoom - very simple glyph viewer,
92 - ftlint - program will hint each glyph of a font file, at a given
94 - ftwiew - display all glyphs in a given font, applying hinting to
96 - fdump - a simple TrueType font or collection dumper,
97 - ftstring - a simple program to show off string text generation.
98 - ftstrpn - convert a rendered text string into the PGM or PBM format,
99 - fterror - small test program. Tests the gettext() functionality for
100 internationalized messages.
102 %description -l pl progs
103 Przyk³adowe aplikacje wykorzystuj±ce freetype.
106 %setup -q -n freetype-%{version}
108 tar xz -C ttmkfdir -f %{SOURCE1}
113 gettextize --copy --force
114 libtoolize --copy --force
121 %{__make} -C ttmkfdir CC="%{__cc} %{rpmcflags} -I../lib" FREETYPE_LIB='-L../lib/.libs -lttf'
124 rm -rf $RPM_BUILD_ROOT
126 %{__make} install DESTDIR=$RPM_BUILD_ROOT
127 install ttmkfdir/ttmkfdir $RPM_BUILD_ROOT%{_bindir}
129 gzip -9nf howto/unix.txt README announce docs/{*.txt,FAQ,TODO,credits}
133 %post -p /sbin/ldconfig
134 %postun -p /sbin/ldconfig
137 rm -rf $RPM_BUILD_ROOT
139 %files -f freetype.lang
140 %defattr(644,root,root,755)
141 %attr(755,root,root) %{_bindir}/ttmkfdir
142 %attr(755,root,root) %{_libdir}/lib*so.*.*
145 %defattr(644,root,root,755)
146 %doc howto/unix* docs/*txt* *.gz
147 %attr(755,root,root) %{_libdir}/lib*.so
148 %attr(755,root,root) %{_libdir}/lib*.la
152 %defattr(644,root,root,755)
156 %defattr(644,root,root,755)
157 %attr(755,root,root) %{_bindir}/f*