[texlive-texmf/f15] add inconsolata

Tom Callaway spot at fedoraproject.org
Mon Nov 7 19:47:31 UTC 2011


commit cf650d282e27426359fe1c4817480c7cbefe521d
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date:   Mon Nov 7 14:47:28 2011 -0500

    add inconsolata

 sources            |    1 +
 texlive-texmf.spec |   46 +++++++++++++++++++++++++++++++++++++++++++---
 2 files changed, 44 insertions(+), 3 deletions(-)
---
diff --git a/sources b/sources
index f88c1f5..e994337 100644
--- a/sources
+++ b/sources
@@ -7,3 +7,4 @@ c24f99d1fd399acecc2f3070c23f43f1  platex209.tar.bz2
 ba238f7a249967c11c048d1b039e4ead  achemso.zip
 ba9184469d3323fd43b42e1568d4b5f6  IEEEconf.zip
 fbac0afea54208bd8bc7d71a0d8524a1  perltex.zip
+db08c0a520a0dc75a92ebf748be648cb  inconsolata.zip
diff --git a/texlive-texmf.spec b/texlive-texmf.spec
index 561d1ff..a442be2 100644
--- a/texlive-texmf.spec
+++ b/texlive-texmf.spec
@@ -14,11 +14,11 @@
 
 Name:		texlive-texmf
 Version:	2007
-Release:	37%{?dist}
+Release:	40%{?dist}
 Summary:	Architecture independent parts of the TeX formatting system
 
 Group:		Applications/Publishing
-License:	Artistic 2.0 and GPLv2 and GPLv2+ and LGPLv2+ and LPPL and MIT and Public Domain and UCD and Utopia
+License:	Artistic 2.0 and GPLv2 and GPLv2+ and LGPLv2+ and LPPL and MIT and OFL and Public Domain and UCD and Utopia
 URL:		http://tug.org/texlive/
 
 # Source0 comes as a result from scripts that look for files in teTeX and assigns appropriate
@@ -29,6 +29,9 @@ Source0:	texlive.texmf-%{version}.tar.lzma
 # Source1 is http://www.tug.org/texlive/Contents/inst/archive/texmf-var.zip
 Source1:	texlive.texmf-var-%{version}.zip
 
+# This is a bit of a hack, but we need this for R
+Source2:	http://mirror.ctan.org/fonts/inconsolata.zip
+
 # pregenerated kpathsea ls-R files in case no binary TeXLive is present to regenerate them
 Source10:	texlive.%{version}.ls-R
 Source11:	texlive.var.%{version}.ls-R
@@ -67,6 +70,7 @@ Patch4:		texlive-2007-romanian.patch
 Patch5:		texlive-2007-euro.patch
 Patch6:		texlive-2007-beamerblocks.patch
 Patch7:		texlive-2007-latin.patch
+Patch8:		texlive-2007-5yr-old.patch
 
 # Patch1000-: Japanese pTeX
 Patch1001: texlive-2007-texmf.cnf-ptex.patch
@@ -184,6 +188,9 @@ texlive-context package.
 %setup -q -c -T
 lzma -dc %{SOURCE0} | tar x
 
+# extract inconsolata
+unzip %{SOURCE2}
+
 # extract envlab
 unzip %{SOURCE100}
 # extract perltex
@@ -205,6 +212,7 @@ install -p -m644 %{SOURCE50} texmf-var/dvips/config/config.generic
 %patch5  -p0
 %patch6  -p0
 %patch7  -p1
+%patch8  -p1
 
 cp -p %{SOURCE91} .
 
@@ -431,7 +439,9 @@ cp -a %{SOURCE10} %{buildroot}%{_texmf_main}/default.ls-R
 cp -a %{SOURCE11} %{buildroot}%{_texmf_var}/default.ls-R
 
 # ghostscript cmap required for dvipdfmx
-if [ -d "%{_datadir}/ghostscript/`gs --version| cut -d . -f 1-2`/Resource/CMap" ] ; then
+if [ -d "%{_datadir}/poppler/cMap" ] ; then
+  cmap_dir="%{_datadir}/poppler/cMap//"
+elif [ -d "%{_datadir}/ghostscript/`gs --version| cut -d . -f 1-2`/Resource/CMap" ] ; then
   cmap_dir="%{_datadir}/ghostscript/"`gs --version| cut -d . -f 1-2`"/Resource/CMap/"
 elif [ -d "%{_datadir}/ghostscript/Resource/CMap" ] ; then
   cmap_dir="%{_datadir}/ghostscript/Resource/CMap/"
@@ -504,6 +514,24 @@ install -p -m644 perltex/perltex.1 %{buildroot}%{_mandir}/man1
 # fix permissions of /var/lib/texmf/web2c
 chmod 755 %{buildroot}%{_texmf_var}/web2c
 
+# install inconsolata
+mkdir -p %{buildroot}%{_texmf_main}/tex/latex/inconsolata/
+mkdir -p %{buildroot}%{_texmf_main}/fonts/tfm/inconsolata/
+mkdir -p %{buildroot}%{_texmf_main}/fonts/opentype/inconsolata/
+mkdir -p %{buildroot}%{_texmf_main}/fonts/map/dvips/inconsolata/
+mkdir -p %{buildroot}%{_texmf_main}/fonts/type1/inconsolata/
+mkdir -p %{buildroot}%{_texmf_main}/fonts/sfd/inconsolata/
+mkdir -p %{buildroot}%{_texmf_main}/fonts/enc/dvips/inconsolata/
+pushd inconsolata
+install -p -m644 *.sty *.fd %{buildroot}%{_texmf_main}/tex/latex/inconsolata/
+install -p -m644 *.tfm %{buildroot}%{_texmf_main}/fonts/tfm/inconsolata/
+install	-p -m644 *.otf %{buildroot}%{_texmf_main}/fonts/opentype/inconsolata/
+install -p -m644 *.map %{buildroot}%{_texmf_main}/fonts/map/dvips/inconsolata/
+install -p -m644 *.pfb %{buildroot}%{_texmf_main}/fonts/type1/inconsolata/
+install	-p -m644 *.sfd %{buildroot}%{_texmf_main}/fonts/sfd/inconsolata/
+install -p -m644 *.enc %{buildroot}%{_texmf_main}/fonts/enc/dvips/inconsolata/
+popd
+
 # create macro file for building texlive
 mkdir -p %{buildroot}%{_sysconfdir}/rpm
 cat <<EOF > %{buildroot}%{_sysconfdir}/rpm/macros.texlive
@@ -861,6 +889,7 @@ fi
 %{_texmf_main}/fonts/map/vtex/
 %dir %{_texmf_main}/fonts/pk
 %dir %{_texmf_main}/fonts/sfd
+%{_texmf_main}/fonts/sfd/inconsolata/
 %{_texmf_main}/fonts/source/
 %{_texmf_main}/fonts/tfm/
 %{_texmf_main}/fonts/type1/
@@ -904,6 +933,17 @@ fi
 %doc %{_texmf_main}/doc/
 
 %changelog
+* Mon Nov  7 2011 Tom Callaway <spot at fedoraproject.org> 2007-40
+- add inconsolata for R
+
+* Thu Sep 21 2011 Jindrich Novy <jnovy at redhat.com> 2007-39
+- fix CMAPFONTS -> point to poppler path (#736242)
+
+* Tue Jul 26 2011 Jindrich Novy <jnovy at redhat.com> 2007-38
+- allow to make LaTeX format from source more than 5 years old
+  (it gives a warning instead of an error)
+  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531569#56
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2007-37
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list