source: projects/specs/trunk/t/texlive-collection-omega/texlive-collection-omega-vl.spec @ 8476

Revision 8476, 6.5 KB checked in by munepi, 10 years ago (diff)

TeX Live 2014

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[8476]2## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
[1974]3## tlpdb2rpmspec collection-omega
[1533]4
[5207]5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
[7148]9Summary: TeX Live: Omega packages
10Summary(ja): TeX Live: Omega packages
[1533]11Name: texlive-collection-omega
[8476]12Version: 2014
13Release: 1%{?_dist_release}
[7770]14License: GPL+, LPPL
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[7770]18Source0: aleph.doc.tar.xz
19Source1: aleph.tar.xz
20Source2: antomega.doc.tar.xz
21Source3: antomega.source.tar.xz
22Source4: antomega.tar.xz
23Source5: lambda.tar.xz
24Source6: mxedruli.doc.tar.xz
25Source7: mxedruli.tar.xz
26Source8: omega.doc.tar.xz
27Source9: omega.tar.xz
28Source10: omegaware.doc.tar.xz
29Source11: omegaware.tar.xz
30Source12: otibet.doc.tar.xz
31Source13: otibet.source.tar.xz
32Source14: otibet.tar.xz
33
[1533]34Requires: texlive = %{version}
35Requires: texlive-collection-basic = %{version}
36Requires: texlive-collection-latex = %{version}
37
38Requires(post):         texlive = %{version}
39Requires(postun):       texlive = %{version}
40
41BuildArch:      noarch
42Buildroot:      %{_tmppath}/%{name}-%{version}-root
43
44Vendor:         Project Vine
45Distribution:   Vine Linux
46Packager:       munepi
47
48%description
49The TeX Live software distribution offers a complete TeX system for a
50variety of Unix, Macintosh, Windows and other platforms. It
51encompasses programs for editing, typesetting, previewing and printing
52of TeX documents in many different languages, and a large collection
53of TeX macros and font libraries.
54
55The distribution includes extensive general documentation about TeX,
56as well as the documentation for the included software packages.
57
[7148]58This package is a collection of Omega packages:
[1533]59Omega, a 16-bit extended TeX by John Plaice and Yannis
[7770]60Haralambous, now updated to Aleph.
[1533]61
62This package contains the following CTAN packages:
[7770]63aleph: Extended TeX.
[1533]64antomega: Alternative language support for Omega/Lambda.
65lambda:
[7770]66mxedruli: A pair of fonts for different Georgian alphabets.
[1533]67omega: A wide-character-set extension of TeX.
68omegaware:
[7770]69otibet:
[1533]70
71%description -l ja
72TeX Live ソフトウェアディストリビューションは、
73さまざまな Unix, Macintosh, Windows、および
74他のプラットホームに対して完全な TeX システムを提供します。
75多くの異なった言語を含む TeX ドキュメントの
76編集、組版、閲覧、印刷するためのプログラム、
77そして、TeX マクロやフォントライブラリの大きなコレクションを
78同梱しています。
79
80このディストリビューションは
81同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
82TeX に関するたくさんの一般的なドキュメントを含んでいます。
83
84このパッケージは以下のようなパッケージ集です。
[7148]85Omega packages:
[1533]86Omega, a 16-bit extended TeX by John Plaice and Yannis
[7770]87Haralambous, now updated to Aleph.
[1533]88
89このパッケージは以下の CTAN パッケージを含んでいます:
[7770]90aleph: Extended TeX.
[1533]91antomega: Alternative language support for Omega/Lambda.
92lambda:
[7770]93mxedruli: A pair of fonts for different Georgian alphabets.
[1533]94omega: A wide-character-set extension of TeX.
95omegaware:
[7770]96otibet:
[1533]97
98%package doc
99Summary: TeX Live: Documentation files of %{name}
100Group: Applications/Publishing
101Requires: %{name} = %{version}-%{release}
102
103%description doc
104This package contains documentation files of %{name}.
105
106%prep
[7770]107%setup -c -n %{name}-%{version}
108%__tar -xvf %{SOURCE1}
109%__tar -xvf %{SOURCE2}
110%__tar -xvf %{SOURCE3}
111%__tar -xvf %{SOURCE4}
112%__tar -xvf %{SOURCE5}
113%__tar -xvf %{SOURCE6}
114%__tar -xvf %{SOURCE7}
115%__tar -xvf %{SOURCE8}
116%__tar -xvf %{SOURCE9}
117%__tar -xvf %{SOURCE10}
118%__tar -xvf %{SOURCE11}
119%__tar -xvf %{SOURCE12}
120%__tar -xvf %{SOURCE13}
121%__tar -xvf %{SOURCE14}
[1533]122
123%build
124
125%install
126[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
127
[7770]128%__mkdir_p %{buildroot}%{_datadir}
[1533]129
[7770]130## move texmf-dist to /usr/share/texmf-dist
131[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]132
[7770]133## move texmf to /usr/share/texmf
134[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]135
[7770]136## move tlpkg to /usr/share/tlpkg
137[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
138
139## move all non-arch binaries to /usr/bin
140[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
141
142## move others into /usr/share/texmf-dist
143%__mkdir_p %{buildroot}%{_tl_texmfdist}
144%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
145%__rm -rf * ||:
146
147
148## remove duplicated files between texlive and texlive-collection-*
149## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
150## remove unpacked files
151x=(
[8476]152# scripts/texlive/tlmgr.pl
153# scripts/texlive/updmap.pl
154# scripts/fontools/autoinst
155# scripts/glossaries/makeglossaries
156# scripts/m-tx/m-tx.lua
157# scripts/musixtex/musixtex.lua
158# scripts/pmx/pmx2pdf.lua
159# scripts/latexmk/latexmk.pl
160# scripts/jfontmaps/kanji-config-updmap.pl
161# scripts/jfontmaps/kanji-fontmap-creator.pl
162# scripts/latexpand/latexpand
163# scripts/epstopdf/epstopdf.pl
164# scripts/convbkmk/convbkmk.rb
165# scripts/jfontmaps/kanji-config-updmap-sys.sh
166# scripts/luaotfload/luaotfload-tool.lua
167# texconfig/tcfmgr
168# texconfig/tcfmgr.map
169# web2c/fmtutil.cnf
170# web2c/mktex.opt
171# web2c/mktexdir
172# web2c/mktexdir.opt
173# web2c/mktexnam
174# web2c/mktexnam.opt
175# web2c/mktexupd
176# web2c/texmf.cnf
177# web2c/updmap.cfg
178# web2c/updmap-hdr.cfg
179# doc/chktex/ChkTeX.pdf
[7770]180install-tl
181)
182if [ -d %{buildroot}%{_tl_texmfdist} ]; then
183pushd %{buildroot}%{_tl_texmfdist}
184%__rm -f ${x[@]} ||:
[5207]185popd
[7770]186fi
187
[1533]188## Files list
189find %{buildroot} -type f -or -type l | \
190    %__sed -e "s|%{buildroot}||g" > filelist.full
191
[7770]192find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]193    %__sed -e "s|^%{buildroot}|%dir |" \
194           -e "s|$|/|"             >> filelist.full
195
196## subpackages
197grep "/texmf-dist/doc/" filelist.full > filelist.doc
198cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
199%__mv -f filelist.tmp filelist.full
200
201%clean
202%__rm -rf %{buildroot}
203
204%post
[7770]205%_tl_touch_run texhash
206%_tl_touch_run mtxrun
[1533]207
[7770]208[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]209
[7770]210    %_tl_enable_map Map mxedruli.map
211    %_tl_enable_map Map omega.map
[2505]212
[7770]213%_tl_touch_run fmtutil
[2505]214
[1533]215exit 0
216
217
218%postun
219if [ "$1" = 0 ]; then
[7770]220    %_tl_touch_run texhash
[1533]221
[7770]222    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]223
[7770]224    %_tl_disable_map mxedruli.map
225    %_tl_disable_map omega.map
[1533]226
227fi
228
229exit 0
230
[7148]231%posttrans
[7770]232%{_tl_exec_texhash}
233%{_tl_exec_mtxrun}
234%{_tl_exec_updmap}
235%{_tl_exec_fmtutil}
[7148]236exit 0
237
238
[1533]239%files -f filelist.full
[5207]240%defattr(-,root,root,-)
[1533]241
242%files -f filelist.doc doc
[5207]243%defattr(-,root,root,-)
[1533]244
245%changelog
[8476]246* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
247- TLNET 20140524
Note: See TracBrowser for help on using the repository browser.