source: projects/specs/trunk/t/texlive-collection-formatsextra/texlive-collection-formatsextra-vl.spec @ 7770

Revision 7770, 7.6 KB checked in by munepi, 11 years ago (diff)

dropped all obsolete texlive-collection packages of TeX Live 2012

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-1:
3## tlpdb2rpmspec collection-formatsextra
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Additional formats
10Summary(ja): TeX Live: Additional formats
11Name: texlive-collection-formatsextra
12Version: 2013
13Release: 1%{?_dist_release}
14License: LPPL, GPLv2+, Knuth, Public Domain
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: edmac.doc.tar.xz
19Source1: edmac.source.tar.xz
20Source2: edmac.tar.xz
21Source3: eplain.doc.tar.xz
22Source4: eplain.source.tar.xz
23Source5: eplain.tar.xz
24Source6: mltex.doc.tar.xz
25Source7: mltex.tar.xz
26Source8: psizzl.doc.tar.xz
27Source9: psizzl.source.tar.xz
28Source10: psizzl.tar.xz
29Source11: startex.doc.tar.xz
30Source12: startex.source.tar.xz
31Source13: startex.tar.xz
32Source14: texsis.doc.tar.xz
33Source15: texsis.tar.xz
34
35Requires: texlive = %{version}
36Requires: texlive-collection-basic = %{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
58This package is a collection of Additional formats:
59Collected TeX `formats', i.e., large-scale macro packages
60designed to be dumped into .fmt files, other than most common
61ones, such as latex and context.
62
63This package contains the following CTAN packages:
64edmac: Typeset scholarly edition.
65eplain: Extended plain tex macros.
66mltex: The MLTeX system.
67psizzl: A TeX format for physics papers.
68startex: An XML-inspired format for student use.
69texsis: Plain TeX macros for Physicists.
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このパッケージは以下のようなパッケージ集です。
85Additional formats:
86Collected TeX `formats', i.e., large-scale macro packages
87designed to be dumped into .fmt files, other than most common
88ones, such as latex and context.
89
90このパッケージは以下の CTAN パッケージを含んでいます:
91edmac: Typeset scholarly edition.
92eplain: Extended plain tex macros.
93mltex: The MLTeX system.
94psizzl: A TeX format for physics papers.
95startex: An XML-inspired format for student use.
96texsis: Plain TeX macros for Physicists.
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
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}
122%__tar -xvf %{SOURCE15}
123
124%build
125
126%install
127[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
128
129%__mkdir_p %{buildroot}%{_datadir}
130
131## move texmf-dist to /usr/share/texmf-dist
132[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
133
134## move texmf to /usr/share/texmf
135[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
136
137## move tlpkg to /usr/share/tlpkg
138[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
139
140## move all non-arch binaries to /usr/bin
141[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
142
143## move others into /usr/share/texmf-dist
144%__mkdir_p %{buildroot}%{_tl_texmfdist}
145%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
146%__rm -rf * ||:
147
148
149## remove duplicated files between texlive and texlive-collection-*
150## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
151## remove unpacked files
152x=(
153texconfig/tcfmgr
154texconfig/tcfmgr.map
155web2c/fmtutil.cnf
156web2c/mktex.opt
157web2c/mktexdir
158web2c/mktexdir.opt
159web2c/mktexnam
160web2c/mktexnam.opt
161web2c/mktexupd
162web2c/texmf.cnf
163web2c/updmap.cfg
164web2c/updmap-hdr.cfg
165doc/chktex/ChkTeX.pdf
166install-tl
167)
168if [ -d %{buildroot}%{_tl_texmfdist} ]; then
169pushd %{buildroot}%{_tl_texmfdist}
170%__rm -f ${x[@]} ||:
171popd
172fi
173
174## Files list
175find %{buildroot} -type f -or -type l | \
176    %__sed -e "s|%{buildroot}||g" > filelist.full
177
178find %{buildroot}%{_tl_texmfdist} -type d | \
179    %__sed -e "s|^%{buildroot}|%dir |" \
180           -e "s|$|/|"             >> filelist.full
181
182## subpackages
183grep "/texmf-dist/doc/" filelist.full > filelist.doc
184cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
185%__mv -f filelist.tmp filelist.full
186
187%clean
188%__rm -rf %{buildroot}
189
190%post
191%_tl_touch_run texhash
192%_tl_touch_run mtxrun
193
194%_tl_touch_run fmtutil
195
196exit 0
197
198
199%postun
200if [ "$1" = 0 ]; then
201    %_tl_touch_run texhash
202
203fi
204
205exit 0
206
207%posttrans
208%{_tl_exec_texhash}
209%{_tl_exec_mtxrun}
210%{_tl_exec_updmap}
211%{_tl_exec_fmtutil}
212exit 0
213
214
215%files -f filelist.full
216%defattr(-,root,root,-)
217
218%files -f filelist.doc doc
219%defattr(-,root,root,-)
220
221%changelog
222* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
223- generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-formatsextra
224- TLNET 20130823
225
226* Fri Nov 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
227- generated by tlpdb2rpmspec 2012-1: tlpdb2rpmspec collection-formatsextra
228
229* Sat Dec  3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
230- generated by tlpdb2rpmspec 2011-2: tlpdb2rpmspec collection-formatsextra
231- set external dependencies (texlive-collection-binextra,
232  texlive-collection-fontutils)
233
234* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
235- generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-formatsextra
236
237* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
238- generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-formatsextra
239- make symlinks of core script utils (texlive-collection-binextra,
240  texlive-collection-context, texlive-collection-fontutils,
241  texlive-collection-langgreek, texlive-collection-langindic,
242  texlive-collection-latex, texlive-collection-latexextra,
243  texlive-collection-latexrecommended, texlive-collection-pictures,
244  texlive-collection-pstricks, texlive-collection-science)
245
246* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
247- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-formatsextra
248- improved %%post
249
250* Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
251- generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-formatsextra
252- removed arch dependent binaries (texlive-collection-latexextra)
253- fixed perl path
254- improved updmap process in %%post and %%postun
255
256* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
257- generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-formatsextra
Note: See TracBrowser for help on using the repository browser.