1 Summary: Truetype font rasterizer
2 Summary(pl): Rasteryzer fontów Truetype
11 Source0: ftp://freetype.sourceforge.net/pub/freetype/%{name}/freetype-%{version}-test.tar.bz2
12 Patch0: %{name}-DESTDIR.patch
13 URL: http://www.freetype.org/
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 The FreeType engine is a free and portable TrueType font rendering
18 engine. It has been developed to provide TrueType support to a great
19 variety of platforms and environments.
21 Note that FreeType is a *library*. It is not a font server for your
22 favorite platform, even though it was designed to be used in many of
23 them. Note also that it is *not* a complete text-rendering library.
24 Its purpose is simply to open and manage font files, as well as load,
25 hint and render individual glyphs efficiently. You can also see it as
26 a "TrueType driver" for a higher-level library, though rendering text
27 with it is extremely easy, as demo-ed by the test programs.
30 FreeType jest bibliotek± s³u¿±c± do rasteryzacji fontów TrueType. Kody
31 ¼ród³owe napisane s± w ANSI C oraz PASCAL'u.
34 Summary: Header files and development documentation
35 Summary(pl): Pliki nag³ówkowe biblioteki freetype i dokumentacja
36 Group: Development/Libraries
37 Group(de): Entwicklung/Libraries
38 Group(fr): Development/Librairies
39 Group(pl): Programowanie/Biblioteki
40 Requires: %{name} = %{version}
43 This package includes the header files documentations and libraries
44 necessary to develop applications that use freetype.
46 %description -l pl devel
47 Pakiet ten zawiera pliki nag³ówkowe oraz biblioteki niezbêdne przy
48 kompilowaniu programów wykorzystuj±cych bibliotekê freetype.
51 Summary: Freetype static libraries
52 Summary(pl): Biblioteki statyczne freetype
53 Group: Development/Libraries
54 Group(de): Entwicklung/Libraries
55 Group(fr): Development/Librairies
56 Group(pl): Programowanie/Biblioteki
57 Requires: %{name}-devel = %{version}
60 Static freetype libraries.
62 %description -l pl static
63 Biblioteki statyczne freetype.
66 %setup -q -n freetype-%{version}-test
70 CFLAGS="$RPM_OPT_FLAGS" %{__make}
74 rm -rf $RPM_BUILD_ROOT
77 DESTDIR="$RPM_BUILD_ROOT" \
80 chmod u+rw $RPM_BUILD_ROOT%{_bindir}/freetype-config
81 cat $RPM_BUILD_ROOT%{_bindir}/freetype-config \
82 | sed 's/prefix=\/usr\/local/prefix=\/usr/g' \
83 > $RPM_BUILD_ROOT%{_bindir}/freetype-config.new
84 mv $RPM_BUILD_ROOT%{_bindir}/freetype-config.new $RPM_BUILD_ROOT%{_bindir}/freetype-config
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 rm -rf $RPM_BUILD_ROOT
95 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/lib*so.*.*
100 %defattr(644,root,root,755)
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
107 %defattr(644,root,root,755)