3 %bcond_with bytecode # with TT bytecode interpreter
4 # (patents pending in USA, Japan etc., but now it
5 # includes also patent-free hinting workaround
6 # (but it sucks hard! - auto-hinter is much better))
9 Summary: TrueType font rasterizer
10 Summary(es): Biblioteca de render 3D de fuentes TrueType
11 Summary(ko): ÀÚÀ¯·Ó°Ô ¾îµðµç ¾µ ¼ö ÀÖ´Â Æ®·çŸÀÔ ±Û²ÃÀ» ´Ù·ç´Â ¿£Áø
12 Summary(pl): Rasteryzer fontów TrueType
13 Summary(pt_BR): Biblioteca de renderização de fontes TrueType
14 Summary(ru): òÁÓÔÅÒÉÚÁÔÏÒ ÛÒÉÆÔÏ× TrueType
15 Summary(uk): òÁÓÔÅÒÉÚÁÔÏÒ ÛÒÉÆÔ¦× TrueType
21 Source0: ftp://ftp.freetype.org/freetype/freetype2/%{name}-%{version}.tar.bz2
22 # Source0-md5: d5c39853f6741c8401bfe272478958a8
23 Source1: ftp://ftp.freetype.org/freetype/freetype2/ftdocs-%{version}.tar.bz2
24 # Source1-md5: 56579e3610482522061cfafbb788a81b
25 Source2: ftp://ftp.freetype.org/freetype/freetype2/ft2demos-%{version}.tar.bz2
26 # Source2-md5: 89a5b3fd3177fbc71f9ba7cbc64edfa2
27 URL: http://www.freetype.org/
28 BuildRequires: SysVinit
29 %{?with_x11:BuildRequires: XFree86-devel}
30 BuildRequires: automake
31 BuildRequires: zlib-devel
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 %define specflags_ia32 "-fomit-frame-pointer"
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(ko): FreeTypeÀ» ¾µ ¶§ ÇÊ¿äÇÑ Á¤Àû ¶óÀ̺귯¸®¿Í ¸Ó¸®¸» ÆÄÀÏ
91 Summary(pl): Pliki nag³ówkowe biblioteki freetype i dokumentacja
92 Summary(pt_BR): Arquivos de inclusão e bibliotecas estáticas para desenvolvimento com FreeType
93 Summary(ru): âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ freetype
94 Summary(uk): â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ freetype
95 Group: Development/Libraries
96 Requires: %{name} = %{version}-%{release}
98 Obsoletes: freetype2-devel
101 This package includes the header files and documentation necessary to
102 develop applications that use FreeType.
104 %description devel -l es
105 Este paquete es necesario, si pretendes desarrollar/compilar
106 aplicaciones con la biblioteca FreeType. Si, simplemente, deseas
107 ejecutar aplicaciones existentes, no lo necesitas.
109 %description devel -l pl
110 Pakiet ten zawiera pliki nag³ówkowe oraz dokumentacjê potrzebne przy
111 tworzeniu programów wykorzystuj±cych bibliotekê FreeType.
113 %description devel -l pt_BR
114 Este pacote é necessário se você pretende desenvolver/compilar
115 aplicações com a biblioteca FreeType. Se você simplesmente deseja
116 rodar aplicações existentes, você não precisa deste pacote.
118 %description devel -l ru
119 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ
120 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
122 %description devel -l uk
123 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
124 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
127 Summary: FreeType static libraries
128 Summary(es): Static libraries for freetype development
129 Summary(pl): Biblioteki statyczne FreeType
130 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com freetype
131 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ freetype
132 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ freetype
133 Group: Development/Libraries
134 Requires: %{name}-devel = %{version}-%{release}
135 Obsoletes: freetype2-static
138 Static FreeType libraries.
140 %description static -l es
141 Static libraries for freetype development.
143 %description static -l pl
144 Biblioteki statyczne FreeType.
146 %description static -l pt_BR
147 Bibliotecas estáticas para desenvolvimento com freetype.
149 %description static -l ru
150 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÎÁÐÉÓÁÎÉÑ
151 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
153 %description static -l uk
154 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÎÁÐÉÓÁÎÎÑ
155 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
158 Summary: FreeType demo programs
159 Summary(ko): FreeTypeÀ» ½ÃÇèÇغ¼ ¼ö ÀÖ´Â ÇÁ·Î±×·¥ ¸ðÀ½
160 Summary(pl): Programy demonstracyjne FreeType
161 Group: X11/Applications
162 Requires: %{name} = %{version}-%{release}
165 Demonstration programs for FreeType library.
167 %description demos -l pl
168 Programy demonstracyjne do biblioteki FreeType.
173 mv -f freetype-%{version}/docs/reference/* docs/reference
176 CFLAGS="%{rpmcflags} %{?with_bytecode:-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER}" \
177 %{__make} setup unix \
178 CFG="--prefix=%{_prefix} --libdir=%{_libdir}"
181 X11_LIB="/usr/X11R6/%{_lib}"
184 %{__make} -C ft2demos-* \
186 X11_LIB="/usr/X11R6/%{_lib}"
190 rm -rf $RPM_BUILD_ROOT
191 install -d $RPM_BUILD_ROOT%{_bindir}
194 DESTDIR=$RPM_BUILD_ROOT
197 install ft2demos-*/bin/.libs/ft{multi,timer,view} $RPM_BUILD_ROOT%{_bindir}
198 install ft2demos-*/bin/.libs/ft{dump,lint,memchk} $RPM_BUILD_ROOT%{_bindir}
199 install ft2demos-*/bin/.libs/testname $RPM_BUILD_ROOT%{_bindir}/fttestname
203 rm -rf $RPM_BUILD_ROOT
205 %post -p /sbin/ldconfig
206 %postun -p /sbin/ldconfig
209 %defattr(644,root,root,755)
210 %doc docs/{CHANGES,FTL.txt,PATENTS,license.txt,TODO,modules.txt}
211 %attr(755,root,root) %{_libdir}/lib*.so.*.*
214 %defattr(644,root,root,755)
215 %doc docs/{DEBUG,TRUETYPE} docs/reference
216 %attr(755,root,root) %{_bindir}/freetype-config
217 %attr(755,root,root) %{_libdir}/lib*.so
219 %{_includedir}/freetype2
222 %{_pkgconfigdir}/*.pc
225 %defattr(644,root,root,755)
230 %defattr(644,root,root,755)
231 %attr(755,root,root) %{_bindir}/ft*