]> git.pld-linux.org Git - packages/freetype.git/blob - freetype.spec
- Rel 1
[packages/freetype.git] / freetype.spec
1 #
2 # todo: update patches
3 #
4 # Conditional build:
5 # _with_bytecode        - without TT bytecode interpreter
6 #                       (patents pending in USA, Japan...)
7 #
8
9 Summary:        TrueType font rasterizer
10 Summary(es):    Biblioteca de render 3D de fuentes TrueType
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
15 Name:           freetype
16 Version:        2.1.3
17 Release:        1
18 License:        GPL or FTL
19 Group:          Libraries
20 Source0:        ftp://ftp.freetype.org/freetype/freetype2/%{name}-%{version}.tar.bz2
21 Source1:        ftp://ftp.freetype.org/freetype/freetype2/ftdocs-%{version}.tar.bz2
22 Source2:        ftp://ftp.freetype.org/freetype/freetype2/ft2demos-%{version}.tar.bz2
23 Patch0:         %{name}2-bytecode.patch
24 #Patch1:                %{name}2-slight.patch
25 #Patch2:                %{name}2-owen.patch
26 URL:            http://www.freetype.org/
27 BuildRequires:  SysVinit
28 BuildRequires:  XFree86-devel
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Obsoletes:      freetype2
31
32 %define         _xbindir        /usr/X11R6/bin
33
34 %description
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.
38
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.
46
47 %description -l es
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.
53
54 %description -l pl
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.
64
65 %description -l pt_BR
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.
71
72 %description -l ru
73 âÉÂÌÉÏÔÅËÁ FreeType - ÜÔÏ Ó×ÏÂÏÄÎÁÑ ÐÅÒÅÎÏÓÉÍÁÑ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ
74 ÒÅÎÄÅÒÉÎÇÁ (ÒÁÓÔÅÒÉÚÁÃÉÉ) ÛÒÉÆÔÏ× TrueType, ÄÏÓÔÕÐÎÁÑ × ÉÓÈÏÄÎÙÈ
75 ÔÅËÓÔÁÈ ÎÁ ANSI C É Pascal. ïÎÁ ÂÙÌÁ ÒÁÚÒÁÂÏÔÁÎÁ ÄÌÑ ÐÏÄÄÅÒÖËÉ TT ÎÁ
76 ÒÁÚÎÏÏÂÒÁÚÎÙÈ ÐÌÁÔÆÏÒÍÁÈ.
77
78 %description -l uk
79 â¦Â̦ÏÔÅËÁ FreeType - ÃŠצÌØÎÁ ÐÅÒÅÎÏÓÉÍÁ Â¦Â̦ÏÔÅËÁ ÄÌÑ ÒÅÎÄÅÒÉÎÇÕ
80 (ÒÁÓÔÅÒÉÚÁæ§) ÛÒÉÆԦנTrueType, ÝÏ ÒÏÚÐÏ×ÓÀÄÖÕ¤ÔØÓÑ Õ ×ÉȦÄÎÉÈ
81 ÔÅËÓÔÁÈ ÎÁ C ÔÁ Pascal. ÷ÏÎÁ ÂÕÌÁ ÒÏÚÒÏÂÌÅÎÁ ÄÌѠЦÄÔÒÉÍËÉ TT ÎÁ
82 Ò¦ÚÎÉÈ ÐÌÁÔÆÏÒÍÁÈ.
83
84 %package devel
85 Summary:        Header files and development documentation
86 Summary(es):    Archivos de inclusión e bibliotecas estáticas para desarrollo con FreeType
87 Summary(pl):    Pliki nag³ówkowe biblioteki freetype i dokumentacja
88 Summary(pt_BR): Arquivos de inclusão e bibliotecas estáticas para desenvolvimento com FreeType
89 Summary(ru):    âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ freetype
90 Summary(uk):    â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ freetype
91 Group:          Development/Libraries
92 Requires:       %{name} = %{version}
93 Obsoletes:      freetype2-devel
94
95 %description devel
96 This package includes the header files and documentation necessary to
97 develop applications that use FreeType.
98
99 %description devel -l es
100 Este paquete es necesario, si pretendes desarrollar/compilar
101 aplicaciones con la biblioteca FreeType. Si, simplemente, deseas
102 ejecutar aplicaciones existentes, no lo necesitas.
103
104 %description devel -l pl
105 Pakiet ten zawiera pliki nag³ówkowe oraz dokumentacjê potrzebne przy
106 tworzeniu programów wykorzystuj±cych bibliotekê FreeType.
107
108 %description devel -l pt_BR
109 Este pacote é necessário se você pretende desenvolver/compilar
110 aplicações com a biblioteca FreeType. Se você simplesmente deseja
111 rodar aplicações existentes, você não precisa deste pacote.
112
113 %description devel -l ru
114 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ
115 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
116
117 %description devel -l uk
118 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
119 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
120
121 %package static
122 Summary:        FreeType static libraries
123 Summary(es):    Static libraries for freetype development
124 Summary(pl):    Biblioteki statyczne FreeType
125 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com freetype
126 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ freetype
127 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ freetype
128 Group:          Development/Libraries
129 Requires:       %{name}-devel = %{version}
130 Obsoletes:      freetype2-static
131
132 %description static
133 Static FreeType libraries.
134
135 %description static -l es
136 Static libraries for freetype development.
137
138 %description static -l pl
139 Biblioteki statyczne FreeType.
140
141 %description static -l pt_BR
142 Bibliotecas estáticas para desenvolvimento com freetype.
143
144 %description static -l ru
145 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÎÁÐÉÓÁÎÉÑ
146 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
147
148 %description static -l uk
149 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÎÁÐÉÓÁÎÎÑ
150 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
151
152 %package demos
153 Summary:        FreeType demo programs
154 Summary(pl):    Programy demonstracyjne FreeType
155 Group:          X11/Applications
156 Requires:       %{name} = %{version}
157
158 %description demos
159 Demonstration programs for FreeType library.
160
161 %description demos -l pl
162 Programy demonstracyjne do biblioteki FreeType.
163
164 %prep
165 %setup -q -b1 -a2
166 %{?_with_bytecode:%patch0 -p1}
167 #%patch1 -p1
168 #%patch2 -p1
169
170 %build
171 CFLAGS="%{rpmcflags}" %{__make} setup CFG="--prefix=%{_prefix}"
172
173 %{__make}
174
175 %{__make} TOP_DIR="`pwd`" -C ft2demos-*
176
177 %install
178 rm -rf $RPM_BUILD_ROOT
179
180 %{__make} install \
181         DESTDIR="$RPM_BUILD_ROOT" \
182         datadir=%{_datadir}
183
184 # demos
185 install -d $RPM_BUILD_ROOT{%{_bindir},%{_xbindir}}
186 install ft2demos-*/bin/.libs/ft{multi,timer,view} $RPM_BUILD_ROOT%{_xbindir}
187 install ft2demos-*/bin/.libs/ft{dump,lint,memchk} $RPM_BUILD_ROOT%{_bindir}
188 install ft2demos-*/bin/.libs/testnames $RPM_BUILD_ROOT%{_bindir}/fttestnames
189
190 %clean
191 rm -rf $RPM_BUILD_ROOT
192
193 %post   -p /sbin/ldconfig
194 %postun -p /sbin/ldconfig
195
196 %files
197 %defattr(644,root,root,755)
198 %doc docs/{BUGS,CHANGES,FTL.txt,PATENTS,license.txt,TODO,modules.txt}
199 %attr(755,root,root) %{_libdir}/lib*so.*.*
200
201 %files devel
202 %defattr(644,root,root,755)
203 %doc docs/*.html docs/{design,freetype2,glyphs,reference,tutorial}
204 %attr(755,root,root) %{_bindir}/freetype-config
205 %attr(755,root,root) %{_libdir}/lib*.so
206 %{_libdir}/lib*.la
207 %{_includedir}/freetype2
208 %{_includedir}/*.h
209 %{_aclocaldir}/*.m4
210
211 %files static
212 %defattr(644,root,root,755)
213 %{_libdir}/lib*.a
214
215 %files demos
216 %defattr(644,root,root,755)
217 %attr(755,root,root) %{_bindir}/ft*
218 %attr(755,root,root) %{_xbindir}/ft*
This page took 0.0853 seconds and 4 git commands to generate.