]> git.pld-linux.org Git - packages/freetype.git/blob - freetype.spec
- removed unused patches
[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 URL:            http://www.freetype.org/
25 BuildRequires:  SysVinit
26 BuildRequires:  XFree86-devel
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Obsoletes:      freetype2
29
30 %define         _xbindir        /usr/X11R6/bin
31
32 %description
33 The FreeType engine is a free and portable TrueType font rendering
34 engine. It has been developed to provide TrueType support to a great
35 variety of platforms and environments.
36
37 Note that FreeType is a *library*. It is not a font server for your
38 favorite platform, even though it was designed to be used in many of
39 them. Note also that it is *not* a complete text-rendering library.
40 Its purpose is simply to open and manage font files, as well as load,
41 hint and render individual glyphs efficiently. You can also see it as
42 a "TrueType driver" for a higher-level library, though rendering text
43 with it is extremely easy, as demo-ed by the test programs.
44
45 %description -l es
46 FreeType es una máquina libre y portátil para en render de fuentes
47 TrueType. Fue desarrollada para ofrecer soporte TrueType a una gran
48 variedad de plataformas y ambientes. Observa que FreeType es una
49 biblioteca y no una aplicación, a pesar de que algunos utilitarios se
50 incluyan en este paquete.
51
52 %description -l pl
53 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType. Jest
54 to jedynie biblioteka, a nie serwer fontów, chocia¿ zosta³a ona
55 zaprojektowana do u¿ywania tak¿e w takich serwerach. Nie jest to te¿
56 kompletna biblioteka do rasteryzacji tekstu. Jej celem jest tylko
57 odczytywanie i zarz±dzanie plikami z fontami oraz wczytywanie i
58 wykonywanie hintingu i rasteryzacji poszczególnych glifów. Mo¿e byæ
59 tak¿e uwa¿ana za "sterownik TrueType" dla bibliotek wy¿szego poziomu,
60 jednak u¿ycie samej biblioteki FreeType do rasteryzacji jest bardzo
61 proste, co mo¿na zobaczyæ w programach demonstracyjnych.
62
63 %description -l pt_BR
64 FreeType é uma máquina livre e portável para renderização de fontes
65 TrueType. Ela foi desenvolvida para fornecer suporte TrueType a uma
66 grande variedade de plataformas e ambientes. Note que FreeType é uma
67 biblioteca e não uma aplicação, apesar que alguns utilitários são
68 incluídos neste pacote.
69
70 %description -l ru
71 âÉÂÌÉÏÔÅËÁ FreeType - ÜÔÏ Ó×ÏÂÏÄÎÁÑ ÐÅÒÅÎÏÓÉÍÁÑ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ
72 ÒÅÎÄÅÒÉÎÇÁ (ÒÁÓÔÅÒÉÚÁÃÉÉ) ÛÒÉÆÔÏ× TrueType, ÄÏÓÔÕÐÎÁÑ × ÉÓÈÏÄÎÙÈ
73 ÔÅËÓÔÁÈ ÎÁ ANSI C É Pascal. ïÎÁ ÂÙÌÁ ÒÁÚÒÁÂÏÔÁÎÁ ÄÌÑ ÐÏÄÄÅÒÖËÉ TT ÎÁ
74 ÒÁÚÎÏÏÂÒÁÚÎÙÈ ÐÌÁÔÆÏÒÍÁÈ.
75
76 %description -l uk
77 â¦Â̦ÏÔÅËÁ FreeType - ÃŠצÌØÎÁ ÐÅÒÅÎÏÓÉÍÁ Â¦Â̦ÏÔÅËÁ ÄÌÑ ÒÅÎÄÅÒÉÎÇÕ
78 (ÒÁÓÔÅÒÉÚÁæ§) ÛÒÉÆԦנTrueType, ÝÏ ÒÏÚÐÏ×ÓÀÄÖÕ¤ÔØÓÑ Õ ×ÉȦÄÎÉÈ
79 ÔÅËÓÔÁÈ ÎÁ C ÔÁ Pascal. ÷ÏÎÁ ÂÕÌÁ ÒÏÚÒÏÂÌÅÎÁ ÄÌѠЦÄÔÒÉÍËÉ TT ÎÁ
80 Ò¦ÚÎÉÈ ÐÌÁÔÆÏÒÍÁÈ.
81
82 %package devel
83 Summary:        Header files and development documentation
84 Summary(es):    Archivos de inclusión e bibliotecas estáticas para desarrollo con FreeType
85 Summary(pl):    Pliki nag³ówkowe biblioteki freetype i dokumentacja
86 Summary(pt_BR): Arquivos de inclusão e bibliotecas estáticas para desenvolvimento com FreeType
87 Summary(ru):    âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ freetype
88 Summary(uk):    â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ freetype
89 Group:          Development/Libraries
90 Requires:       %{name} = %{version}
91 Obsoletes:      freetype2-devel
92
93 %description devel
94 This package includes the header files and documentation necessary to
95 develop applications that use FreeType.
96
97 %description devel -l es
98 Este paquete es necesario, si pretendes desarrollar/compilar
99 aplicaciones con la biblioteca FreeType. Si, simplemente, deseas
100 ejecutar aplicaciones existentes, no lo necesitas.
101
102 %description devel -l pl
103 Pakiet ten zawiera pliki nag³ówkowe oraz dokumentacjê potrzebne przy
104 tworzeniu programów wykorzystuj±cych bibliotekê FreeType.
105
106 %description devel -l pt_BR
107 Este pacote é necessário se você pretende desenvolver/compilar
108 aplicações com a biblioteca FreeType. Se você simplesmente deseja
109 rodar aplicações existentes, você não precisa deste pacote.
110
111 %description devel -l ru
112 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ
113 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
114
115 %description devel -l uk
116 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
117 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
118
119 %package static
120 Summary:        FreeType static libraries
121 Summary(es):    Static libraries for freetype development
122 Summary(pl):    Biblioteki statyczne FreeType
123 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com freetype
124 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ freetype
125 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ freetype
126 Group:          Development/Libraries
127 Requires:       %{name}-devel = %{version}
128 Obsoletes:      freetype2-static
129
130 %description static
131 Static FreeType libraries.
132
133 %description static -l es
134 Static libraries for freetype development.
135
136 %description static -l pl
137 Biblioteki statyczne FreeType.
138
139 %description static -l pt_BR
140 Bibliotecas estáticas para desenvolvimento com freetype.
141
142 %description static -l ru
143 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÎÁÐÉÓÁÎÉÑ
144 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
145
146 %description static -l uk
147 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÎÁÐÉÓÁÎÎÑ
148 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
149
150 %package demos
151 Summary:        FreeType demo programs
152 Summary(pl):    Programy demonstracyjne FreeType
153 Group:          X11/Applications
154 Requires:       %{name} = %{version}
155
156 %description demos
157 Demonstration programs for FreeType library.
158
159 %description demos -l pl
160 Programy demonstracyjne do biblioteki FreeType.
161
162 %prep
163 %setup -q -b1 -a2
164 %{?_with_bytecode:%patch0 -p1}
165
166 %build
167 CFLAGS="%{rpmcflags}" %{__make} setup CFG="--prefix=%{_prefix}"
168
169 %{__make}
170
171 %{__make} TOP_DIR="`pwd`" -C ft2demos-*
172
173 %install
174 rm -rf $RPM_BUILD_ROOT
175
176 %{__make} install \
177         DESTDIR="$RPM_BUILD_ROOT" \
178         datadir=%{_datadir}
179
180 # demos
181 install -d $RPM_BUILD_ROOT{%{_bindir},%{_xbindir}}
182 install ft2demos-*/bin/.libs/ft{multi,timer,view} $RPM_BUILD_ROOT%{_xbindir}
183 install ft2demos-*/bin/.libs/ft{dump,lint,memchk} $RPM_BUILD_ROOT%{_bindir}
184 install ft2demos-*/bin/.libs/testnames $RPM_BUILD_ROOT%{_bindir}/fttestnames
185
186 %clean
187 rm -rf $RPM_BUILD_ROOT
188
189 %post   -p /sbin/ldconfig
190 %postun -p /sbin/ldconfig
191
192 %files
193 %defattr(644,root,root,755)
194 %doc docs/{BUGS,CHANGES,FTL.txt,PATENTS,license.txt,TODO,modules.txt}
195 %attr(755,root,root) %{_libdir}/lib*so.*.*
196
197 %files devel
198 %defattr(644,root,root,755)
199 %doc docs/*.html docs/{design,freetype2,glyphs,reference,tutorial}
200 %attr(755,root,root) %{_bindir}/freetype-config
201 %attr(755,root,root) %{_libdir}/lib*.so
202 %{_libdir}/lib*.la
203 %{_includedir}/freetype2
204 %{_includedir}/*.h
205 %{_aclocaldir}/*.m4
206
207 %files static
208 %defattr(644,root,root,755)
209 %{_libdir}/lib*.a
210
211 %files demos
212 %defattr(644,root,root,755)
213 %attr(755,root,root) %{_bindir}/ft*
214 %attr(755,root,root) %{_xbindir}/ft*
This page took 0.057239 seconds and 4 git commands to generate.