]> git.pld-linux.org Git - packages/freetype.git/blob - freetype.spec
- updated source URLs
[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.3
14 Release:        1
15 License:        GPL or FTL
16 Group:          Libraries
17 Source0:        http://telia.dl.sourceforge.net/sourceforge/freetype/%{name}-%{version}.tar.bz2
18 Source1:        http://telia.dl.sourceforge.net/sourceforge/freetype/ftdocs-%{version}.tar.bz2
19 Source2:        http://telia.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 %define         _xbindir        /usr/X11R6/bin
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(pl):    Pliki nag³ówkowe biblioteki freetype i dokumentacja
82 Summary(pt_BR): Arquivos de inclusão e bibliotecas estáticas para desenvolvimento com FreeType
83 Summary(ru):    âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ freetype
84 Summary(uk):    â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ freetype
85 Group:          Development/Libraries
86 Requires:       %{name} = %{version}
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 -b1 -a2
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 # demos
177 install -d $RPM_BUILD_ROOT{%{_bindir},%{_xbindir}}
178 install ft2demos-*/bin/.libs/ft{multi,timer,view} $RPM_BUILD_ROOT%{_xbindir}
179 install ft2demos-*/bin/.libs/ft{dump,lint,memchk} $RPM_BUILD_ROOT%{_bindir}
180 install ft2demos-*/bin/.libs/testnames $RPM_BUILD_ROOT%{_bindir}/fttestnames
181
182 %clean
183 rm -rf $RPM_BUILD_ROOT
184
185 %post   -p /sbin/ldconfig
186 %postun -p /sbin/ldconfig
187
188 %files
189 %defattr(644,root,root,755)
190 %doc docs/{BUGS,CHANGES,FTL.txt,PATENTS,license.txt,TODO,modules.txt}
191 %attr(755,root,root) %{_libdir}/lib*so.*.*
192
193 %files devel
194 %defattr(644,root,root,755)
195 %doc docs/*.html docs/{design,freetype2,glyphs,reference,tutorial}
196 %attr(755,root,root) %{_bindir}/freetype-config
197 %attr(755,root,root) %{_libdir}/lib*.so
198 %{_libdir}/lib*.la
199 %{_includedir}/freetype2
200 %{_includedir}/*.h
201 %{_aclocaldir}/*.m4
202
203 %files static
204 %defattr(644,root,root,755)
205 %{_libdir}/lib*.a
206
207 %files demos
208 %defattr(644,root,root,755)
209 %attr(755,root,root) %{_bindir}/ft*
210 %attr(755,root,root) %{_xbindir}/ft*
This page took 0.046651 seconds and 4 git commands to generate.