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