]> git.pld-linux.org Git - packages/freetype.git/blob - freetype.spec
- massive attack, adding Source-md5
[packages/freetype.git] / freetype.spec
1 #
2 # Conditional build:
3 # _with_bytecode        - with 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(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
13 Name:           freetype
14 Version:        2.1.4
15 Release:        1
16 License:        GPL or FTL
17 Group:          Libraries
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
24 URL:            http://www.freetype.org/
25 BuildRequires:  SysVinit
26 BuildRequires:  XFree86-devel
27 BuildRequires:  zlib-devel
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Obsoletes:      freetype2
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(ko):    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 Requires:       zlib-devel
92 Obsoletes:      freetype2-devel
93
94 %description devel
95 This package includes the header files and documentation necessary to
96 develop applications that use FreeType.
97
98 %description devel -l es
99 Este paquete es necesario, si pretendes desarrollar/compilar
100 aplicaciones con la biblioteca FreeType. Si, simplemente, deseas
101 ejecutar aplicaciones existentes, no lo necesitas.
102
103 %description devel -l pl
104 Pakiet ten zawiera pliki nag³ówkowe oraz dokumentacjê potrzebne przy
105 tworzeniu programów wykorzystuj±cych bibliotekê FreeType.
106
107 %description devel -l pt_BR
108 Este pacote é necessário se você pretende desenvolver/compilar
109 aplicações com a biblioteca FreeType. Se você simplesmente deseja
110 rodar aplicações existentes, você não precisa deste pacote.
111
112 %description devel -l ru
113 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ
114 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
115
116 %description devel -l uk
117 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
118 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
119
120 %package static
121 Summary:        FreeType static libraries
122 Summary(es):    Static libraries for freetype development
123 Summary(pl):    Biblioteki statyczne FreeType
124 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com freetype
125 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ freetype
126 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ freetype
127 Group:          Development/Libraries
128 Requires:       %{name}-devel = %{version}
129 Obsoletes:      freetype2-static
130
131 %description static
132 Static FreeType libraries.
133
134 %description static -l es
135 Static libraries for freetype development.
136
137 %description static -l pl
138 Biblioteki statyczne FreeType.
139
140 %description static -l pt_BR
141 Bibliotecas estáticas para desenvolvimento com freetype.
142
143 %description static -l ru
144 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÎÁÐÉÓÁÎÉÑ
145 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
146
147 %description static -l uk
148 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÎÁÐÉÓÁÎÎÑ
149 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
150
151 %package demos
152 Summary:        FreeType demo programs
153 Summary(ko):    FreeTypeÀ» ½ÃÇèÇغ¼ ¼ö Àִ ÇÁ·Î±×·¥ ¸ðÀ½
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 -a1 -a2
166
167 mv -f freetype-%{version}/docs/* docs
168
169 %build
170 CFLAGS="%{rpmcflags} %{?_with_bytecode:-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER}" \
171 %{__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 install -d $RPM_BUILD_ROOT%{_bindir}
185 install ft2demos-*/bin/.libs/ft{multi,timer,view} $RPM_BUILD_ROOT%{_bindir}
186 install ft2demos-*/bin/.libs/ft{dump,lint,memchk} $RPM_BUILD_ROOT%{_bindir}
187 install ft2demos-*/bin/.libs/testnames $RPM_BUILD_ROOT%{_bindir}/fttestnames
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/{CHANGES,FTL.txt,PATENTS,license.txt,TODO,modules.txt}
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 %{_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*
This page took 0.060282 seconds and 4 git commands to generate.