[asymptote/f18] build against latest texlive

Tom Callaway spot at fedoraproject.org
Tue Nov 27 14:56:02 UTC 2012


commit f4adfb8f627629dfd1a611581788af057df532ae
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Tue Nov 27 09:57:54 2012 -0500

    build against latest texlive

 asymptote.spec |   25 ++++++++++++++++++-------
 1 files changed, 18 insertions(+), 7 deletions(-)
---
diff --git a/asymptote.spec b/asymptote.spec
index cf0fd62..4cb45eb 100644
--- a/asymptote.spec
+++ b/asymptote.spec
@@ -2,7 +2,7 @@
 
 Name:           asymptote
 Version:        2.21
-Release:        1%{?dist}
+Release:        3%{?dist}
 Summary:        Descriptive vector graphics language
 Group:          Applications/Publishing
 License:        LGPLv3+
@@ -14,13 +14,15 @@ Source3:	asymptote.sty.204
 Patch0:         asymptote-2.00-settings.patch
 # This doesn't need to go upstream. We put the info file in the topdir, not a subdir, so we need this fix.
 Patch3:		asymptote-2.08-info-path-fix.patch
-
 BuildRequires:  ncurses-devel
 BuildRequires:  readline-devel
 BuildRequires:  fftw-devel >= 3.0
 BuildRequires:  gc-devel >= 6.8
 BuildRequires:  gsl-devel
-BuildRequires:  tetex-latex
+BuildRequires:  tex(latex) tex(epsf.tex)
+BuildRequires:	tex(pdftex.map)
+BuildRequires:	tex(cm-super-t1.enc)
+BuildRequires:	tex(parskip.sty)
 BuildRequires:  ghostscript
 BuildRequires:  texinfo-tex
 BuildRequires:  ImageMagick
@@ -28,17 +30,18 @@ BuildRequires:  desktop-file-utils
 BuildRequires:  freeglut-devel
 BuildRequires:  zlib-devel
 BuildRequires:	libtool
+BuildRequires:	mesa-libOSMesa-devel
 BuildRequires:  emacs
 BuildRequires:  xemacs
 # For cc-mode
 BuildRequires:	xemacs-packages-extra
 
-Requires:       tetex-latex
+Requires:       tex(latex)
 Requires:       tkinter
 Requires:	python-imaging-tk
 # for /usr/bin/texhash and /sbin/install-info
-Requires(post): texlive, info
-Requires(postun): texlive, info
+Requires(post): texlive-kpathsea-bin, tex-kpathsea, info
+Requires(postun): texlive-kpathsea-bin, tex-kpathsea, info
 
 %define texpkgdir   %{_texmf}/tex/latex/%{name}
 
@@ -103,9 +106,11 @@ autoreconf -i
 %configure --enable-gc=system --with-docdir=%{_defaultdocdir}/%{name}-%{version}/ --with-latex=%{_texmf}/tex/latex --with-context=%{_texmf}/tex/context/
 make %{?_smp_mflags}
 cd doc/
+%if 0%{?fedora} < 18
 # We're hacking around the fact that the asymptote.sty generated doesn't work with Fedora's old latex
 make asy-latex.pdf
 cp %{SOURCE3} asymptote.sty
+%endif
 make all
 
 %install
@@ -203,6 +208,12 @@ fi
 %{_xemacs_sitelispdir}/%{name}/*.el
 
 %changelog
+* Tue Oct 23 2012 Tom Callaway <spot at fedoraproject.org> - 2.21-3
+- more missing BR, conditionalize texlive hacks
+
+* Sat Oct 20 2012 Jindrich Novy <jnovy at redhat.com> - 2.21-2
+- fix (Build)Requires
+
 * Wed Oct 10 2012 Tom Callaway <spot at fedoraproject.org> - 2.21-1
 - update to 2.21
 
@@ -240,7 +251,7 @@ fi
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.08-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
-* Mon Nov  4 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 2.08-1
+* Thu Nov  4 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 2.08-1
 - update to 2.08
 
 * Mon Nov  1 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 2.07-1


More information about the scm-commits mailing list