3 %bcond_without bytecode # without TT bytecode interpreter
4 # (patents pending in USA, Japan etc., but now it includes
5 # also patent-free hinting workaround)
8 Summary: TrueType font rasterizer
9 Summary(es): Biblioteca de render 3D de fuentes TrueType
10 Summary(ko): ÀÚÀ¯·Ó°Ô ¾îµðµç ¾µ ¼ö ÀÖ´Â Æ®·çŸÀÔ ±Û²ÃÀ» ´Ù·ç´Â ¿£Áø
11 Summary(pl): Rasteryzer fontów TrueType
12 Summary(pt_BR): Biblioteca de renderização de fontes TrueType
13 Summary(ru): òÁÓÔÅÒÉÚÁÔÏÒ ÛÒÉÆÔÏ× TrueType
14 Summary(uk): òÁÓÔÅÒÉÚÁÔÏÒ ÛÒÉÆÔ¦× TrueType
20 Source0: ftp://ftp.freetype.org/freetype/freetype2/%{name}-%{version}.tar.bz2
21 # Source0-md5: d5c39853f6741c8401bfe272478958a8
22 Source1: ftp://ftp.freetype.org/freetype/freetype2/ftdocs-%{version}.tar.bz2
23 # Source1-md5: 56579e3610482522061cfafbb788a81b
24 Source2: ftp://ftp.freetype.org/freetype/freetype2/ft2demos-%{version}.tar.bz2
25 # Source2-md5: 89a5b3fd3177fbc71f9ba7cbc64edfa2
26 URL: http://www.freetype.org/
27 BuildRequires: SysVinit
28 %{?with_x11:BuildRequires: XFree86-devel}
29 BuildRequires: automake
30 BuildRequires: zlib-devel
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 %define specflags_ia32 "-fomit-frame-pointer"
37 The FreeType engine is a free and portable TrueType font rendering
38 engine. It has been developed to provide TrueType support to a great
39 variety of platforms and environments.
41 Note that FreeType is a *library*. It is not a font server for your
42 favorite platform, even though it was designed to be used in many of
43 them. Note also that it is *not* a complete text-rendering library.
44 Its purpose is simply to open and manage font files, as well as load,
45 hint and render individual glyphs efficiently. You can also see it as
46 a "TrueType driver" for a higher-level library, though rendering text
47 with it is extremely easy, as demo-ed by the test programs.
50 FreeType es una máquina libre y portátil para en render de fuentes
51 TrueType. Fue desarrollada para ofrecer soporte TrueType a una gran
52 variedad de plataformas y ambientes. Observa que FreeType es una
53 biblioteca y no una aplicación, a pesar de que algunos utilitarios se
54 incluyan en este paquete.
57 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType. Jest
58 to jedynie biblioteka, a nie serwer fontów, chocia¿ zosta³a ona
59 zaprojektowana do u¿ywania tak¿e w takich serwerach. Nie jest to te¿
60 kompletna biblioteka do rasteryzacji tekstu. Jej celem jest tylko
61 odczytywanie i zarz±dzanie plikami z fontami oraz wczytywanie i
62 wykonywanie hintingu i rasteryzacji poszczególnych glifów. Mo¿e byæ
63 tak¿e uwa¿ana za "sterownik TrueType" dla bibliotek wy¿szego poziomu,
64 jednak u¿ycie samej biblioteki FreeType do rasteryzacji jest bardzo
65 proste, co mo¿na zobaczyæ w programach demonstracyjnych.
68 FreeType é uma máquina livre e portável para renderização de fontes
69 TrueType. Ela foi desenvolvida para fornecer suporte TrueType a uma
70 grande variedade de plataformas e ambientes. Note que FreeType é uma
71 biblioteca e não uma aplicação, apesar que alguns utilitários são
72 incluídos neste pacote.
75 âÉÂÌÉÏÔÅËÁ FreeType - ÜÔÏ Ó×ÏÂÏÄÎÁÑ ÐÅÒÅÎÏÓÉÍÁÑ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ
76 ÒÅÎÄÅÒÉÎÇÁ (ÒÁÓÔÅÒÉÚÁÃÉÉ) ÛÒÉÆÔÏ× TrueType, ÄÏÓÔÕÐÎÁÑ × ÉÓÈÏÄÎÙÈ
77 ÔÅËÓÔÁÈ ÎÁ ANSI C É Pascal. ïÎÁ ÂÙÌÁ ÒÁÚÒÁÂÏÔÁÎÁ ÄÌÑ ÐÏÄÄÅÒÖËÉ TT ÎÁ
78 ÒÁÚÎÏÏÂÒÁÚÎÙÈ ÐÌÁÔÆÏÒÍÁÈ.
81 â¦Â̦ÏÔÅËÁ FreeType - ÊצÌØÎÁ ÐÅÒÅÎÏÓÉÍÁ ¦Â̦ÏÔÅËÁ ÄÌÑ ÒÅÎÄÅÒÉÎÇÕ
82 (ÒÁÓÔÅÒÉÚÁæ§) ÛÒÉÆÔ¦× TrueType, ÝÏ ÒÏÚÐÏ×ÓÀÄÖÕ¤ÔØÓÑ Õ ×ÉȦÄÎÉÈ
83 ÔÅËÓÔÁÈ ÎÁ C ÔÁ Pascal. ÷ÏÎÁ ÂÕÌÁ ÒÏÚÒÏÂÌÅÎÁ ÄÌÑ Ð¦ÄÔÒÉÍËÉ TT ÎÁ
87 Summary: Header files and development documentation
88 Summary(es): Archivos de inclusión e bibliotecas estáticas para desarrollo con FreeType
89 Summary(ko): 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}
97 Obsoletes: freetype2-devel
100 This package includes the header files and documentation necessary to
101 develop applications that use FreeType.
103 %description devel -l es
104 Este paquete es necesario, si pretendes desarrollar/compilar
105 aplicaciones con la biblioteca FreeType. Si, simplemente, deseas
106 ejecutar aplicaciones existentes, no lo necesitas.
108 %description devel -l pl
109 Pakiet ten zawiera pliki nag³ówkowe oraz dokumentacjê potrzebne przy
110 tworzeniu programów wykorzystuj±cych bibliotekê FreeType.
112 %description devel -l pt_BR
113 Este pacote é necessário se você pretende desenvolver/compilar
114 aplicações com a biblioteca FreeType. Se você simplesmente deseja
115 rodar aplicações existentes, você não precisa deste pacote.
117 %description devel -l ru
118 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ
119 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
121 %description devel -l uk
122 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
123 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
126 Summary: FreeType static libraries
127 Summary(es): Static libraries for freetype development
128 Summary(pl): Biblioteki statyczne FreeType
129 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com freetype
130 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ freetype
131 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ freetype
132 Group: Development/Libraries
133 Requires: %{name}-devel = %{version}
134 Obsoletes: freetype2-static
137 Static FreeType libraries.
139 %description static -l es
140 Static libraries for freetype development.
142 %description static -l pl
143 Biblioteki statyczne FreeType.
145 %description static -l pt_BR
146 Bibliotecas estáticas para desenvolvimento com freetype.
148 %description static -l ru
149 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÎÁÐÉÓÁÎÉÑ
150 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
152 %description static -l uk
153 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÎÁÐÉÓÁÎÎÑ
154 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
157 Summary: FreeType demo programs
158 Summary(ko): FreeTypeÀ» ½ÃÇèÇغ¼ ¼ö ÀÖ´Â ÇÁ·Î±×·¥ ¸ðÀ½
159 Summary(pl): Programy demonstracyjne FreeType
160 Group: X11/Applications
161 Requires: %{name} = %{version}
164 Demonstration programs for FreeType library.
166 %description demos -l pl
167 Programy demonstracyjne do biblioteki FreeType.
172 mv -f freetype-%{version}/docs/reference/* docs/reference
175 CFLAGS="%{rpmcflags} %{?with_bytecode:-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER}" \
176 %{__make} setup unix \
177 CFG="--prefix=%{_prefix} --libdir=%{_libdir}"
180 X11_LIB="/usr/X11R6/%{_lib}"
183 %{__make} -C ft2demos-* \
185 X11_LIB="/usr/X11R6/%{_lib}"
189 rm -rf $RPM_BUILD_ROOT
190 install -d $RPM_BUILD_ROOT%{_bindir}
193 DESTDIR=$RPM_BUILD_ROOT
196 install ft2demos-*/bin/.libs/ft{multi,timer,view} $RPM_BUILD_ROOT%{_bindir}
197 install ft2demos-*/bin/.libs/ft{dump,lint,memchk} $RPM_BUILD_ROOT%{_bindir}
198 install ft2demos-*/bin/.libs/testname $RPM_BUILD_ROOT%{_bindir}/fttestname
202 rm -rf $RPM_BUILD_ROOT
204 %post -p /sbin/ldconfig
205 %postun -p /sbin/ldconfig
208 %defattr(644,root,root,755)
209 %doc docs/{CHANGES,FTL.txt,PATENTS,license.txt,TODO,modules.txt}
210 %attr(755,root,root) %{_libdir}/lib*.so.*.*
213 %defattr(644,root,root,755)
214 %doc docs/{DEBUG,TRUETYPE} docs/reference
215 %attr(755,root,root) %{_bindir}/freetype-config
216 %attr(755,root,root) %{_libdir}/lib*.so
218 %{_includedir}/freetype2
221 %{_pkgconfigdir}/*.pc
224 %defattr(644,root,root,755)
229 %defattr(644,root,root,755)
230 %attr(755,root,root) %{_bindir}/ft*