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-bytecode.patch
21 Patch1: %{name}2-fix-metrics.patch
22 Patch2: %{name}2-slighthint.patch
23 URL: http://www.freetype.org/
24 BuildRequires: SysVinit
25 BuildRequires: XFree86-devel
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 %define _xbindir /usr/X11R6/bin
32 The FreeType engine is a free and portable TrueType font rendering
33 engine. It has been developed to provide TrueType support to a great
34 variety of platforms and environments.
36 Note that FreeType is a *library*. It is not a font server for your
37 favorite platform, even though it was designed to be used in many of
38 them. Note also that it is *not* a complete text-rendering library.
39 Its purpose is simply to open and manage font files, as well as load,
40 hint and render individual glyphs efficiently. You can also see it as
41 a "TrueType driver" for a higher-level library, though rendering text
42 with it is extremely easy, as demo-ed by the test programs.
45 FreeType es una máquina libre y portátil para en render de fuentes
46 TrueType. Fue desarrollada para ofrecer soporte TrueType a una gran
47 variedad de plataformas y ambientes. Observa que FreeType es una
48 biblioteca y no una aplicación, a pesar de que algunos utilitarios se
49 incluyan en este paquete.
52 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType. Jest
53 to jedynie biblioteka, a nie serwer fontów, chocia¿ zosta³a ona
54 zaprojektowana do u¿ywania tak¿e w takich serwerach. Nie jest to te¿
55 kompletna biblioteka do rasteryzacji tekstu. Jej celem jest tylko
56 odczytywanie i zarz±dzanie plikami z fontami oraz wczytywanie i
57 wykonywanie hintingu i rasteryzacji poszczególnych glifów. Mo¿e byæ
58 tak¿e uwa¿ana za "sterownik TrueType" dla bibliotek wy¿szego poziomu,
59 jednak u¿ycie samej biblioteki FreeType do rasteryzacji jest bardzo
60 proste, co mo¿na zobaczyæ w programach demonstracyjnych.
63 FreeType é uma máquina livre e portável para renderização de fontes
64 TrueType. Ela foi desenvolvida para fornecer suporte TrueType a uma
65 grande variedade de plataformas e ambientes. Note que FreeType é uma
66 biblioteca e não uma aplicação, apesar que alguns utilitários são
67 incluídos neste pacote.
70 âÉÂÌÉÏÔÅËÁ FreeType - ÜÔÏ Ó×ÏÂÏÄÎÁÑ ÐÅÒÅÎÏÓÉÍÁÑ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ
71 ÒÅÎÄÅÒÉÎÇÁ (ÒÁÓÔÅÒÉÚÁÃÉÉ) ÛÒÉÆÔÏ× TrueType, ÄÏÓÔÕÐÎÁÑ × ÉÓÈÏÄÎÙÈ
72 ÔÅËÓÔÁÈ ÎÁ ANSI C É Pascal. ïÎÁ ÂÙÌÁ ÒÁÚÒÁÂÏÔÁÎÁ ÄÌÑ ÐÏÄÄÅÒÖËÉ TT ÎÁ
73 ÒÁÚÎÏÏÂÒÁÚÎÙÈ ÐÌÁÔÆÏÒÍÁÈ.
76 â¦Â̦ÏÔÅËÁ FreeType - ÊצÌØÎÁ ÐÅÒÅÎÏÓÉÍÁ ¦Â̦ÏÔÅËÁ ÄÌÑ ÒÅÎÄÅÒÉÎÇÕ
77 (ÒÁÓÔÅÒÉÚÁæ§) ÛÒÉÆÔ¦× TrueType, ÝÏ ÒÏÚÐÏ×ÓÀÄÖÕ¤ÔØÓÑ Õ ×ÉȦÄÎÉÈ
78 ÔÅËÓÔÁÈ ÎÁ C ÔÁ Pascal. ÷ÏÎÁ ÂÕÌÁ ÒÏÚÒÏÂÌÅÎÁ ÄÌÑ Ð¦ÄÔÒÉÍËÉ TT ÎÁ
82 Summary: Header files and development documentation
83 Summary(es): Archivos de inclusión e bibliotecas estáticas para desarrollo con FreeType.
84 Summary(pl): Pliki nag³ówkowe biblioteki freetype i dokumentacja
85 Summary(pt_BR): Arquivos de inclusão e bibliotecas estáticas para desenvolvimento com FreeType.
86 Summary(ru): âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ freetype
87 Summary(uk): â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ freetype
88 Group: Development/Libraries
89 Requires: %{name} = %{version}
90 Obsoletes: freetype2-devel
93 This package includes the header files and documentation necessary to
94 develop applications that use FreeType.
96 %description devel -l es
97 Este paquete es necesario, si pretendes desarrollar/compilar
98 aplicaciones con la biblioteca FreeType. Si, simplemente, deseas
99 ejecutar aplicaciones existentes, no lo necesitas.
101 %description devel -l pl
102 Pakiet ten zawiera pliki nag³ówkowe oraz dokumentacjê potrzebne przy
103 tworzeniu programów wykorzystuj±cych bibliotekê FreeType.
105 %description devel -l pt_BR
106 Este pacote é necessário se você pretende desenvolver/compilar
107 aplicações com a biblioteca FreeType. Se você simplesmente deseja
108 rodar aplicações existentes, você não precisa deste pacote.
110 %description devel -l ru
111 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ
112 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
114 %description devel -l uk
115 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
116 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
119 Summary: FreeType static libraries
120 Summary(es): Static libraries for freetype development
121 Summary(pl): Biblioteki statyczne FreeType
122 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com freetype
123 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ freetype
124 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ freetype
125 Group: Development/Libraries
126 Requires: %{name}-devel = %{version}
127 Obsoletes: freetype2-static
130 Static FreeType libraries.
132 %description static -l es
133 Static libraries for freetype development.
135 %description static -l pl
136 Biblioteki statyczne FreeType.
138 %description static -l pt_BR
139 Bibliotecas estáticas para desenvolvimento com freetype.
141 %description static -l ru
142 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÎÁÐÉÓÁÎÉÑ
143 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
145 %description static -l uk
146 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÎÁÐÉÓÁÎÎÑ
147 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
150 Summary: FreeType demo programs
151 Summary(pl): Programy demonstracyjne FreeType
152 Group: X11/Applications
153 Requires: %{name} = %{version}
156 Demonstration programs for FreeType library.
158 %description demos -l pl
159 Programy demonstracyjne do biblioteki FreeType.
163 #%{!?_without_bytecode:%patch0 -p1}
168 CFLAGS="%{rpmcflags}" %{__make} setup CFG="--prefix=%{_prefix}"
172 %{__make} TOP_DIR="`pwd`" -C ft2demos-*
175 rm -rf $RPM_BUILD_ROOT
178 DESTDIR="$RPM_BUILD_ROOT" \
182 install -d $RPM_BUILD_ROOT{%{_bindir},%{_xbindir}}
183 install ft2demos-*/bin/.libs/ft{multi,timer,view} $RPM_BUILD_ROOT%{_xbindir}
184 install ft2demos-*/bin/.libs/ft{dump,lint,memchk} $RPM_BUILD_ROOT%{_bindir}
185 install ft2demos-*/bin/.libs/testnames $RPM_BUILD_ROOT%{_bindir}/fttestnames
187 gzip -9nf docs/{BUGS,CHANGES,FTL.txt,PATENTS,license.txt,TODO,modules.txt}
190 rm -rf $RPM_BUILD_ROOT
192 %post -p /sbin/ldconfig
193 %postun -p /sbin/ldconfig
196 %defattr(644,root,root,755)
198 %attr(755,root,root) %{_libdir}/lib*so.*.*
201 %defattr(644,root,root,755)
202 %doc docs/*.html docs/{design,freetype2,glyphs,reference,tutorial}
203 %attr(755,root,root) %{_bindir}/freetype-config
204 %attr(755,root,root) %{_libdir}/lib*.so
205 %attr(755,root,root) %{_libdir}/lib*.la
206 %{_includedir}/freetype2
211 %defattr(644,root,root,755)
215 %defattr(644,root,root,755)
216 %attr(755,root,root) %{_bindir}/ft*
217 %attr(755,root,root) %{_xbindir}/ft*