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