source: projects/specs/trunk/t/texlive-collection-langafrican/texlive-collection-langafrican-vl.spec @ 10269

Revision 10269, 10.6 KB checked in by munepi, 8 years ago (diff)

upgrade to TeX Live 2016

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