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