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