source: projects/specs/trunk/t/texlive-collection-genericrecommended/texlive-collection-genericrecommended-vl.spec @ 9950

Revision 9950, 9.3 KB checked in by munepi, 8 years ago (diff)

synced tlnet to 20160110 (TeX Live 2016/dev)

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-3:
3## tlpdb2rpmspec collection-genericrecommended
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Generic recommended packages
10Summary(ja): TeX Live: Generic recommended packages
11Name: texlive-collection-genericrecommended
12Version: 2015
13Release: 3%{?_dist_release}
14License: Public Domain, GPL+, Freely redistributable without restriction, LPPL
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: apnum.doc.tar.xz
19Source1: apnum.tar.xz
20Source2: epsf.doc.tar.xz
21Source3: epsf.tar.xz
22Source4: fontname.doc.tar.xz
23Source5: fontname.tar.xz
24Source6: genmisc.tar.xz
25Source7: kastrup.doc.tar.xz
26Source8: kastrup.source.tar.xz
27Source9: kastrup.tar.xz
28Source10: multido.doc.tar.xz
29Source11: multido.source.tar.xz
30Source12: multido.tar.xz
31Source13: path.doc.tar.xz
32Source14: path.tar.xz
33Source15: tex-ps.doc.tar.xz
34Source16: tex-ps.tar.xz
35Source17: ulem.doc.tar.xz
36Source18: ulem.tar.xz
37
38Requires: texlive = %{version}
39Requires: texlive-collection-basic = %{version}
40
41Requires(post):         texlive = %{version}
42Requires(postun):       texlive = %{version}
43
44BuildArch:      noarch
45Buildroot:      %{_tmppath}/%{name}-%{version}-root
46
47Vendor:         Project Vine
48Distribution:   Vine Linux
49Packager:       munepi
50
51%description
52The TeX Live software distribution offers a complete TeX system for a
53variety of Unix, Macintosh, Windows and other platforms. It
54encompasses programs for editing, typesetting, previewing and printing
55of TeX documents in many different languages, and a large collection
56of TeX macros and font libraries.
57
58The distribution includes extensive general documentation about TeX,
59as well as the documentation for the included software packages.
60
61This package is a collection of Generic recommended packages:
62Recommended packages that work with multiple formats.
63
64This package contains the following CTAN packages:
65apnum: Arbitrary precision numbers implemented by TeX macros
66epsf: Simple macros for EPS inclusion.
67fontname: Scheme for naming fonts in TeX
68genmisc:
69kastrup: Convert numbers into binary, octal and hexadecimal.
70multido: A loop facility for Generic TeX.
71path: Typeset paths, making them breakable.
72tex-ps: TeX to PostScript generic macros and add-ons.
73ulem: Package for underlining.
74
75%description -l ja
76TeX Live ソフトウェアディストリビューションは、
77さまざまな Unix, Macintosh, Windows、および
78他のプラットホームに対して完全な TeX システムを提供します。
79多くの異なった言語を含む TeX ドキュメントの
80編集、組版、閲覧、印刷するためのプログラム、
81そして、TeX マクロやフォントライブラリの大きなコレクションを
82同梱しています。
83
84このディストリビューションは
85同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
86TeX に関するたくさんの一般的なドキュメントを含んでいます。
87
88このパッケージは以下のようなパッケージ集です。
89Generic recommended packages:
90Recommended packages that work with multiple formats.
91
92このパッケージは以下の CTAN パッケージを含んでいます:
93apnum: Arbitrary precision numbers implemented by TeX macros
94epsf: Simple macros for EPS inclusion.
95fontname: Scheme for naming fonts in TeX
96genmisc:
97kastrup: Convert numbers into binary, octal and hexadecimal.
98multido: A loop facility for Generic TeX.
99path: Typeset paths, making them breakable.
100tex-ps: TeX to PostScript generic macros and add-ons.
101ulem: Package for underlining.
102
103%package doc
104Summary: TeX Live: Documentation files of %{name}
105Group: Applications/Publishing
106Requires: %{name} = %{version}-%{release}
107
108%description doc
109This package contains documentation files of %{name}.
110
111%prep
112%setup -c -n %{name}-%{version}
113%__tar -xvf %{SOURCE1}
114%__tar -xvf %{SOURCE2}
115%__tar -xvf %{SOURCE3}
116%__tar -xvf %{SOURCE4}
117%__tar -xvf %{SOURCE5}
118%__tar -xvf %{SOURCE6}
119%__tar -xvf %{SOURCE7}
120%__tar -xvf %{SOURCE8}
121%__tar -xvf %{SOURCE9}
122%__tar -xvf %{SOURCE10}
123%__tar -xvf %{SOURCE11}
124%__tar -xvf %{SOURCE12}
125%__tar -xvf %{SOURCE13}
126%__tar -xvf %{SOURCE14}
127%__tar -xvf %{SOURCE15}
128%__tar -xvf %{SOURCE16}
129%__tar -xvf %{SOURCE17}
130%__tar -xvf %{SOURCE18}
131
132%build
133
134%install
135[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
136
137%__mkdir_p %{buildroot}%{_datadir}
138
139## move texmf-dist to /usr/share/texmf-dist
140[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
141
142## move texmf to /usr/share/texmf
143[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
144
145## move tlpkg to /usr/share/tlpkg
146[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
147
148## move all non-arch binaries to /usr/bin
149[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
150
151## move others into /usr/share/texmf-dist
152%__mkdir_p %{buildroot}%{_tl_texmfdist}
153%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
154%__rm -rf * ||:
155
156
157## remove duplicated files between texlive and texlive-collection-*
158## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
159## remove unpacked files
160x=(
161scripts/context/stubs/unix/mtxrun
162scripts/ptex2pdf/ptex2pdf.lua
163scripts/texlive/fmtutil.pl
164scripts/texlive/texconfig-dialog.sh
165scripts/texlive/texconfig-sys.sh
166scripts/texlive/texconfig.sh
167scripts/texlive/texlinks.sh
168scripts/texlive/tlmgr.pl
169scripts/texlive/updmap.pl
170texconfig/tcfmgr
171web2c/fmtutil.cnf
172web2c/mktex.opt
173web2c/mktexdir
174web2c/mktexdir.opt
175web2c/mktexnam
176web2c/mktexnam.opt
177web2c/mktexupd
178web2c/texmf.cnf
179web2c/updmap-hdr.cfg
180web2c/updmap.cfg
181install-tl
182)
183if [ -d %{buildroot}%{_tl_texmfdist} ]; then
184pushd %{buildroot}%{_tl_texmfdist}
185%__rm -f ${x[@]} ||:
186popd
187fi
188
189## Files list
190find %{buildroot} -type f -or -type l | \
191    %__sed -e "s|%{buildroot}||g" > filelist.full
192
193find %{buildroot}%{_tl_texmfdist} -type d | \
194    %__sed -e "s|^%{buildroot}|%dir |" \
195           -e "s|$|/|"             >> filelist.full
196
197## subpackages
198grep "/texmf-dist/doc/" filelist.full > filelist.doc
199cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
200%__mv -f filelist.tmp filelist.full
201
202%clean
203%__rm -rf %{buildroot}
204
205%post
206%_tl_touch_run texhash
207%_tl_touch_run mtxrun
208
209exit 0
210
211
212%postun
213if [ "$1" = 0 ]; then
214    %_tl_touch_run texhash
215
216fi
217
218exit 0
219
220%posttrans
221%{_tl_exec_texhash}
222%{_tl_exec_mtxrun}
223%{_tl_exec_updmap}
224%{_tl_exec_fmtutil}
225exit 0
226
227
228%files -f filelist.full
229%defattr(-,root,root,-)
230
231%files -f filelist.doc doc
232%defattr(-,root,root,-)
233
234%changelog
235* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
236- TeX Live 2016/dev
237- synced tlnet to 20160110 (TeX Live 2016/dev)
238
239* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
240- TeX Live 2015/pretest
241- synced tlnet to 20150522 (TeX Live 2015/pretest)
242
243* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
244- TeX Live 2015/pretest
245- synced tlnet to 20150426 (TeX Live 2015/pretest)
246
247* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
248- synced tlnet to 20150401
249
250* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
251- synced tlnet to 20141028
252
253* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
254- synced tlnet to 20140706
255
256* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
257- upgraded to TeX Live 2014
258
259* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
260- synced tlnet to 20140406
261
262* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
263- synced tlnet to 20131218
264
265* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
266- synced tlnet to 20131101
267
268* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
269- synced tlnet to 20131002
270
271* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
272- synced tlnet to 20130919
273
274* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
275- upgraded to TeX Live 2013
276  - used tlnet archives
277  - synced tlnet to 20130823
278- added macros.texlive
279
280* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
281- updated to TeX Live 2012
282
283* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
284- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
285  - set external dependencies (texlive-collection-binextra,
286    texlive-collection-fontutils)
287
288* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
289- updated to TeX Live 2011
290- merged texlive-vtlpkg-2009-osx.patch from OSXWS
291- added %doc README (%files)
292
293* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
294- applied texlive-vtlpkg-2009-vine.patch
295  - remove arch dependent binaries
296- updated tlpdb2rpmspec.sh.in:
297  - improved tlpdb4a()
298  - make symlinks of core script utils (texlive-collection-binextra,
299    texlive-collection-context, texlive-collection-fontutils,
300    texlive-collection-langgreek, texlive-collection-langindic,
301    texlive-collection-latex, texlive-collection-latexextra,
302    texlive-collection-latexrecommended, texlive-collection-pictures,
303    texlive-collection-pstricks, texlive-collection-science)
304
305* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
306- updated tlpdb2rpmspec.sh.in:
307  - improved %post
308
309* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
310- updated tlpdb2rpmspec.sh.in:
311  - removed arch dependent binaries (texlive-collection-latexextra)
312  - improved updmap process in %post and %postun
313  - fixed perl path
314
315* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
316- initial build
Note: See TracBrowser for help on using the repository browser.