3 # _with_bytecode - with 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(ko): ÀÚÀ¯·Ó°Ô ¾îµðµç ¾µ ¼ö ÀÖ´Â Æ®·çŸÀÔ ±Û²ÃÀ» ´Ù·ç´Â ¿£Áø
9 Summary(pl): Rasteryzer fontów TrueType
10 Summary(pt_BR): Biblioteca de renderização de fontes TrueType
11 Summary(ru): òÁÓÔÅÒÉÚÁÔÏÒ ÛÒÉÆÔÏ× TrueType
12 Summary(uk): òÁÓÔÅÒÉÚÁÔÏÒ ÛÒÉÆÔ¦× TrueType
18 Source0: http://dl.sourceforge.net/sourceforge/freetype/%{name}-%{version}.tar.bz2
19 # Source0-md5: 1fc0b188f1fe1216776e5855d2da141f
20 Source1: http://dl.sourceforge.net/sourceforge/freetype/ftdocs-%{version}.tar.bz2
21 # Source1-md5: 367064e81998a302f3844f1dcdb8d77f
22 Source2: http://dl.sourceforge.net/sourceforge/freetype/ft2demos-%{version}.tar.bz2
23 # Source2-md5: 92cb4e645fe1cfb8345b64cedb9d332e
25 URL: http://www.freetype.org/
26 BuildRequires: SysVinit
27 BuildRequires: XFree86-devel
28 BuildRequires: zlib-devel
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 %define specflags_ia32 "-fomit-frame-pointer"
35 The FreeType engine is a free and portable TrueType font rendering
36 engine. It has been developed to provide TrueType support to a great
37 variety of platforms and environments.
39 Note that FreeType is a *library*. It is not a font server for your
40 favorite platform, even though it was designed to be used in many of
41 them. Note also that it is *not* a complete text-rendering library.
42 Its purpose is simply to open and manage font files, as well as load,
43 hint and render individual glyphs efficiently. You can also see it as
44 a "TrueType driver" for a higher-level library, though rendering text
45 with it is extremely easy, as demo-ed by the test programs.
48 FreeType es una máquina libre y portátil para en render de fuentes
49 TrueType. Fue desarrollada para ofrecer soporte TrueType a una gran
50 variedad de plataformas y ambientes. Observa que FreeType es una
51 biblioteca y no una aplicación, a pesar de que algunos utilitarios se
52 incluyan en este paquete.
55 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType. Jest
56 to jedynie biblioteka, a nie serwer fontów, chocia¿ zosta³a ona
57 zaprojektowana do u¿ywania tak¿e w takich serwerach. Nie jest to te¿
58 kompletna biblioteka do rasteryzacji tekstu. Jej celem jest tylko
59 odczytywanie i zarz±dzanie plikami z fontami oraz wczytywanie i
60 wykonywanie hintingu i rasteryzacji poszczególnych glifów. Mo¿e byæ
61 tak¿e uwa¿ana za "sterownik TrueType" dla bibliotek wy¿szego poziomu,
62 jednak u¿ycie samej biblioteki FreeType do rasteryzacji jest bardzo
63 proste, co mo¿na zobaczyæ w programach demonstracyjnych.
66 FreeType é uma máquina livre e portável para renderização de fontes
67 TrueType. Ela foi desenvolvida para fornecer suporte TrueType a uma
68 grande variedade de plataformas e ambientes. Note que FreeType é uma
69 biblioteca e não uma aplicação, apesar que alguns utilitários são
70 incluídos neste pacote.
73 âÉÂÌÉÏÔÅËÁ FreeType - ÜÔÏ Ó×ÏÂÏÄÎÁÑ ÐÅÒÅÎÏÓÉÍÁÑ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ
74 ÒÅÎÄÅÒÉÎÇÁ (ÒÁÓÔÅÒÉÚÁÃÉÉ) ÛÒÉÆÔÏ× TrueType, ÄÏÓÔÕÐÎÁÑ × ÉÓÈÏÄÎÙÈ
75 ÔÅËÓÔÁÈ ÎÁ ANSI C É Pascal. ïÎÁ ÂÙÌÁ ÒÁÚÒÁÂÏÔÁÎÁ ÄÌÑ ÐÏÄÄÅÒÖËÉ TT ÎÁ
76 ÒÁÚÎÏÏÂÒÁÚÎÙÈ ÐÌÁÔÆÏÒÍÁÈ.
79 â¦Â̦ÏÔÅËÁ FreeType - ÊצÌØÎÁ ÐÅÒÅÎÏÓÉÍÁ ¦Â̦ÏÔÅËÁ ÄÌÑ ÒÅÎÄÅÒÉÎÇÕ
80 (ÒÁÓÔÅÒÉÚÁæ§) ÛÒÉÆÔ¦× TrueType, ÝÏ ÒÏÚÐÏ×ÓÀÄÖÕ¤ÔØÓÑ Õ ×ÉȦÄÎÉÈ
81 ÔÅËÓÔÁÈ ÎÁ C ÔÁ Pascal. ÷ÏÎÁ ÂÕÌÁ ÒÏÚÒÏÂÌÅÎÁ ÄÌÑ Ð¦ÄÔÒÉÍËÉ TT ÎÁ
85 Summary: Header files and development documentation
86 Summary(es): Archivos de inclusión e bibliotecas estáticas para desarrollo con FreeType
87 Summary(ko): FreeTypeÀ» ¾µ ¶§ ÇÊ¿äÇÑ Á¤Àû ¶óÀ̺귯¸®¿Í ¸Ó¸®¸» ÆÄÀÏ
88 Summary(pl): Pliki nag³ówkowe biblioteki freetype i dokumentacja
89 Summary(pt_BR): Arquivos de inclusão e bibliotecas estáticas para desenvolvimento com FreeType
90 Summary(ru): âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ freetype
91 Summary(uk): â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ freetype
92 Group: Development/Libraries
93 Requires: %{name} = %{version}
95 Obsoletes: freetype2-devel
98 This package includes the header files and documentation necessary to
99 develop applications that use FreeType.
101 %description devel -l es
102 Este paquete es necesario, si pretendes desarrollar/compilar
103 aplicaciones con la biblioteca FreeType. Si, simplemente, deseas
104 ejecutar aplicaciones existentes, no lo necesitas.
106 %description devel -l pl
107 Pakiet ten zawiera pliki nag³ówkowe oraz dokumentacjê potrzebne przy
108 tworzeniu programów wykorzystuj±cych bibliotekê FreeType.
110 %description devel -l pt_BR
111 Este pacote é necessário se você pretende desenvolver/compilar
112 aplicações com a biblioteca FreeType. Se você simplesmente deseja
113 rodar aplicações existentes, você não precisa deste pacote.
115 %description devel -l ru
116 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ
117 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
119 %description devel -l uk
120 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
121 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
124 Summary: FreeType static libraries
125 Summary(es): Static libraries for freetype development
126 Summary(pl): Biblioteki statyczne FreeType
127 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com freetype
128 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ freetype
129 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ freetype
130 Group: Development/Libraries
131 Requires: %{name}-devel = %{version}
132 Obsoletes: freetype2-static
135 Static FreeType libraries.
137 %description static -l es
138 Static libraries for freetype development.
140 %description static -l pl
141 Biblioteki statyczne FreeType.
143 %description static -l pt_BR
144 Bibliotecas estáticas para desenvolvimento com freetype.
146 %description static -l ru
147 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÎÁÐÉÓÁÎÉÑ
148 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
150 %description static -l uk
151 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÎÁÐÉÓÁÎÎÑ
152 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
155 Summary: FreeType demo programs
156 Summary(ko): FreeTypeÀ» ½ÃÇèÇغ¼ ¼ö ÀÖ´Â ÇÁ·Î±×·¥ ¸ðÀ½
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.
169 patch src/cache/ftlru.c < %{PATCH0}
171 mv -f freetype-%{version}/docs/* docs
174 CFLAGS="%{rpmcflags} %{?_with_bytecode:-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER}" \
175 %{__make} setup unix \
176 CFG="--prefix=%{_prefix}"
180 %{__make} TOP_DIR="`pwd`" -C ft2demos-*
183 rm -rf $RPM_BUILD_ROOT
184 install -d $RPM_BUILD_ROOT%{_bindir}
187 DESTDIR=$RPM_BUILD_ROOT \
190 install ft2demos-*/bin/.libs/ft{multi,timer,view} $RPM_BUILD_ROOT%{_bindir}
191 install ft2demos-*/bin/.libs/ft{dump,lint,memchk} $RPM_BUILD_ROOT%{_bindir}
192 install ft2demos-*/bin/.libs/testnames $RPM_BUILD_ROOT%{_bindir}/fttestnames
195 rm -rf $RPM_BUILD_ROOT
197 %post -p /sbin/ldconfig
198 %postun -p /sbin/ldconfig
201 %defattr(644,root,root,755)
202 %doc docs/{CHANGES,FTL.txt,PATENTS,license.txt,TODO,modules.txt}
203 %attr(755,root,root) %{_libdir}/lib*so.*.*
206 %defattr(644,root,root,755)
207 %doc docs/*.html docs/{design,freetype2,glyphs,reference,tutorial}
208 %attr(755,root,root) %{_bindir}/freetype-config
209 %attr(755,root,root) %{_libdir}/lib*.so
211 %{_includedir}/freetype2
216 %defattr(644,root,root,755)
220 %defattr(644,root,root,755)
221 %attr(755,root,root) %{_bindir}/ft*