3 # _without_bytecode - without TT bytecode interpreter
4 # (patents pending in USA, Japan...)
6 Summary: Truetype font rasterizer
7 Summary(pl): Rasteryzer fontów Truetype
14 Group(es): Bibliotecas
17 Group(pt_BR): Bibliotecas
20 Source0: ftp://ftp.freetype.org/freetype/freetype2/%{name}-%{version}.tar.bz2
21 Source1: ftp://ftp.freetype.org/freetype/freetype2/ftdocs-%{version}.tar.bz2
22 Patch0: %{name}2-DESTDIR.patch
23 Patch1: %{name}2-gsf-segv.patch
24 Patch2: %{name}2-bytecode.patch
25 URL: http://www.freetype.org/
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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.
43 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType. Kody
44 ¼ród³owe napisane s± w ANSI C oraz PASCAL'u.
47 Summary: Header files and development documentation
48 Summary(pl): Pliki nag³ówkowe biblioteki freetype i dokumentacja
49 Group: Development/Libraries
50 Group(de): Entwicklung/Libraries
51 Group(es): Desarrollo/Bibliotecas
52 Group(fr): Development/Librairies
53 Group(pl): Programowanie/Biblioteki
54 Group(pt_BR): Desenvolvimento/Bibliotecas
55 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
56 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
57 Requires: %{name} = %{version}
58 Obsoletes: freetype2-devel
59 Obsoletes: freetype2-static
62 This package includes the header files documentations and libraries
63 necessary to develop applications that use freetype.
65 %description devel -l pl
66 Pakiet ten zawiera pliki nag³ówkowe oraz biblioteki niezbêdne przy
67 kompilowaniu programów wykorzystuj±cych bibliotekê freetype.
70 Summary: Freetype static libraries
71 Summary(pl): Biblioteki statyczne freetype
72 Group: Development/Libraries
73 Group(de): Entwicklung/Libraries
74 Group(es): Desarrollo/Bibliotecas
75 Group(fr): Development/Librairies
76 Group(pl): Programowanie/Biblioteki
77 Group(pt_BR): Desenvolvimento/Bibliotecas
78 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
79 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
80 Requires: %{name}-devel = %{version}
81 Obsoletes: freetype2-static
84 Static freetype libraries.
86 %description static -l pl
87 Biblioteki statyczne freetype.
93 %{!?_without_bytecode:%patch2 -p1}
96 CFLAGS="%{rpmcflags}" %{__make} setup CFG="--prefix=%{_prefix}"
101 rm -rf $RPM_BUILD_ROOT
104 DESTDIR="$RPM_BUILD_ROOT"
106 gzip -9nf docs/{BUGS,CHANGES,FTL.txt,PATENTS,license.txt,TODO,modules.txt}
109 rm -rf $RPM_BUILD_ROOT
111 %post -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
115 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/lib*so.*.*
120 %defattr(644,root,root,755)
121 %doc docs/*.html docs/{design,freetype2,glyphs,reference,tutorial}
122 %attr(755,root,root) %{_bindir}/*
123 %attr(755,root,root) %{_libdir}/lib*.so
124 %attr(755,root,root) %{_libdir}/lib*.la
125 %{_includedir}/freetype2
129 %defattr(644,root,root,755)