Browse Source

upgrade to TeX Live 2011

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5208 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 13 years ago
parent
commit
ef4a418e4e
1 changed files with 19 additions and 23 deletions
  1. 19 23
      t/texlive-sources/texlive-sources-vl.spec

+ 19 - 23
t/texlive-sources/texlive-sources-vl.spec

@@ -1,38 +1,34 @@
-## -*- coding: utf-8-unix -*-
-%define texlivesrcver   20091107
-%define texlivever      20091107
+%global _use_internal_dependency_generator 0
+%global __find_provides %{nil}
+%global __find_requires %{nil}
+
+%define texlivesrcver   20110705
+%define texlivever      20110705
 
 %define texlivedir	%{_datadir}/texlive
 %define build_texlive_src	%{buildroot}%{texlivedir}-sources
 
 %define pkgname		texlive
 
-%define __find_provides	%{nil}
-%define __find_requires	%{nil}
-%define __perl_provides %{nil}
-%define __perl_requires %{nil}
-
 Summary: A collection of sources for TeX Live packages
 Summary(ja): TeX Live のソース集
 Name: texlive-sources
-Version: 2009
-Release: 2%{?_dist_release}
+Version: 2011
+Release: 1%{?_dist_release}
 License: distributable
 Group: Applications/Publishing
 URL: http://www.tug.org/texlive/
 
 ## original TeX Live sources
-Source1: ftp://tug.org/historic/systems/texlive/2009/%{pkgname}-%{texlivesrcver}-source.tar.xz
-Source2: ftp://tug.org/historic/systems/texlive/2009/%{pkgname}-%{texlivever}-texmf.tar.xz
-Source3: ftp://tug.org/historic/systems/texlive/2009/%{pkgname}-%{texlivever}-extra.tar.xz
-# Source4: ftp://tug.org/historic/systems/texlive/2009/%{name}-%{texlivever}-bin.tar.xz
-
-# ## from texlive2009.iso:/tlpkg/texlive.tlpdb
-# Source10: texlive2009.tlpdb
+Source1: ftp://tug.org/historic/systems/texlive/%{version}/%{pkgname}-%{texlivesrcver}-source.tar.xz
+Source2: ftp://tug.org/historic/systems/texlive/%{version}/%{pkgname}-%{texlivever}-texmf.tar.xz
+Source3: ftp://tug.org/historic/systems/texlive/%{version}/%{pkgname}-%{texlivever}-extra.tar.xz
+# Source4: ftp://tug.org/historic/systems/texlive/%{version}/%{name}-%{texlivever}-bin.tar.xz
 
 %{?nosrc:NoSource: 1}
 %{?nosrc:NoSource: 2}
 %{?nosrc:NoSource: 3}
+#%{?nosrc:NoSource: 4}
 
 BuildRequires: tar
 BuildRequires: xz
@@ -50,7 +46,7 @@ It contains
   %{pkgname}-%{texlivesrcver}-source.tar.xz, 
   %{pkgname}-%{texlivever}-texmf.tar.xz, 
   %{pkgname}-%{texlivever}-extra.tar.xz
-on ftp://tug.org/historic/systems/texlive/2009/. 
+on ftp://tug.org/historic/systems/texlive/%{version}/. 
 
 This package is used to build texlive package and its related packages 
 of Vine Linux. 
@@ -58,7 +54,7 @@ of Vine Linux.
 
 %description -l ja
 このパッケージは TeX Live のソース集です。
-ftp://tug.org/historic/systems/texlive/2009/ 上の
+ftp://tug.org/historic/systems/texlive/%{version}/ 上の
   %{pkgname}-%{texlivesrcver}-source.tar.xz, 
   %{pkgname}-%{texlivever}-texmf.tar.xz, 
   %{pkgname}-%{texlivever}-extra.tar.xz
@@ -86,13 +82,10 @@ ftp://tug.org/historic/systems/texlive/2009/ 上の
     %__tar Jxf %{SOURCE3} || exit 1
     %__mv %{pkgname}-%{texlivever}-extra/* . || exit 1
 
-    # %__mkdir_p tlpkg || exit 1
-    # %__install -m0644 %{SOURCE10} tlpkg/texlive.tlpdb || exit 1
-
     %__rm -r %{pkgname}-%{texlivever}-{texmf,extra} || exit 1
 
     ## remove arch dependent binaries
-    %__rm -f texmf-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
+    #%__rm -f texmf-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
 )
 
 %clean
@@ -103,6 +96,9 @@ ftp://tug.org/historic/systems/texlive/2009/ 上の
 %{texlivedir}-sources
 
 %changelog
+* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
+- updated to TeX Live 2011
+
 * Sat Nov 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
 - supported Vine Linux 5