]> git.pld-linux.org Git - packages/freetype.git/blob - freetype.spec
- ver. 2.1.3 (nfy)
[packages/freetype.git] / freetype.spec
1 #
2 # Conditional build:
3 # _without_bytecode     - without TT bytecode interpreter
4 #                       (patents pending in USA, Japan...)
5 #
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
12 Name:           freetype
13 Version:        2.1.3
14 Release:        1
15 License:        GPL or FTL
16 Group:          Libraries
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)
27 Obsoletes:      freetype2
28
29 %define         _xbindir        /usr/X11R6/bin
30
31 %description
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.
35
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.
43
44 %description -l es
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.
50
51 %description -l pl
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.
61
62 %description -l pt_BR
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.
68
69 %description -l ru
70 âÉÂÌÉÏÔÅËÁ FreeType - ÜÔÏ Ó×ÏÂÏÄÎÁÑ ÐÅÒÅÎÏÓÉÍÁÑ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ
71 ÒÅÎÄÅÒÉÎÇÁ (ÒÁÓÔÅÒÉÚÁÃÉÉ) ÛÒÉÆÔÏ× TrueType, ÄÏÓÔÕÐÎÁÑ × ÉÓÈÏÄÎÙÈ
72 ÔÅËÓÔÁÈ ÎÁ ANSI C É Pascal. ïÎÁ ÂÙÌÁ ÒÁÚÒÁÂÏÔÁÎÁ ÄÌÑ ÐÏÄÄÅÒÖËÉ TT ÎÁ
73 ÒÁÚÎÏÏÂÒÁÚÎÙÈ ÐÌÁÔÆÏÒÍÁÈ.
74
75 %description -l uk
76 â¦Â̦ÏÔÅËÁ FreeType - ÃŠצÌØÎÁ ÐÅÒÅÎÏÓÉÍÁ Â¦Â̦ÏÔÅËÁ ÄÌÑ ÒÅÎÄÅÒÉÎÇÕ
77 (ÒÁÓÔÅÒÉÚÁæ§) ÛÒÉÆԦנTrueType, ÝÏ ÒÏÚÐÏ×ÓÀÄÖÕ¤ÔØÓÑ Õ ×ÉȦÄÎÉÈ
78 ÔÅËÓÔÁÈ ÎÁ C ÔÁ Pascal. ÷ÏÎÁ ÂÕÌÁ ÒÏÚÒÏÂÌÅÎÁ ÄÌѠЦÄÔÒÉÍËÉ TT ÎÁ
79 Ò¦ÚÎÉÈ ÐÌÁÔÆÏÒÍÁÈ.
80
81 %package devel
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
91
92 %description devel
93 This package includes the header files and documentation necessary to
94 develop applications that use FreeType.
95
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.
100
101 %description devel -l pl
102 Pakiet ten zawiera pliki nag³ówkowe oraz dokumentacjê potrzebne przy
103 tworzeniu programów wykorzystuj±cych bibliotekê FreeType.
104
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.
109
110 %description devel -l ru
111 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ
112 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
113
114 %description devel -l uk
115 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
116 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
117
118 %package static
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
128
129 %description static
130 Static FreeType libraries.
131
132 %description static -l es
133 Static libraries for freetype development.
134
135 %description static -l pl
136 Biblioteki statyczne FreeType.
137
138 %description static -l pt_BR
139 Bibliotecas estáticas para desenvolvimento com freetype.
140
141 %description static -l ru
142 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÎÁÐÉÓÁÎÉÑ
143 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
144
145 %description static -l uk
146 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÎÁÐÉÓÁÎÎÑ
147 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
148
149 %package demos
150 Summary:        FreeType demo programs
151 Summary(pl):    Programy demonstracyjne FreeType
152 Group:          X11/Applications
153 Requires:       %{name} = %{version}
154
155 %description demos
156 Demonstration programs for FreeType library.
157
158 %description demos -l pl
159 Programy demonstracyjne do biblioteki FreeType.
160
161 %prep
162 %setup -q -b1 -a2
163 #%{!?_without_bytecode:%patch0 -p1}
164 #%patch1 -p1
165 #%patch2 -p1
166
167 %build
168 CFLAGS="%{rpmcflags}" %{__make} setup CFG="--prefix=%{_prefix}"
169
170 %{__make}
171
172 %{__make} TOP_DIR="`pwd`" -C ft2demos-*
173
174 %install
175 rm -rf $RPM_BUILD_ROOT
176
177 %{__make} install \
178         DESTDIR="$RPM_BUILD_ROOT" \
179         datadir=%{_datadir}
180
181 # demos
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
186
187 gzip -9nf docs/{BUGS,CHANGES,FTL.txt,PATENTS,license.txt,TODO,modules.txt}
188
189 %clean
190 rm -rf $RPM_BUILD_ROOT
191
192 %post   -p /sbin/ldconfig
193 %postun -p /sbin/ldconfig
194
195 %files
196 %defattr(644,root,root,755)
197 %doc docs/*.gz
198 %attr(755,root,root) %{_libdir}/lib*so.*.*
199
200 %files devel
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
207 %{_includedir}/*.h
208 %{_aclocaldir}/*.m4
209
210 %files static
211 %defattr(644,root,root,755)
212 %{_libdir}/lib*.a
213
214 %files demos
215 %defattr(644,root,root,755)
216 %attr(755,root,root) %{_bindir}/ft*
217 %attr(755,root,root) %{_xbindir}/ft*
This page took 0.067289 seconds and 4 git commands to generate.