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