source: projects/specs/trunk/t/texlive-collection-langarabic/texlive-collection-langarabic-vl.spec @ 9955

Revision 9955, 12.7 KB checked in by munepi, 8 years ago (diff)

reverted to texlive-20150521-source (TeX Live 2015)
remove duplicated files from texlive-collection-*

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