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
13 Source0: ftp://ftp.freetype.org/freetype/freetype2/%{name}-%{version}.tar.bz2
14 Source1: ftp://ftp.freetype.org/freetype/freetype2/ftdocs-%{version}.tar.bz2
15 Patch0: %{name}2-DESTDIR.patch
16 Patch1: %{name}2-gsf-segv.patch
17 Patch2: %{name}2-bytecode.patch
18 URL: http://www.freetype.org/
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 The FreeType engine is a free and portable TrueType font rendering
24 engine. It has been developed to provide TrueType support to a great
25 variety of platforms and environments.
27 Note that FreeType is a *library*. It is not a font server for your
28 favorite platform, even though it was designed to be used in many of
29 them. Note also that it is *not* a complete text-rendering library.
30 Its purpose is simply to open and manage font files, as well as load,
31 hint and render individual glyphs efficiently. You can also see it as
32 a "TrueType driver" for a higher-level library, though rendering text
33 with it is extremely easy, as demo-ed by the test programs.
36 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType. Kody
37 ¼ród³owe napisane s± w ANSI C oraz PASCAL'u.
40 Summary: Header files and development documentation
41 Summary(pl): Pliki nag³ówkowe biblioteki freetype i dokumentacja
42 Group: Development/Libraries
43 Requires: %{name} = %{version}
44 Obsoletes: freetype2-devel
45 Obsoletes: freetype2-static
48 This package includes the header files documentations and libraries
49 necessary to develop applications that use freetype.
51 %description devel -l pl
52 Pakiet ten zawiera pliki nag³ówkowe oraz biblioteki niezbêdne przy
53 kompilowaniu programów wykorzystuj±cych bibliotekê freetype.
56 Summary: Freetype static libraries
57 Summary(pl): Biblioteki statyczne freetype
58 Group: Development/Libraries
59 Requires: %{name}-devel = %{version}
60 Obsoletes: freetype2-static
63 Static freetype libraries.
65 %description static -l pl
66 Biblioteki statyczne freetype.
72 %{!?_without_bytecode:%patch2 -p1}
75 CFLAGS="%{rpmcflags}" %{__make} setup CFG="--prefix=%{_prefix}"
80 rm -rf $RPM_BUILD_ROOT
83 DESTDIR="$RPM_BUILD_ROOT"
85 gzip -9nf docs/{BUGS,CHANGES,FTL.txt,PATENTS,license.txt,TODO,modules.txt}
88 rm -rf $RPM_BUILD_ROOT
90 %post -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
94 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_libdir}/lib*so.*.*
99 %defattr(644,root,root,755)
100 %doc docs/*.html docs/{design,freetype2,glyphs,reference,tutorial}
101 %attr(755,root,root) %{_bindir}/*
102 %attr(755,root,root) %{_libdir}/lib*.so
103 %attr(755,root,root) %{_libdir}/lib*.la
104 %{_includedir}/freetype2
108 %defattr(644,root,root,755)