1 Summary: Truetype font rasterizer
2 Summary(pl): Rasteryzer fontów Truetype
8 Source0: ftp://ftp.freetype.org/freetype/freetype1/freetype-%{version}.tar.gz
9 Patch0: freetype-DESTDIR.patch
10 Patch1: freetype-autoconf.patch
11 URL: http://www.physiol.med.tu-muenchen.de/~robert/freetype.html
12 BuildRequires: XFree86-devel
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: gettext-devel
16 BuildRequires: libtool
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 Requires: %{name} = %{version}
43 This package includes the header files documentations and libraries
44 necessary to develop applications that use freetype.
46 %description devel -l pl
47 Pakiet ten zawiera pliki nag³ówkowe oraz biblioteki niezbêdne przy
48 kompilowaniu programów wykorzystuj±cych bibliotekê freetype.
51 Summary: Freetype static libraries
52 Summary(pl): Biblioteki statyczne freetype
53 Group: Development/Libraries
54 Requires: %{name}-devel = %{version}
57 Static freetype libraries.
59 %description static -l pl
60 Biblioteki statyczne freetype.
63 Summary: Freetype library utilities
64 Summary(pl): Programy u¿ytkowe freetype
66 Requires: %{name} = %{version}
67 Obsoletes: freetype-utils
68 Obsoletes: freetype-tools
71 Freetype library utilites:
72 - ftimer - a simple performance timer for the engine,
73 - fzoom - very simple glyph viewer,
74 - ftlint - program will hint each glyph of a font file, at a given
76 - ftwiew - display all glyphs in a given font, applying hinting to
78 - fdump - a simple TrueType font or collection dumper,
79 - ftstring - a simple program to show off string text generation.
80 - ftstrpn - convert a rendered text string into the PGM or PBM format,
81 - fterror - small test program. Tests the gettext() functionality for
82 internationalized messages.
84 %description progs -l pl
85 Przyk³adowe aplikacje wykorzystuj±ce freetype:
86 - ftimer - narzêdzie mierz±ce szybko¶æ silnika
87 - fzoom - prosta przegl±darka glifów
88 - ftlint - program robi±cy hinting ka¿dego glifu z fontu przy podanym
90 - ftview - program wy¶wietlaj±cy z hintingiem wszystkie glify z fontu
91 - fdump - narzêdzie zrzucaj±ce dane z fontu lub zestawu fontów TT
92 - ftstring - prosty program obrazuj±cy generowanie tekstu
93 - ftstrpn - konwerter zrenderowanego tekstu na format PGM/PBM
94 - fterror - prosty program testuj±cy dzia³anie gettext() w
95 zlokalizowanych komunikatach.
98 %setup -q -n freetype-%{version}
103 gettextize --copy --force
104 libtoolize --copy --force
113 rm -rf $RPM_BUILD_ROOT
116 DESTDIR=$RPM_BUILD_ROOT
118 gzip -9nf howto/unix.txt README announce docs/{*.txt,FAQ,TODO,credits}
123 rm -rf $RPM_BUILD_ROOT
125 %post -p /sbin/ldconfig
126 %postun -p /sbin/ldconfig
128 %files -f freetype.lang
129 %defattr(644,root,root,755)
130 %attr(755,root,root) %{_libdir}/lib*so.*.*
133 %defattr(644,root,root,755)
134 %doc howto/unix* docs/*txt* *.gz
135 %attr(755,root,root) %{_libdir}/lib*.so
136 %attr(755,root,root) %{_libdir}/lib*.la
140 %defattr(644,root,root,755)
144 %defattr(644,root,root,755)
145 %attr(755,root,root) %{_bindir}/f*