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