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