]> git.pld-linux.org Git - packages/freetype.git/blob - freetype.spec
- updated to 2.1.5
[packages/freetype.git] / freetype.spec
1 #
2 # Conditional build:
3 # _with_bytecode        - with TT bytecode interpreter
4 #                       (patents pending in USA, Japan...)
5 #
6 %define _docver 2.1.4
7 Summary:        TrueType font rasterizer
8 Summary(es):    Biblioteca de render 3D de fuentes TrueType
9 Summary(ko):    ÀÚÀ¯·Ó°Ô ¾îµðµç ¾µ ¼ö Àִ Ʈ·çŸÀÔ ±Û²ÃÀ» ´Ù·ç´Â ¿£Áø
10 Summary(pl):    Rasteryzer fontów TrueType
11 Summary(pt_BR): Biblioteca de renderização de fontes TrueType
12 Summary(ru):    òÁÓÔÅÒÉÚÁÔÏÒ ÛÒÉÆÔÏ× TrueType
13 Summary(uk):    òÁÓÔÅÒÉÚÁÔÏÒ ÛÒÉÆԦנTrueType
14 Name:           freetype
15 Version:        2.1.5
16 Release:        1
17 License:        GPL or FTL
18 Group:          Libraries
19 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
20 # Source0-md5:  54537b518b84d04190a1eccd393a29df
21 Source1:        http://dl.sourceforge.net/%{name}/ftdocs-%{_docver}.tar.bz2
22 # Source1-md5:  367064e81998a302f3844f1dcdb8d77f
23 Source2:        http://dl.sourceforge.net/%{name}/ft2demos-%{version}.tar.bz2
24 # Source2-md5:  0484cfc7d881ccb49cafa85ec3198f3c
25 URL:            http://www.freetype.org/
26 BuildRequires:  SysVinit
27 BuildRequires:  XFree86-devel
28 BuildRequires:  zlib-devel
29 Obsoletes:      freetype2
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %define         specflags_ia32  "-fomit-frame-pointer"
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(ko):    FreeTypeÀ» ¾µ ¶§ ÇÊ¿äÇÑ Á¤Àû ¶óÀ̺귯¸®¿Í ¸Ó¸®¸» ÆÄÀÏ
88 Summary(pl):    Pliki nag³ówkowe biblioteki freetype i dokumentacja
89 Summary(pt_BR): Arquivos de inclusão e bibliotecas estáticas para desenvolvimento com FreeType
90 Summary(ru):    âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ freetype
91 Summary(uk):    â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ freetype
92 Group:          Development/Libraries
93 Requires:       %{name} = %{version}
94 Requires:       zlib-devel
95 Obsoletes:      freetype2-devel
96
97 %description devel
98 This package includes the header files and documentation necessary to
99 develop applications that use FreeType.
100
101 %description devel -l es
102 Este paquete es necesario, si pretendes desarrollar/compilar
103 aplicaciones con la biblioteca FreeType. Si, simplemente, deseas
104 ejecutar aplicaciones existentes, no lo necesitas.
105
106 %description devel -l pl
107 Pakiet ten zawiera pliki nag³ówkowe oraz dokumentacjê potrzebne przy
108 tworzeniu programów wykorzystuj±cych bibliotekê FreeType.
109
110 %description devel -l pt_BR
111 Este pacote é necessário se você pretende desenvolver/compilar
112 aplicações com a biblioteca FreeType. Se você simplesmente deseja
113 rodar aplicações existentes, você não precisa deste pacote.
114
115 %description devel -l ru
116 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ
117 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
118
119 %description devel -l uk
120 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
121 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
122
123 %package static
124 Summary:        FreeType static libraries
125 Summary(es):    Static libraries for freetype development
126 Summary(pl):    Biblioteki statyczne FreeType
127 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com freetype
128 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ freetype
129 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ freetype
130 Group:          Development/Libraries
131 Requires:       %{name}-devel = %{version}
132 Obsoletes:      freetype2-static
133
134 %description static
135 Static FreeType libraries.
136
137 %description static -l es
138 Static libraries for freetype development.
139
140 %description static -l pl
141 Biblioteki statyczne FreeType.
142
143 %description static -l pt_BR
144 Bibliotecas estáticas para desenvolvimento com freetype.
145
146 %description static -l ru
147 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÎÁÐÉÓÁÎÉÑ
148 ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ freetype.
149
150 %description static -l uk
151 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÎÁÐÉÓÁÎÎÑ
152 ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ freetype.
153
154 %package demos
155 Summary:        FreeType demo programs
156 Summary(ko):    FreeTypeÀ» ½ÃÇèÇغ¼ ¼ö Àִ ÇÁ·Î±×·¥ ¸ðÀ½
157 Summary(pl):    Programy demonstracyjne FreeType
158 Group:          X11/Applications
159 Requires:       %{name} = %{version}
160
161 %description demos
162 Demonstration programs for FreeType library.
163
164 %description demos -l pl
165 Programy demonstracyjne do biblioteki FreeType.
166
167 %prep
168 %setup -q -a1 -a2
169
170 mv -f freetype-%{_docver}/docs/reference/* docs/reference
171
172 %build
173 CFLAGS="%{rpmcflags} %{?_with_bytecode:-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER}" \
174 %{__make} setup unix \
175         CFG="--prefix=%{_prefix}"
176
177 %{__make}
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/testname $RPM_BUILD_ROOT%{_bindir}/fttestname
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/{DEBUG,TRUETYPE} docs/reference
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 %{_pkgconfigdir}/*.pc
213
214 %files static
215 %defattr(644,root,root,755)
216 %{_libdir}/lib*.a
217
218 %files demos
219 %defattr(644,root,root,755)
220 %attr(755,root,root) %{_bindir}/ft*
This page took 0.053362 seconds and 4 git commands to generate.