source: projects/specs/trunk/t/texlive-collection-langlithuanian/texlive-collection-langlithuanian-vl.spec @ 7148

Revision 7148, 19.8 KB checked in by munepi, 12 years ago (diff)

upgrade to TeX Live 2012

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[7148]2## NOTE: This spec file is generated by tlpdb2rpmspec 2012-1:
[1974]3## tlpdb2rpmspec collection-langlithuanian
[1533]4
[5207]5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
[7148]9%define aliasttfdir     %{texmfsysvar}/fonts/truetype/vine
10%define texmfsysconfig  %{_sysconfdir}/texmf
11%define texmfsysvar     %{_var}/lib/texmf
12%define vartexfonts     %{texmfsysvar}/fonts
[1533]13
14%define tex_destdir     %{_datadir}
15%define texmf           %{tex_destdir}/texmf
16%define texlive_src     %{tex_destdir}/texlive-sources
17%define build_tex_destdir       %{buildroot}%{tex_destdir}
18%define build_texmf     %{buildroot}%{texmf}
19
[7148]20## use some macros for %post, %posttrans
21%define touch_run(%1)   %{expand:( %__mkdir_p /var/run/texlive; touch /var/run/texlive/run-%1; )
22}
23%define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && \\\
24    %{_sbindir}/update-defaultfont 2> /dev/null
25%define exec_texhash    [ -e /var/run/texlive/run-texhash ] && ( \\\
26    [ -x %{_bindir}/texhash ] && \\\
27    echo -n "    "; echo -n "Running texhash... "; \\\
28    %{_bindir}/texhash 2> /dev/null; \\\
29    echo "done." ) && %__rm -f /var/run/texlive/run-texhash;
30%define exec_mtxrun     [ -e /var/run/texlive/run-mtxrun ] && ( \\\
31    [ -x %{_bindir}/mtxrun ] && \\\
32    echo -n "    "; echo -n "Running mtxrun... "; \\\
33    export TEXMF=%{texmf}-dist TEXMFCNF=%{texmf}/web2c TEXMFCACHE=%{texmfsysvar}; \\\
34    %{_bindir}/mtxrun --generate &> /dev/null; \\\
35    echo "done." ) && %__rm -f /var/run/texlive/run-mtxrun;
36%define exec_fmtutil    [ -e /var/run/texlive/run-fmtutil ] && ( \\\
37    [ -x %{_bindir}/fmtutil-sys ] && \\\
38    echo -n "    "; echo -n "Running fmtutil-sys... "; \\\
39    %{_bindir}/fmtutil-sys --all &> /dev/null; \\\
40    echo "done." ) && %__rm -f /var/run/texlive/run-fmtutil;
41%define exec_updmap     [ -e /var/run/texlive/run-updmap ] && ( \\\
42    [ -x %{_bindir}/updmap-sys ] && \\\
43    echo -n "    "; echo -n "Running updmap-sys... "; \\\
44    %{_bindir}/updmap-sys --nohash --quiet &> /dev/null; \\\
45    echo "done." ) && %__rm -f /var/run/texlive/run-updmap;
[1533]46
47Summary: TeX Live: Lithuanian
48Summary(ja): TeX Live: Lithuanian
49Name: texlive-collection-langlithuanian
[7148]50Version: 2012
[5207]51Release: 1%{?_dist_release}
[1533]52License: LPPL
53Group: Applications/Publishing
54URL:http://www.tug.org/texlive/
55
56Requires: texlive = %{version}
57Requires: texlive-collection-basic = %{version}
58
59Requires(post):         texlive = %{version}
60Requires(postun):       texlive = %{version}
[7148]61#BuildRequires:         texlive-sources = %{version}
[1533]62
63BuildArch:      noarch
64Buildroot:      %{_tmppath}/%{name}-%{version}-root
65
66Vendor:         Project Vine
67Distribution:   Vine Linux
68Packager:       munepi
69
70%description
71The TeX Live software distribution offers a complete TeX system for a
72variety of Unix, Macintosh, Windows and other platforms. It
73encompasses programs for editing, typesetting, previewing and printing
74of TeX documents in many different languages, and a large collection
75of TeX macros and font libraries.
76
77The distribution includes extensive general documentation about TeX,
78as well as the documentation for the included software packages.
79
80This package is a collection of Lithuanian:
81Support for typesetting Lithuanian.
82
83This package contains the following CTAN packages:
84lithuanian: Lithuanian language support.
[5207]85hyphen-lithuanian: Lithuanian hyphenation patterns.
[1533]86
87%description -l ja
88TeX Live ソフトウェアディストリビューションは、
89さまざまな Unix, Macintosh, Windows、および
90他のプラットホームに対して完全な TeX システムを提供します。
91多くの異なった言語を含む TeX ドキュメントの
92編集、組版、閲覧、印刷するためのプログラム、
93そして、TeX マクロやフォントライブラリの大きなコレクションを
94同梱しています。
95
96このディストリビューションは
97同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
98TeX に関するたくさんの一般的なドキュメントを含んでいます。
99
100このパッケージは以下のようなパッケージ集です。
101Lithuanian:
102Support for typesetting Lithuanian.
103
104このパッケージは以下の CTAN パッケージを含んでいます:
105lithuanian: Lithuanian language support.
[5207]106hyphen-lithuanian: Lithuanian hyphenation patterns.
[1533]107
108%package doc
109Summary: TeX Live: Documentation files of %{name}
110Group: Applications/Publishing
111Requires: %{name} = %{version}-%{release}
112
113%description doc
114This package contains documentation files of %{name}.
115
116%prep
117
118%build
119
120%install
121[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
122
123PREF=%{buildroot}%{tex_destdir}
124
125manifest=(
126texmf-dist/doc/latex/lithuanian/COPYING
127texmf-dist/doc/latex/lithuanian/ChangeLog
128texmf-dist/doc/latex/lithuanian/Copyright
129texmf-dist/doc/latex/lithuanian/README.lithuanian
130texmf-dist/doc/latex/lithuanian/latin7lt.tex
131texmf-dist/doc/latex/lithuanian/latin7x.etx
132texmf-dist/doc/latex/lithuanian/latin7x.mtx
133texmf-dist/doc/latex/lithuanian/latin7x.pdf
134texmf-dist/doc/latex/lithuanian/makeLT.html
135texmf-dist/doc/latex/lithuanian/makelt.tex
136texmf-dist/doc/latex/lithuanian/makeltmap.tex
137texmf-dist/doc/latex/lithuanian/testlt-urw.tex
138texmf-dist/doc/latex/lithuanian/testlt.tex
139texmf-dist/fonts/enc/dvips/lithuanian/latin7x.enc
140texmf-dist/fonts/map/dvips/lithuanian/l7x-urwvn.map
141texmf-dist/fonts/tfm/public/lithuanian/l7x-uagd.tfm
142texmf-dist/fonts/tfm/public/lithuanian/l7x-uagdo.tfm
143texmf-dist/fonts/tfm/public/lithuanian/l7x-uagk.tfm
144texmf-dist/fonts/tfm/public/lithuanian/l7x-uagko.tfm
145texmf-dist/fonts/tfm/public/lithuanian/l7x-ubkd.tfm
146texmf-dist/fonts/tfm/public/lithuanian/l7x-ubkdi.tfm
147texmf-dist/fonts/tfm/public/lithuanian/l7x-ubkl.tfm
148texmf-dist/fonts/tfm/public/lithuanian/l7x-ubkli.tfm
149texmf-dist/fonts/tfm/public/lithuanian/l7x-ucrb.tfm
150texmf-dist/fonts/tfm/public/lithuanian/l7x-ucrbo.tfm
151texmf-dist/fonts/tfm/public/lithuanian/l7x-ucrr.tfm
152texmf-dist/fonts/tfm/public/lithuanian/l7x-ucrro.tfm
153texmf-dist/fonts/tfm/public/lithuanian/l7x-uhvb.tfm
154texmf-dist/fonts/tfm/public/lithuanian/l7x-uhvbc.tfm
155texmf-dist/fonts/tfm/public/lithuanian/l7x-uhvbo.tfm
156texmf-dist/fonts/tfm/public/lithuanian/l7x-uhvboc.tfm
157texmf-dist/fonts/tfm/public/lithuanian/l7x-uhvr.tfm
158texmf-dist/fonts/tfm/public/lithuanian/l7x-uhvrc.tfm
159texmf-dist/fonts/tfm/public/lithuanian/l7x-uhvro.tfm
160texmf-dist/fonts/tfm/public/lithuanian/l7x-uhvroc.tfm
161texmf-dist/fonts/tfm/public/lithuanian/l7x-uncb.tfm
162texmf-dist/fonts/tfm/public/lithuanian/l7x-uncbi.tfm
163texmf-dist/fonts/tfm/public/lithuanian/l7x-uncr.tfm
164texmf-dist/fonts/tfm/public/lithuanian/l7x-uncri.tfm
165texmf-dist/fonts/tfm/public/lithuanian/l7x-uplb.tfm
166texmf-dist/fonts/tfm/public/lithuanian/l7x-uplbi.tfm
167texmf-dist/fonts/tfm/public/lithuanian/l7x-uplr.tfm
168texmf-dist/fonts/tfm/public/lithuanian/l7x-uplri.tfm
169texmf-dist/fonts/tfm/public/lithuanian/l7x-utmb.tfm
170texmf-dist/fonts/tfm/public/lithuanian/l7x-utmbi.tfm
171texmf-dist/fonts/tfm/public/lithuanian/l7x-utmr.tfm
172texmf-dist/fonts/tfm/public/lithuanian/l7x-utmri.tfm
173texmf-dist/fonts/tfm/public/lithuanian/l7x-uzcmi.tfm
174texmf-dist/tex/latex/lithuanian/cp772.def
175texmf-dist/tex/latex/lithuanian/cp774.def
176texmf-dist/tex/latex/lithuanian/cp775.def
177texmf-dist/tex/latex/lithuanian/cpKBL.def
178texmf-dist/tex/latex/lithuanian/cpRIM.def
179texmf-dist/tex/latex/lithuanian/l7xenc.def
[5207]180texmf-dist/tex/latex/lithuanian/l7xenc.dfu
[1533]181texmf-dist/tex/latex/lithuanian/l7xenc.sty
182texmf-dist/tex/latex/lithuanian/l7xuag.fd
183texmf-dist/tex/latex/lithuanian/l7xubk.fd
184texmf-dist/tex/latex/lithuanian/l7xucr.fd
185texmf-dist/tex/latex/lithuanian/l7xuhv.fd
186texmf-dist/tex/latex/lithuanian/l7xunc.fd
187texmf-dist/tex/latex/lithuanian/l7xupl.fd
188texmf-dist/tex/latex/lithuanian/l7xutm.fd
189texmf-dist/tex/latex/lithuanian/l7xuzc.fd
190texmf-dist/tex/latex/lithuanian/latin7.def
191texmf-dist/tex/latex/lithuanian/lithuanian.ldf
192texmf-dist/tex/latex/lithuanian/lithuanian.sty
193)
194
195%__mkdir_p ${PREF}/texmf-dist
196for i in "${manifest[@]}"; do
[5207]197    %__install -m $(stat -c %a %{texlive_src}/$i) -p -D %{texlive_src}/$i ${PREF}/$i
[1533]198done
[5207]199## make symlinks of core script utils
200mk_symlinks=(
201texlive-collection-bibtexextra,/usr/bin/bibexport,/usr/share/texmf-dist/scripts/bibexport/bibexport.sh
[7148]202texlive-collection-bibtexextra,/usr/bin/listbib,/usr/share/texmf-dist/scripts/listbib/listbib
203texlive-collection-bibtexextra,/usr/bin/urlbst,/usr/share/texmf-dist/scripts/urlbst/urlbst
[5207]204texlive-collection-binextra,/usr/bin/arlatex,/usr/share/texmf-dist/scripts/bundledoc/arlatex
205texlive-collection-binextra,/usr/bin/bundledoc,/usr/share/texmf-dist/scripts/bundledoc/bundledoc
[7148]206texlive-collection-binextra,/usr/bin/ctanify,/usr/share/texmf-dist/scripts/ctanify/ctanify
207texlive-collection-binextra,/usr/bin/ctanupload,/usr/share/texmf-dist/scripts/ctanupload/ctanupload.pl
[5207]208texlive-collection-binextra,/usr/bin/de-macro,/usr/share/texmf-dist/scripts/de-macro/de-macro
209texlive-collection-binextra,/usr/bin/dviasm,/usr/share/texmf-dist/scripts/dviasm/dviasm.py
210texlive-collection-binextra,/usr/bin/findhyph,/usr/share/texmf-dist/scripts/findhyph/findhyph
211texlive-collection-binextra,/usr/bin/fragmaster,/usr/share/texmf-dist/scripts/fragmaster/fragmaster.pl
212texlive-collection-binextra,/usr/bin/installfont-tl,/usr/share/texmf-dist/scripts/installfont/installfont-tl
213texlive-collection-binextra,/usr/bin/latex2man,/usr/share/texmf-dist/scripts/latex2man/latex2man
214texlive-collection-binextra,/usr/bin/latexdiff,/usr/share/texmf-dist/scripts/latexdiff/latexdiff.pl
215texlive-collection-binextra,/usr/bin/latexdiff-vc,/usr/share/texmf-dist/scripts/latexdiff/latexdiff-vc.pl
[7148]216texlive-collection-binextra,/usr/bin/latexfileversion,/usr/share/texmf-dist/scripts/latexfileversion/latexfileversion
[5207]217texlive-collection-binextra,/usr/bin/latexmk,/usr/share/texmf-dist/scripts/latexmk/latexmk.pl
218texlive-collection-binextra,/usr/bin/latexrevise,/usr/share/texmf-dist/scripts/latexdiff/latexrevise.pl
219texlive-collection-binextra,/usr/bin/listings-ext.sh,/usr/share/texmf-dist/scripts/listings-ext/listings-ext.sh
[7148]220texlive-collection-binextra,/usr/bin/match_parens,/usr/share/texmf-dist/scripts/match_parens/match_parens
[5207]221texlive-collection-binextra,/usr/bin/mkjobtexmf,/usr/share/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl
222texlive-collection-binextra,/usr/bin/pdf180,/usr/share/texmf-dist/scripts/pdfjam/pdf180
223texlive-collection-binextra,/usr/bin/pdf270,/usr/share/texmf-dist/scripts/pdfjam/pdf270
224texlive-collection-binextra,/usr/bin/pdf90,/usr/share/texmf-dist/scripts/pdfjam/pdf90
225texlive-collection-binextra,/usr/bin/pdfbook,/usr/share/texmf-dist/scripts/pdfjam/pdfbook
226texlive-collection-binextra,/usr/bin/pdfcrop,/usr/share/texmf-dist/scripts/pdfcrop/pdfcrop.pl
227texlive-collection-binextra,/usr/bin/pdfflip,/usr/share/texmf-dist/scripts/pdfjam/pdfflip
228texlive-collection-binextra,/usr/bin/pdfjam,/usr/share/texmf-dist/scripts/pdfjam/pdfjam
229texlive-collection-binextra,/usr/bin/pdfjam-pocketmod,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-pocketmod
230texlive-collection-binextra,/usr/bin/pdfjam-slides3up,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-slides3up
231texlive-collection-binextra,/usr/bin/pdfjam-slides6up,/usr/share/texmf-dist/scripts/pdfjam/pdfjam-slides6up
232texlive-collection-binextra,/usr/bin/pdfjoin,/usr/share/texmf-dist/scripts/pdfjam/pdfjoin
233texlive-collection-binextra,/usr/bin/pdfnup,/usr/share/texmf-dist/scripts/pdfjam/pdfnup
234texlive-collection-binextra,/usr/bin/pdfpun,/usr/share/texmf-dist/scripts/pdfjam/pdfpun
235texlive-collection-binextra,/usr/bin/pkfix,/usr/share/texmf-dist/scripts/pkfix/pkfix.pl
236texlive-collection-binextra,/usr/bin/pkfix-helper,/usr/share/texmf-dist/scripts/pkfix-helper/pkfix-helper
237texlive-collection-binextra,/usr/bin/purifyeps,/usr/share/texmf-dist/scripts/purifyeps/purifyeps
238texlive-collection-binextra,/usr/bin/sty2dtx,/usr/share/texmf-dist/scripts/sty2dtx/sty2dtx.pl
239texlive-collection-binextra,/usr/bin/texcount,/usr/share/texmf-dist/scripts/texcount/texcount.pl
240texlive-collection-binextra,/usr/bin/texdef,/usr/share/texmf-dist/scripts/texdef/texdef.pl
241texlive-collection-binextra,/usr/bin/texdiff,/usr/share/texmf-dist/scripts/texdiff/texdiff
242texlive-collection-binextra,/usr/bin/texdirflatten,/usr/share/texmf-dist/scripts/texdirflatten/texdirflatten
[7148]243texlive-collection-binextra,/usr/bin/texliveonfly,/usr/share/texmf-dist/scripts/texliveonfly/texliveonfly.py
[5207]244texlive-collection-binextra,/usr/bin/texloganalyser,/usr/share/texmf-dist/scripts/texloganalyser/texloganalyser
[7148]245texlive-collection-binextra,/usr/bin/typeoutfileinfo,/usr/share/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh
[5207]246texlive-collection-fontutils,/usr/bin/afm2afm,/usr/share/texmf-dist/scripts/fontools/afm2afm
247texlive-collection-fontutils,/usr/bin/autoinst,/usr/share/texmf-dist/scripts/fontools/autoinst
[7148]248texlive-collection-fontutils,/usr/bin/dosepsbin,/usr/share/texmf-dist/scripts/dosepsbin/dosepsbin.pl
[5207]249texlive-collection-fontutils,/usr/bin/epstopdf,/usr/share/texmf-dist/scripts/epstopdf/epstopdf.pl
[7148]250texlive-collection-fontutils,/usr/bin/mf2pt1,/usr/share/texmf-dist/scripts/mf2pt1/mf2pt1.pl
[5207]251texlive-collection-fontutils,/usr/bin/mkt1font,/usr/share/texmf-dist/scripts/accfonts/mkt1font
252texlive-collection-fontutils,/usr/bin/ot2kpx,/usr/share/texmf-dist/scripts/fontools/ot2kpx
253texlive-collection-fontutils,/usr/bin/vpl2ovp,/usr/share/texmf-dist/scripts/accfonts/vpl2ovp
254texlive-collection-fontutils,/usr/bin/vpl2vpl,/usr/share/texmf-dist/scripts/accfonts/vpl2vpl
255texlive-collection-htmlxml,/usr/bin/ht,/usr/share/texmf-dist/scripts/tex4ht/ht.sh
256texlive-collection-htmlxml,/usr/bin/htcontext,/usr/share/texmf-dist/scripts/tex4ht/htcontext.sh
257texlive-collection-htmlxml,/usr/bin/htlatex,/usr/share/texmf-dist/scripts/tex4ht/htlatex.sh
258texlive-collection-htmlxml,/usr/bin/htmex,/usr/share/texmf-dist/scripts/tex4ht/htmex.sh
259texlive-collection-htmlxml,/usr/bin/httex,/usr/share/texmf-dist/scripts/tex4ht/httex.sh
260texlive-collection-htmlxml,/usr/bin/httexi,/usr/share/texmf-dist/scripts/tex4ht/httexi.sh
261texlive-collection-htmlxml,/usr/bin/htxelatex,/usr/share/texmf-dist/scripts/tex4ht/htxelatex.sh
262texlive-collection-htmlxml,/usr/bin/htxetex,/usr/share/texmf-dist/scripts/tex4ht/htxetex.sh
263texlive-collection-htmlxml,/usr/bin/mk4ht,/usr/share/texmf-dist/scripts/tex4ht/mk4ht.pl
[7148]264texlive-collection-langcjk,/usr/bin/convbkmk,/usr/share/texmf-dist/scripts/uptex/convbkmk.rb
265texlive-collection-langcjk,/usr/bin/updmap-setup-kanji,/usr/share/texmf-dist/scripts/jfontmaps/updmap-setup-kanji.pl
[5207]266texlive-collection-langgreek,/usr/bin/mkgrkindex,/usr/share/texmf-dist/scripts/mkgrkindex/mkgrkindex
267texlive-collection-langindic,/usr/bin/ebong,/usr/share/texmf-dist/scripts/ebong/ebong.py
268texlive-collection-latex,/usr/bin/mptopdf,/usr/share/texmf-dist/scripts/context/perl/mptopdf.pl
269texlive-collection-latex,/usr/bin/pdfatfi,/usr/share/texmf-dist/scripts/oberdiek/pdfatfi.pl
270texlive-collection-latexextra,/usr/bin/authorindex,/usr/share/texmf-dist/scripts/authorindex/authorindex
[7148]271texlive-collection-latexextra,/usr/bin/exceltex,/usr/share/texmf-dist/scripts/exceltex/exceltex
[5207]272texlive-collection-latexextra,/usr/bin/makeglossaries,/usr/share/texmf-dist/scripts/glossaries/makeglossaries
273texlive-collection-latexextra,/usr/bin/pdfannotextractor,/usr/share/texmf-dist/scripts/pax/pdfannotextractor.pl
274texlive-collection-latexextra,/usr/bin/perltex,/usr/share/texmf-dist/scripts/perltex/perltex.pl
275texlive-collection-latexextra,/usr/bin/ps4pdf,/usr/share/texmf-dist/scripts/pst-pdf/ps4pdf
276texlive-collection-latexextra,/usr/bin/splitindex,/usr/share/texmf-dist/scripts/splitindex/perl/splitindex.pl
277texlive-collection-latexextra,/usr/bin/svn-multi,/usr/share/texmf-dist/scripts/svn-multi/svn-multi.pl
278texlive-collection-latexextra,/usr/bin/vpe,/usr/share/texmf-dist/scripts/vpe/vpe.pl
279texlive-collection-latexrecommended,/usr/bin/thumbpdf,/usr/share/texmf-dist/scripts/thumbpdf/thumbpdf.pl
[7148]280texlive-collection-luatex,/usr/bin/checkcites,/usr/share/texmf-dist/scripts/checkcites/checkcites.lua
[5207]281texlive-collection-luatex,/usr/bin/mkluatexfontdb,/usr/share/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua
[7148]282texlive-collection-music,/usr/bin/m-tx,/usr/share/texmf-dist/scripts/m-tx/m-tx.lua
[5207]283texlive-collection-music,/usr/bin/musixflx,/usr/share/texmf-dist/scripts/musixtex/musixflx.lua
284texlive-collection-music,/usr/bin/musixtex,/usr/share/texmf-dist/scripts/musixtex/musixtex.lua
[7148]285texlive-collection-music,/usr/bin/pmx2pdf,/usr/share/texmf-dist/scripts/pmx/pmx2pdf.lua
[5207]286texlive-collection-pictures,/usr/bin/cachepic,/usr/share/texmf-dist/scripts/cachepic/cachepic.tlu
287texlive-collection-pictures,/usr/bin/epspdf,/usr/share/texmf-dist/scripts/epspdf/epspdf.rb
288texlive-collection-pictures,/usr/bin/epspdftk,/usr/share/texmf-dist/scripts/epspdf/epspdftk.tcl
289texlive-collection-pictures,/usr/bin/fig4latex,/usr/share/texmf-dist/scripts/fig4latex/fig4latex
290texlive-collection-pictures,/usr/bin/mathspic,/usr/share/texmf-dist/scripts/mathspic/mathspic.pl
[7148]291texlive-collection-pstricks,/usr/bin/pedigree,/usr/share/texmf-dist/scripts/pedigree-perl/pedigree.pl
[5207]292texlive-collection-pstricks,/usr/bin/pst2pdf,/usr/share/texmf-dist/scripts/pst2pdf/pst2pdf
293texlive-collection-science,/usr/bin/ulqda,/usr/share/texmf-dist/scripts/ulqda/ulqda.pl
294)
295%__mkdir_p %{buildroot}%{_bindir}
296pushd %{buildroot}%{_bindir}
297    for i in "${mk_symlinks[@]}"; do
[7148]298        tlc=$(/bin/echo $i | cut -f 1 -d",")
299        lnk=$(/bin/echo $i | cut -f 2 -d"," | %__sed -e "s|/usr/bin/||")
300        rlnk=$(/bin/echo $i | cut -f 3 -d"," | %__sed -e "s|/usr/|../|")
[1533]301
[5207]302        [ "%{name}" = "$tlc" ] || continue
303        [ -f $rlnk ] || exit 1
304        %__ln_s $rlnk $lnk || exit 1
305    done
306popd
[1533]307## Files list
308find %{buildroot} -type f -or -type l | \
309    %__sed -e "s|%{buildroot}||g" > filelist.full
310
311find %{buildroot}%{texmf}-dist -type d | \
312    %__sed -e "s|^%{buildroot}|%dir |" \
313           -e "s|$|/|"             >> filelist.full
314
315## subpackages
316grep "/texmf-dist/doc/" filelist.full > filelist.doc
317cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
318%__mv -f filelist.tmp filelist.full
319
320%clean
321%__rm -rf %{buildroot}
322
323%post
[7148]324%touch_run texhash
325%touch_run mtxrun
[1533]326
[7148]327[ -f %{texmfsysconfig}/web2c/updmap.cfg ] || exit 0
[1533]328
[7148]329%{_bindir}/updmap-sys --nomkmap --nohash --quiet --enable Map l7x-urwvn.map >/dev/null 2>&1 && %touch_run updmap
[2505]330
[7148]331%touch_run fmtutil
[2505]332
[1533]333exit 0
334
335
336%postun
337if [ "$1" = 0 ]; then
[7148]338    %touch_run texhash
[1533]339
[7148]340    [ -f %{texmfsysconfig}/web2c/updmap.cfg ] || exit 0
[1533]341
[7148]342    %{_bindir}/updmap-sys --nomkmap --nohash --quiet --disable l7x-urwvn.map >/dev/null 2>&1 && %touch_run updmap
[1533]343
344fi
345
346exit 0
347
[7148]348%posttrans
349%{exec_texhash}
350%{exec_mtxrun}
351%{exec_updmap}
352%{exec_fmtutil}
353exit 0
354
355
[1533]356%files -f filelist.full
[5207]357%defattr(-,root,root,-)
[1533]358
359%files -f filelist.doc doc
[5207]360%defattr(-,root,root,-)
[1533]361
362%changelog
[7148]363* Fri Nov 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
364- generated by tlpdb2rpmspec 2012-1: tlpdb2rpmspec collection-langlithuanian
365
366* Sat Dec  3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
367- generated by tlpdb2rpmspec 2011-2: tlpdb2rpmspec collection-langlithuanian
368- set external dependencies (texlive-collection-binextra,
369  texlive-collection-fontutils)
370
[5207]371* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
372- generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-langlithuanian
373
374* Mon Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
375- generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-langlithuanian
376- make symlinks of core script utils (texlive-collection-binextra,
377  texlive-collection-context, texlive-collection-fontutils,
378  texlive-collection-langgreek, texlive-collection-langindic,
379  texlive-collection-latex, texlive-collection-latexextra,
380  texlive-collection-latexrecommended, texlive-collection-pictures,
381  texlive-collection-pstricks, texlive-collection-science)
382
[2505]383* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
384- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-langlithuanian
385- improved %%post
386
[1974]387* Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
388- generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langlithuanian
389- removed arch dependent binaries (texlive-collection-latexextra)
390- fixed perl path
391- improved updmap process in %%post and %%postun
392
[1533]393* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
394- generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langlithuanian
Note: See TracBrowser for help on using the repository browser.