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