source: projects/specs/trunk/t/texlive-sources/texlive-sources-vl.spec @ 5208

Revision 5208, 3.0 KB checked in by munepi, 13 years ago (diff)

upgrade to TeX Live 2011

RevLine 
[5208]1%global _use_internal_dependency_generator 0
2%global __find_provides %{nil}
3%global __find_requires %{nil}
[1533]4
[5208]5%define texlivesrcver   20110705
6%define texlivever      20110705
7
[1533]8%define texlivedir      %{_datadir}/texlive
9%define build_texlive_src       %{buildroot}%{texlivedir}-sources
10
11%define pkgname         texlive
12
13Summary: A collection of sources for TeX Live packages
14Summary(ja): TeX Live のソース集
15Name: texlive-sources
[5208]16Version: 2011
17Release: 1%{?_dist_release}
[1533]18License: distributable
19Group: Applications/Publishing
20URL: http://www.tug.org/texlive/
21
22## original TeX Live sources
[5208]23Source1: ftp://tug.org/historic/systems/texlive/%{version}/%{pkgname}-%{texlivesrcver}-source.tar.xz
24Source2: ftp://tug.org/historic/systems/texlive/%{version}/%{pkgname}-%{texlivever}-texmf.tar.xz
25Source3: ftp://tug.org/historic/systems/texlive/%{version}/%{pkgname}-%{texlivever}-extra.tar.xz
26# Source4: ftp://tug.org/historic/systems/texlive/%{version}/%{name}-%{texlivever}-bin.tar.xz
[1533]27
28%{?nosrc:NoSource: 1}
29%{?nosrc:NoSource: 2}
30%{?nosrc:NoSource: 3}
[5208]31#%{?nosrc:NoSource: 4}
[1533]32
33BuildRequires: tar
34BuildRequires: xz
35
36BuildArch:      noarch
37BuildRoot:      %{_tmppath}/%{name}-%{version}-root
38
39Vendor:       Project Vine
40Distribution: Vine Linux
41Packager:     munepi
42
43%description
44This package is a collection of sources for TeX Live packages.
45It contains
46  %{pkgname}-%{texlivesrcver}-source.tar.xz,
47  %{pkgname}-%{texlivever}-texmf.tar.xz,
48  %{pkgname}-%{texlivever}-extra.tar.xz
[5208]49on ftp://tug.org/historic/systems/texlive/%{version}/.
[1533]50
51This package is used to build texlive package and its related packages
52of Vine Linux.
53
54
55%description -l ja
56このパッケージは TeX Live のソース集です。
[5208]57ftp://tug.org/historic/systems/texlive/%{version}/ 上の
[1533]58  %{pkgname}-%{texlivesrcver}-source.tar.xz,
59  %{pkgname}-%{texlivever}-texmf.tar.xz,
60  %{pkgname}-%{texlivever}-extra.tar.xz
61を含んでいます。
62
63このパッケージは Vine Linux の texlive パッケージやその関連パッケージを
64ビルドするために使われます。
65
66
67%prep
68[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
69
70%build
71
72%install
73[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
74
75%__mkdir_p %{build_texlive_src}
76(cd %{build_texlive_src}
77    %__mkdir_p source || exit 1
78    %__install -m0644 %{SOURCE1} source/ || exit 1
79
80    %__tar Jxf %{SOURCE2} || exit 1
81    %__mv %{pkgname}-%{texlivever}-texmf/* . || exit 1
[2503]82    %__tar Jxf %{SOURCE3} || exit 1
[1533]83    %__mv %{pkgname}-%{texlivever}-extra/* . || exit 1
84
85    %__rm -r %{pkgname}-%{texlivever}-{texmf,extra} || exit 1
[2503]86
87    ## remove arch dependent binaries
[5208]88    #%__rm -f texmf-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386
[1533]89)
90
91%clean
92%__rm -rf %{buildroot}
93
94%files
95%defattr(-,root,root)
96%{texlivedir}-sources
97
98%changelog
[5208]99* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
100- updated to TeX Live 2011
101
[2503]102* Sat Nov 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
103- supported Vine Linux 5
104
[1533]105* Sun May 09 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
106- TeX Live 2009
Note: See TracBrowser for help on using the repository browser.