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

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

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

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