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

Revision 7148, 2.9 KB checked in by munepi, 12 years ago (diff)

upgrade to TeX Live 2012

RevLine 
[5208]1%global _use_internal_dependency_generator 0
2%global __find_provides %{nil}
3%global __find_requires %{nil}
[1533]4
[7148]5%define texlivesrcver   20120701
6%define texlivever      20120701
[5208]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
[7148]16Version: 2012
[5208]17Release: 1%{?_dist_release}
[1533]18License: distributable
19Group: Applications/Publishing
20URL: http://www.tug.org/texlive/
21
22## original TeX Live sources
[7148]23#Source1: ftp://tug.org/historic/systems/texlive/%{version}/%{pkgname}-%{texlivesrcver}-source.tar.xz
[5208]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
[7148]28#%{?nosrc:NoSource: 1}
[1533]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}-%{texlivever}-texmf.tar.xz,
47  %{pkgname}-%{texlivever}-extra.tar.xz
[5208]48on ftp://tug.org/historic/systems/texlive/%{version}/.
[1533]49
50This package is used to build texlive package and its related packages
51of Vine Linux.
52
53
54%description -l ja
55このパッケージは TeX Live のソース集です。
[5208]56ftp://tug.org/historic/systems/texlive/%{version}/ 上の
[1533]57  %{pkgname}-%{texlivever}-texmf.tar.xz,
58  %{pkgname}-%{texlivever}-extra.tar.xz
59を含んでいます。
60
61このパッケージは Vine Linux の texlive パッケージやその関連パッケージを
62ビルドするために使われます。
63
64
65%prep
66[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
67
68%build
69
70%install
71[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
72
73%__mkdir_p %{build_texlive_src}
74(cd %{build_texlive_src}
[7148]75    # %__mkdir_p source || exit 1
76    # %__install -m0644 %{SOURCE1} source/ || exit 1
[1533]77
78    %__tar Jxf %{SOURCE2} || exit 1
79    %__mv %{pkgname}-%{texlivever}-texmf/* . || exit 1
[2503]80    %__tar Jxf %{SOURCE3} || exit 1
[1533]81    %__mv %{pkgname}-%{texlivever}-extra/* . || exit 1
82
83    %__rm -r %{pkgname}-%{texlivever}-{texmf,extra} || exit 1
84)
85
86%clean
87%__rm -rf %{buildroot}
88
89%files
90%defattr(-,root,root)
91%{texlivedir}-sources
92
93%changelog
[7148]94* Sat Aug 11 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
95- updated to TeX Live 2012
96
[5208]97* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
98- updated to TeX Live 2011
99
[2503]100* Sat Nov 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
101- supported Vine Linux 5
102
[1533]103* Sun May 09 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
104- TeX Live 2009
Note: See TracBrowser for help on using the repository browser.