]> git.pld-linux.org Git - packages/t1lib.git/blobdiff - t1lib.spec
- added URL
[packages/t1lib.git] / t1lib.spec
index f7492084128cdb6edf7fafa07b63c68c680329b7..7a350444300edfe5d3ee6a0d7fdca82abbaa3a2f 100644 (file)
@@ -9,7 +9,7 @@ Summary(ru.UTF-8):      Растеризатор шрифтов Type 1
 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
@@ -25,13 +25,22 @@ Patch3:             %{name}-man.patch
 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
@@ -40,7 +49,6 @@ BuildRequires:        tetex-makeindex
 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
@@ -233,6 +241,7 @@ Statyczna biblioteka libt1x.
 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
 
@@ -264,6 +273,9 @@ Program testowy dla t1lib z interfejsem X11.
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
 
 rm -f ac-tools/aclocal.m4
 
@@ -305,10 +317,7 @@ chmod 755 $RPM_BUILD_ROOT%{_libdir}/lib*.so*
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/ldconfig
-fontpostinst Type1
-
+%post  -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %post  x -p /sbin/ldconfig
This page took 0.043963 seconds and 4 git commands to generate.