Summary(uk.UTF-8): Растеризатор шрифтів Type 1
Name: t1lib
Version: 5.1.2
-Release: 4
+Release: 10
License: GPL v2
Group: Libraries
Source0: ftp://sunsite.unc.edu/pub/Linux/libs/graphics/%{name}-%{version}.tar.gz
Patch4: %{name}-xglyph.patch
Patch5: %{name}-aclocal.patch
Patch6: %{name}-link.patch
-Patch7: %{name}-5.1.2-CVE-2010-2642.patch
+Patch7: format-security.patch
+Patch8: t1lib-5.1.2-CVE-2010-2642_2011-0433_2011-5244.patch
+Patch9: t1lib-5.1.2-CVE-2011-0764.patch
+Patch10: t1lib-5.1.2-CVE-2011-1552_1553_1554.patch
+URL: http://www.t1lib.org/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
+BuildRequires: rpm >= 4.4.9-56
+%if "%{pld_release}" == "ac"
+BuildRequires: XFree86-devel
+%else
BuildRequires: xorg-lib-libX11-devel
BuildRequires: xorg-lib-libXaw-devel
BuildRequires: xorg-lib-libXt-devel
+%endif
%if %{with doc}
BuildRequires: tetex-dvips
BuildRequires: tetex-format-latex
BuildRequires: tetex-tex-babel
%endif
Requires: findutils
-Requires: fontpostinst >= 0.1-6
Requires(post): /sbin/ldconfig
Obsoletes: libt1lib1.3.1
Obsoletes: libt1lib1.3.1-progs
Summary: Type 1 fonts
Summary(pl.UTF-8): Fonty Type 1
Group: Fonts
+Requires: fontpostinst >= 0.1-6
Requires(post,postun): fontpostinst >= 0.1-6
Requires: %{_fontsdir}/Type1
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
rm -f ac-tools/aclocal.m4
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-/sbin/ldconfig
-fontpostinst Type1
-
+%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post x -p /sbin/ldconfig