1 Summary: Truetype font rasterizer
2 Summary(pl.UTF-8): Rasteryzer fontów Truetype
8 Source0: ftp://ftp.freetype.org/freetype/freetype1/freetype-%{version}.tar.gz
9 # Source0-md5: 9a9e7ad00c1ef6dfbf8f8e19ceefb300
10 Patch0: freetype-DESTDIR.patch
11 Patch1: freetype-autoconf.patch
12 Patch2: %{name}-po.patch
13 Patch3: freetype-gcc33.patch
14 URL: http://www.physiol.med.tu-muenchen.de/~robert/freetype.html
15 BuildRequires: XFree86-devel
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: gettext-devel
19 BuildRequires: libtool
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 The FreeType engine is a free and portable TrueType font rendering
24 engine. It has been developed to provide TrueType support to a great
25 variety of platforms and environments.
27 Note that FreeType is a *library*. It is not a font server for your
28 favorite platform, even though it was designed to be used in many of
29 them. Note also that it is *not* a complete text-rendering library.
30 Its purpose is simply to open and manage font files, as well as load,
31 hint and render individual glyphs efficiently. You can also see it as
32 a "TrueType driver" for a higher-level library, though rendering text
33 with it is extremely easy, as demo-ed by the test programs.
35 %description -l pl.UTF-8
36 FreeType jest biblioteką służącą do rasteryzacji fontów TrueType. Jest
37 to jedynie biblioteka, a nie serwer fontów, chociaż została ona
38 zaprojektowana do używania także w takich serwerach. Nie jest to też
39 kompletna biblioteka do rasteryzacji tekstu. Jej celem jest tylko
40 odczytywanie i zarządzanie plikami z fontami oraz wczytywanie i
41 wykonywanie hintingu i rasteryzacji poszczególnych glifów. Może być
42 także uważana za "sterownik TrueType" dla bibliotek wyższego poziomu,
43 jednak użycie samej biblioteki FreeType do rasteryzacji jest bardzo
44 proste, co można zobaczyć w programach demonstracyjnych.
47 Summary: Header files and development documentation
48 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki freetype i dokumentacja
49 Group: Development/Libraries
50 Requires: %{name} = %{version}-%{release}
51 Provides: freetype-devel = %{version}
54 This package includes the header files documentations and libraries
55 necessary to develop applications that use freetype.
57 %description devel -l pl.UTF-8
58 Pakiet ten zawiera pliki nagłówkowe oraz biblioteki niezbędne przy
59 kompilowaniu programów wykorzystujących bibliotekę freetype.
62 Summary: Freetype static libraries
63 Summary(pl.UTF-8): Biblioteki statyczne freetype
64 Group: Development/Libraries
65 Requires: %{name}-devel = %{version}-%{release}
66 Provides: freetype-static = %{version}
69 Static freetype libraries.
71 %description static -l pl.UTF-8
72 Biblioteki statyczne freetype.
75 Summary: Freetype library utilities
76 Summary(pl.UTF-8): Programy użytkowe freetype
78 Requires: %{name} = %{version}-%{release}
79 Provides: freetype-progs = %{version}
80 Obsoletes: freetype-utils
81 Obsoletes: freetype-tools
84 Freetype library utilites:
85 - ftimer - a simple performance timer for the engine,
86 - fzoom - very simple glyph viewer,
87 - ftlint - program will hint each glyph of a font file, at a given
89 - ftwiew - display all glyphs in a given font, applying hinting to
91 - fdump - a simple TrueType font or collection dumper,
92 - ftstring - a simple program to show off string text generation.
93 - ftstrpn - convert a rendered text string into the PGM or PBM format,
94 - fterror - small test program. Tests the gettext() functionality for
95 internationalized messages.
97 %description progs -l pl.UTF-8
98 Przykładowe aplikacje wykorzystujące freetype:
99 - ftimer - narzędzie mierzące szybkość silnika
100 - fzoom - prosta przeglądarka glifów
101 - ftlint - program robiący hinting każdego glifu z fontu przy podanym
103 - ftview - program wyświetlający z hintingiem wszystkie glify z fontu
104 - fdump - narzędzie zrzucające dane z fontu lub zestawu fontów TT
105 - ftstring - prosty program obrazujący generowanie tekstu
106 - ftstrpn - konwerter zrenderowanego tekstu na format PGM/PBM
107 - fterror - prosty program testujący działanie gettext() w
108 zlokalizowanych komunikatach.
111 %setup -q -n freetype-%{version}
118 install /usr/share/automake/missing .
120 # gettextize stupidity (doesn't see intl/Makefile in next lines after AC_OUTPUT)
121 sed -e 's@\(AC_OUTPUT.*\) intl/Makefile@\1@' configure.in > configure.in.tmp
122 mv -f configure.in.tmp configure.in
132 rm -rf $RPM_BUILD_ROOT
135 DESTDIR=$RPM_BUILD_ROOT
139 # resolve conflict with freetype-demos-2.*
140 mv -f $RPM_BUILD_ROOT%{_bindir}/{ftdump,ft1dump}
141 mv -f $RPM_BUILD_ROOT%{_bindir}/{ftlint,ft1lint}
142 mv -f $RPM_BUILD_ROOT%{_bindir}/{ftview,ft1view}
143 mv -f $RPM_BUILD_ROOT%{_bindir}/{fttimer,ft1timer}
146 rm -rf $RPM_BUILD_ROOT
148 %post -p /sbin/ldconfig
149 %postun -p /sbin/ldconfig
151 %files -f freetype.lang
152 %defattr(644,root,root,755)
153 %attr(755,root,root) %{_libdir}/lib*so.*.*
156 %defattr(644,root,root,755)
157 %doc howto/unix.txt README announce docs/{*.txt,FAQ,TODO,credits}
158 %attr(755,root,root) %{_libdir}/lib*.so
163 %defattr(644,root,root,755)
167 %defattr(644,root,root,755)
168 %attr(755,root,root) %{_bindir}/f*