3 # _without_bytecode - without TT bytecode interpreter
4 # (patents pending in USA, Japan...)
6 Summary: TrueType font rasterizer
7 Summary(es): Biblioteca de render 3D de fuentes TrueType
8 Summary(pl): Rasteryzer fontów TrueType
9 Summary(pt_BR): Biblioteca de renderização de fontes TrueType
10 Summary(ru): òÁÓÔÅÒÉÚÁÔÏÒ ÛÒÉÆÔÏ× TrueType
11 Summary(uk): òÁÓÔÅÒÉÚÁÔÏÒ ÛÒÉÆÔ¦× TrueType
17 Source0: ftp://ftp.freetype.org/freetype/freetype2/%{name}-%{version}.tar.bz2
18 Source1: ftp://ftp.freetype.org/freetype/freetype2/ftdocs-%{version}.tar.bz2
19 Source2: ftp://ftp.freetype.org/freetype/freetype2/ft2demos-%{version}.tar.bz2
20 Patch0: %{name}2-DESTDIR.patch
21 Patch1: %{name}2-bytecode.patch
22 Patch2: %{name}2-bluefuzz.patch
23 Patch3: %{name}2-cvs-autohint.patch
24 Patch4: %{name}2-fix-metrics.patch
25 Patch5: %{name}2-missing-glyph.patch
26 Patch6: %{name}2-ps-hinter.patch
27 Patch7: %{name}2-slighthint.patch
28 Patch8: %{name}2-transform.patch
29 URL: http://www.freetype.org/
30 BuildRequires: SysVinit
31 BuildRequires: XFree86-devel
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 %define _xbindir /usr/X11R6/bin
38 The FreeType engine is a free and portable TrueType font rendering
39 engine. It has been developed to provide TrueType support to a great
40 variety of platforms and environments.
42 Note that FreeType is a *library*. It is not a font server for your
43 favorite platform, even though it was designed to be used in many of
44 them. Note also that it is *not* a complete text-rendering library.
45 Its purpose is simply to open and manage font files, as well as load,
46 hint and render individual glyphs efficiently. You can also see it as
47 a "TrueType driver" for a higher-level library, though rendering text
48 with it is extremely easy, as demo-ed by the test programs.
51 FreeType es una máquina libre y portátil para en render de fuentes
52 TrueType. Fue desarrollada para ofrecer soporte TrueType a una gran
53 variedad de plataformas y ambientes. Observa que FreeType es una
54 biblioteca y no una aplicación, a pesar de que algunos utilitarios se
55 incluyan en este paquete.
58 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType. Jest
59 to jedynie biblioteka, a nie serwer fontów, chocia¿ zosta³a ona
60 zaprojektowana do u¿ywania tak¿e w takich serwerach. Nie jest to te¿
61 kompletna biblioteka do rasteryzacji tekstu. Jej celem jest tylko
62 odczytywanie i zarz±dzanie plikami z fontami oraz wczytywanie i
63 wykonywanie hintingu i rasteryzacji poszczególnych glifów. Mo¿e byæ
64 tak¿e uwa¿ana za "sterownik TrueType" dla bibliotek wy¿szego poziomu,
65 jednak u¿ycie samej biblioteki FreeType do rasteryzacji jest bardzo
66 proste, co mo¿na zobaczyæ w programach demonstracyjnych.
69 FreeType é uma máquina livre e portável para renderização de fontes
70 TrueType. Ela foi desenvolvida para fornecer suporte TrueType a uma
71 grande variedade de plataformas e ambientes. Note que FreeType é uma
72 biblioteca e não uma aplicação, apesar que alguns utilitários são
73 incluídos neste pacote.
76 âÉÂÌÉÏÔÅËÁ FreeType - ÜÔÏ Ó×ÏÂÏÄÎÁÑ ÐÅÒÅÎÏÓÉÍÁÑ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ
77 ÒÅÎÄÅÒÉÎÇÁ (ÒÁÓÔÅÒÉÚÁÃÉÉ) ÛÒÉÆÔÏ× TrueType, ÄÏÓÔÕÐÎÁÑ × ÉÓÈÏÄÎÙÈ
78 ÔÅËÓÔÁÈ ÎÁ ANSI C É Pascal. ïÎÁ ÂÙÌÁ ÒÁÚÒÁÂÏÔÁÎÁ ÄÌÑ ÐÏÄÄÅÒÖËÉ TT ÎÁ
79 ÒÁÚÎÏÏÂÒÁÚÎÙÈ ÐÌÁÔÆÏÒÍÁÈ.
82 â¦Â̦ÏÔÅËÁ FreeType - ÊצÌØÎÁ ÐÅÒÅÎÏÓÉÍÁ ¦Â̦ÏÔÅËÁ ÄÌÑ ÒÅÎÄÅÒÉÎÇÕ
83 (ÒÁÓÔÅÒÉÚÁæ§) ÛÒÉÆÔ¦× TrueType, ÝÏ ÒÏÚÐÏ×ÓÀÄÖÕ¤ÔØÓÑ Õ ×ÉȦÄÎÉÈ
84 ÔÅËÓÔÁÈ ÎÁ C ÔÁ Pascal. ÷ÏÎÁ ÂÕÌÁ ÒÏÚÒÏÂÌÅÎÁ ÄÌÑ Ð¦ÄÔÒÉÍËÉ TT ÎÁ
88 Summary: Header files and development documentation
89 Summary(es): Archivos de inclusión e bibliotecas estáticas para desarrollo con FreeType.
90 Summary(pl): Pliki nag³ówkowe biblioteki freetype i dokumentacja
91 Summary(pt_BR): Arquivos de inclusão e bibliotecas estáticas para desenvolvimento com FreeType.
92 Summary(ru): âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ freetype
93 Summary(uk): â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ freetype
94 Group: Development/Libraries
95 Requires: %{name} = %{version}
96 Obsoletes: freetype2-devel
99 This package includes the header files and documentation necessary to
100 develop applications that use FreeType.
102 %description devel -l es
103 Este paquete es necesario, si pretendes desarrollar/compilar
104 aplicaciones con la biblioteca FreeType. Si, simplemente, deseas
105 ejecutar aplicaciones existentes, no lo necesitas.
107 %description devel -l pl
108 Pakiet ten zawiera pliki nag³ówkowe oraz dokumentacjê potrzebne przy
109 tworzeniu programów wykorzystuj±cych bibliotekê FreeType.
111 %description devel -l pt_BR
112 Este pacote é necessário se você pretende desenvolver/compilar
113 aplicações com a biblioteca FreeType. Se você simplesmente deseja
114 rodar aplicações existentes, você não precisa deste pacote.
116 %description devel -l ru
117 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ
118 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
120 %description devel -l uk
121 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
122 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
125 Summary: FreeType static libraries
126 Summary(es): Static libraries for freetype development
127 Summary(pl): Biblioteki statyczne FreeType
128 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com freetype
129 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ freetype
130 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ freetype
131 Group: Development/Libraries
132 Requires: %{name}-devel = %{version}
133 Obsoletes: freetype2-static
136 Static FreeType libraries.
138 %description static -l es
139 Static libraries for freetype development.
141 %description static -l pl
142 Biblioteki statyczne FreeType.
144 %description static -l pt_BR
145 Bibliotecas estáticas para desenvolvimento com freetype.
147 %description static -l ru
148 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÎÁÐÉÓÁÎÉÑ
149 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
151 %description static -l uk
152 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÎÁÐÉÓÁÎÎÑ
153 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
156 Summary: FreeType demo programs
157 Summary(pl): Programy demonstracyjne FreeType
158 Group: X11/Applications
159 Requires: %{name} = %{version}
162 Demonstration programs for FreeType library.
164 %description demos -l pl
165 Programy demonstracyjne do biblioteki FreeType.
170 %{!?_without_bytecode:%patch1 -p1}
180 CFLAGS="%{rpmcflags}" %{__make} setup CFG="--prefix=%{_prefix}"
184 %{__make} TOP_DIR="`pwd`" -C ft2demos-*
187 rm -rf $RPM_BUILD_ROOT
190 DESTDIR="$RPM_BUILD_ROOT" \
194 install -d $RPM_BUILD_ROOT{%{_bindir},%{_xbindir}}
195 install ft2demos-*/bin/.libs/ft{multi,timer,view} $RPM_BUILD_ROOT%{_xbindir}
196 install ft2demos-*/bin/.libs/ft{dump,lint,memchk} $RPM_BUILD_ROOT%{_bindir}
197 install ft2demos-*/bin/.libs/testnames $RPM_BUILD_ROOT%{_bindir}/fttestnames
199 gzip -9nf docs/{BUGS,CHANGES,FTL.txt,PATENTS,license.txt,TODO,modules.txt}
202 rm -rf $RPM_BUILD_ROOT
204 %post -p /sbin/ldconfig
205 %postun -p /sbin/ldconfig
208 %defattr(644,root,root,755)
210 %attr(755,root,root) %{_libdir}/lib*so.*.*
213 %defattr(644,root,root,755)
214 %doc docs/*.html docs/{design,freetype2,glyphs,reference,tutorial}
215 %attr(755,root,root) %{_bindir}/freetype-config
216 %attr(755,root,root) %{_libdir}/lib*.so
217 %attr(755,root,root) %{_libdir}/lib*.la
218 %{_includedir}/freetype2
223 %defattr(644,root,root,755)
227 %defattr(644,root,root,755)
228 %attr(755,root,root) %{_bindir}/ft*
229 %attr(755,root,root) %{_xbindir}/ft*