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