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 Patch2: freetype-po.patch
12 URL: http://www.physiol.med.tu-muenchen.de/~robert/freetype.html
13 BuildRequires: XFree86-devel
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: gettext-devel
17 BuildRequires: libtool
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. Jest
35 to jedynie biblioteka, a nie serwer fontów, chocia¿ zosta³a ona
36 zaprojektowana do u¿ywania tak¿e w takich serwerach. Nie jest to te¿
37 kompletna biblioteka do rasteryzacji tekstu. Jej celem jest tylko
38 odczytywanie i zarz±dzanie plikami z fontami oraz wczytywanie i
39 wykonywanie hintingu i rasteryzacji poszczególnych glifów. Mo¿e byæ
40 tak¿e uwa¿ana za "sterownik TrueType" dla bibliotek wy¿szego poziomu,
41 jednak u¿ycie samej biblioteki FreeType do rasteryzacji jest bardzo
42 proste, co mo¿na zobaczyæ w programach demonstracyjnych.
45 Summary: Header files and development documentation
46 Summary(pl): Pliki nag³ówkowe biblioteki freetype i dokumentacja
47 Group: Development/Libraries
48 Requires: %{name} = %{version}
49 Provides: freetype-devel = %{version}
52 This package includes the header files documentations and libraries
53 necessary to develop applications that use freetype.
55 %description devel -l pl
56 Pakiet ten zawiera pliki nag³ówkowe oraz biblioteki niezbêdne przy
57 kompilowaniu programów wykorzystuj±cych bibliotekê freetype.
60 Summary: Freetype static libraries
61 Summary(pl): Biblioteki statyczne freetype
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{version}
64 Provides: freetype-static = %{version}
67 Static freetype libraries.
69 %description static -l pl
70 Biblioteki statyczne freetype.
73 Summary: Freetype library utilities
74 Summary(pl): Programy u¿ytkowe freetype
76 Requires: %{name} = %{version}
77 Provides: freetype-progs = %{version}
78 Obsoletes: freetype-utils
79 Obsoletes: freetype-tools
82 Freetype library utilites:
83 - ftimer - a simple performance timer for the engine,
84 - fzoom - very simple glyph viewer,
85 - ftlint - program will hint each glyph of a font file, at a given
87 - ftwiew - display all glyphs in a given font, applying hinting to
89 - fdump - a simple TrueType font or collection dumper,
90 - ftstring - a simple program to show off string text generation.
91 - ftstrpn - convert a rendered text string into the PGM or PBM format,
92 - fterror - small test program. Tests the gettext() functionality for
93 internationalized messages.
95 %description progs -l pl
96 Przyk³adowe aplikacje wykorzystuj±ce freetype:
97 - ftimer - narzêdzie mierz±ce szybko¶æ silnika
98 - fzoom - prosta przegl±darka glifów
99 - ftlint - program robi±cy hinting ka¿dego glifu z fontu przy podanym
101 - ftview - program wy¶wietlaj±cy z hintingiem wszystkie glify z fontu
102 - fdump - narzêdzie zrzucaj±ce dane z fontu lub zestawu fontów TT
103 - ftstring - prosty program obrazuj±cy generowanie tekstu
104 - ftstrpn - konwerter zrenderowanego tekstu na format PGM/PBM
105 - fterror - prosty program testuj±cy dzia³anie gettext() w
106 zlokalizowanych komunikatach.
109 %setup -q -n freetype-%{version}
115 install /usr/share/automake/missing .
117 # gettextize stupidity (doesn't see intl/Makefile in next lines after AC_OUTPUT)
118 sed -e 's@\(AC_OUTPUT.*\) intl/Makefile@\1@' configure.in > configure.in.tmp
119 mv -f configure.in.tmp configure.in
129 rm -rf $RPM_BUILD_ROOT
132 DESTDIR=$RPM_BUILD_ROOT
136 # resolve conflict with freetype-demos-2.*
137 mv -f $RPM_BUILD_ROOT%{_bindir}/{ftdump,ft1dump}
138 mv -f $RPM_BUILD_ROOT%{_bindir}/{ftlint,ft1lint}
139 mv -f $RPM_BUILD_ROOT%{_bindir}/{ftview,ft1view}
140 mv -f $RPM_BUILD_ROOT%{_bindir}/{fttimer,ft1timer}
143 rm -rf $RPM_BUILD_ROOT
145 %post -p /sbin/ldconfig
146 %postun -p /sbin/ldconfig
148 %files -f freetype.lang
149 %defattr(644,root,root,755)
150 %attr(755,root,root) %{_libdir}/lib*so.*.*
153 %defattr(644,root,root,755)
154 %doc howto/unix.txt README announce docs/{*.txt,FAQ,TODO,credits}
155 %attr(755,root,root) %{_libdir}/lib*.so
160 %defattr(644,root,root,755)
164 %defattr(644,root,root,755)
165 %attr(755,root,root) %{_bindir}/f*