1 | ## -*- coding: utf-8-unix -*- |
---|
2 | ## NOTE: This spec file is generated by tlpdb2rpmspec.sh 2009-1: |
---|
3 | ## tlpdb2rpmspec.sh collection-basic |
---|
4 | |
---|
5 | %bcond_with firstbuild |
---|
6 | |
---|
7 | %define tex_destdir %{_datadir} |
---|
8 | %define texmf %{tex_destdir}/texmf |
---|
9 | %define texlive_src %{tex_destdir}/texlive-sources |
---|
10 | %define build_tex_destdir %{buildroot}%{tex_destdir} |
---|
11 | %define build_texmf %{buildroot}%{texmf} |
---|
12 | |
---|
13 | %define exec_mktexlsr [ -x %{_bindir}/texconfig-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/texconfig-sys rehash |
---|
14 | %define exec_texhash [ -x %{_bindir}/texhash ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash |
---|
15 | %define exec_updmap [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap-sys --nostop |
---|
16 | %define exec_fmtutil [ -x %{_bindir}/fmtutil-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/fmtutil-sys --all >/dev/null 2>&1 |
---|
17 | %define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null |
---|
18 | %define vartexfonts %{_var}/lib/texmf |
---|
19 | |
---|
20 | %define __find_provides %{nil} |
---|
21 | %define __find_requires %{nil} |
---|
22 | %define __perl_provides %{nil} |
---|
23 | %define __perl_requires %{nil} |
---|
24 | |
---|
25 | Autoreq: 0 |
---|
26 | |
---|
27 | Summary: TeX Live: Tibetan |
---|
28 | Summary(ja): TeX Live: Tibetan |
---|
29 | Name: texlive-collection-langtibetan |
---|
30 | Version: 2009 |
---|
31 | Release: 1%{?_dist_release} |
---|
32 | License: GPL+ |
---|
33 | Group: Applications/Publishing |
---|
34 | URL:http://www.tug.org/texlive/ |
---|
35 | |
---|
36 | Requires: texlive = %{version} |
---|
37 | Requires: texlive-collection-basic = %{version} |
---|
38 | |
---|
39 | Requires(post): texlive = %{version} |
---|
40 | Requires(postun): texlive = %{version} |
---|
41 | BuildRequires: texlive-sources = %{version} |
---|
42 | |
---|
43 | BuildArch: noarch |
---|
44 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
45 | |
---|
46 | Vendor: Project Vine |
---|
47 | Distribution: Vine Linux |
---|
48 | Packager: munepi |
---|
49 | |
---|
50 | %description |
---|
51 | The TeX Live software distribution offers a complete TeX system for a |
---|
52 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
53 | encompasses programs for editing, typesetting, previewing and printing |
---|
54 | of TeX documents in many different languages, and a large collection |
---|
55 | of TeX macros and font libraries. |
---|
56 | |
---|
57 | The distribution includes extensive general documentation about TeX, |
---|
58 | as well as the documentation for the included software packages. |
---|
59 | |
---|
60 | This package is a collection of Tibetan: |
---|
61 | Support for typesetting Tibetan. |
---|
62 | |
---|
63 | This package contains the following CTAN packages: |
---|
64 | ctib: Tibetan for TeX and LATeX2e. |
---|
65 | otibet: |
---|
66 | |
---|
67 | %description -l ja |
---|
68 | TeX Live ソフトウェアディストリビューションは、 |
---|
69 | さまざまな Unix, Macintosh, Windows、および |
---|
70 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
71 | 多くの異なった言語を含む TeX ドキュメントの |
---|
72 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
73 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
74 | 同梱しています。 |
---|
75 | |
---|
76 | このディストリビューションは |
---|
77 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
78 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
79 | |
---|
80 | このパッケージは以下のようなパッケージ集です。 |
---|
81 | Tibetan: |
---|
82 | Support for typesetting Tibetan. |
---|
83 | |
---|
84 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
85 | ctib: Tibetan for TeX and LATeX2e. |
---|
86 | otibet: |
---|
87 | |
---|
88 | %package doc |
---|
89 | Summary: TeX Live: Documentation files of %{name} |
---|
90 | Group: Applications/Publishing |
---|
91 | Requires: %{name} = %{version}-%{release} |
---|
92 | |
---|
93 | %description doc |
---|
94 | This package contains documentation files of %{name}. |
---|
95 | |
---|
96 | %prep |
---|
97 | |
---|
98 | %build |
---|
99 | |
---|
100 | %install |
---|
101 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
102 | |
---|
103 | PREF=%{buildroot}%{tex_destdir} |
---|
104 | |
---|
105 | manifest=( |
---|
106 | texmf-dist/doc/latex/ctib/README |
---|
107 | texmf-dist/doc/latex/ctib/ctib4tex.pdf |
---|
108 | texmf-dist/doc/latex/ctib/ctib4tex.tex |
---|
109 | texmf-dist/source/latex/ctib/COPYING |
---|
110 | texmf-dist/source/latex/ctib/EMTEX |
---|
111 | texmf-dist/source/latex/ctib/HISTORY |
---|
112 | texmf-dist/source/latex/ctib/INSTALL |
---|
113 | texmf-dist/source/latex/ctib/MIKTEX |
---|
114 | texmf-dist/fonts/source/public/ctib/bzrsetup.mf |
---|
115 | texmf-dist/fonts/source/public/ctib/ctib.mf |
---|
116 | texmf-dist/fonts/source/public/ctib/ctibcode.mf |
---|
117 | texmf-dist/fonts/source/public/ctib/ctiblett.mf |
---|
118 | texmf-dist/fonts/source/public/ctib/ctibligs.mf |
---|
119 | texmf-dist/fonts/source/public/ctib/ctibnum.mf |
---|
120 | texmf-dist/fonts/source/public/ctib/ctibpunc.mf |
---|
121 | texmf-dist/fonts/source/public/ctib/ctibsplt.mf |
---|
122 | texmf-dist/fonts/source/public/ctib/ctibvow.mf |
---|
123 | texmf-dist/fonts/tfm/public/ctib/ctib.tfm |
---|
124 | texmf-dist/tex/latex/ctib/ctib.sty |
---|
125 | texmf-dist/tex/latex/ctib/ctib.tex |
---|
126 | texmf-dist/tex/latex/ctib/lctctib.fd |
---|
127 | texmf-dist/tex/latex/ctib/lctenc.def |
---|
128 | texmf-dist/doc/latex/otibet/README |
---|
129 | texmf-dist/doc/latex/otibet/allbasic-mule.tex |
---|
130 | texmf-dist/doc/latex/otibet/allbasic.dvi |
---|
131 | texmf-dist/doc/latex/otibet/allbasic.tex |
---|
132 | texmf-dist/doc/latex/otibet/otibet-mule.tex |
---|
133 | texmf-dist/doc/latex/otibet/testtib.tex |
---|
134 | texmf-dist/doc/latex/otibet/tiblatex.dvi |
---|
135 | texmf-dist/doc/latex/otibet/tiblatex.tex |
---|
136 | texmf-dist/doc/latex/otibet/unidoc.dvi |
---|
137 | texmf-dist/doc/latex/otibet/unidoc.tex |
---|
138 | texmf-dist/doc/latex/otibet/yugpacan.dvi |
---|
139 | texmf-dist/doc/latex/otibet/yugpacan.tex |
---|
140 | texmf-dist/source/latex/otibet/Makefile |
---|
141 | texmf-dist/source/latex/otibet/allbasic.odvi |
---|
142 | texmf-dist/source/latex/otibet/convnum.scm |
---|
143 | texmf-dist/source/latex/otibet/generate-otp.el |
---|
144 | texmf-dist/source/latex/otibet/oct2otp.c |
---|
145 | texmf-dist/source/latex/otibet/pl2ovp.scm |
---|
146 | texmf-dist/source/latex/otibet/tibetan.pl |
---|
147 | texmf-dist/source/latex/otibet/tiblatex.odvi |
---|
148 | texmf-dist/source/latex/otibet/tibovp.scm |
---|
149 | texmf-dist/source/latex/otibet/unidoc.odvi |
---|
150 | texmf-dist/source/latex/otibet/yugpacan.odvi |
---|
151 | texmf-dist/fonts/ofm/public/otibet/otibetan.ofm |
---|
152 | texmf-dist/fonts/ovf/public/otibet/otibetan.ovf |
---|
153 | texmf-dist/fonts/ovp/public/otibet/otibetan.ovp |
---|
154 | texmf-dist/fonts/source/public/otibet/bzrsetup.mf |
---|
155 | texmf-dist/fonts/source/public/otibet/tibetan.mf |
---|
156 | texmf-dist/fonts/tfm/public/otibet/tibetan.tfm |
---|
157 | texmf-dist/omega/ocp/otibet/tibadjusttsheg.ocp |
---|
158 | texmf-dist/omega/ocp/otibet/tibinunicode.ocp |
---|
159 | texmf-dist/omega/ocp/otibet/tibinwylie.ocp |
---|
160 | texmf-dist/omega/ocp/otibet/tibout.ocp |
---|
161 | texmf-dist/omega/ocp/otibet/tibspecial.ocp |
---|
162 | texmf-dist/omega/ocp/otibet/tibuniuni.ocp |
---|
163 | texmf-dist/omega/ocp/otibet/tibvowel.ocp |
---|
164 | texmf-dist/omega/otp/otibet/tibadjusttsheg.otp |
---|
165 | texmf-dist/omega/otp/otibet/tibetan-mule2uni-old.otp |
---|
166 | texmf-dist/omega/otp/otibet/tibetan-mule2uni.otp |
---|
167 | texmf-dist/omega/otp/otibet/tibinunicode.otp |
---|
168 | texmf-dist/omega/otp/otibet/tibinwylie.otp |
---|
169 | texmf-dist/omega/otp/otibet/tibout.otp |
---|
170 | texmf-dist/omega/otp/otibet/tibshow.otp |
---|
171 | texmf-dist/omega/otp/otibet/tibspecial.otp |
---|
172 | texmf-dist/omega/otp/otibet/tibuniuni.otp |
---|
173 | texmf-dist/omega/otp/otibet/tibvowel.otp |
---|
174 | texmf-dist/tex/latex/otibet/ot1tib.fd |
---|
175 | texmf-dist/tex/latex/otibet/otibet.sty |
---|
176 | texmf-dist/tex/latex/otibet/otibet.tex |
---|
177 | texmf-dist/tex/latex/otibet/t1tib.fd |
---|
178 | ) |
---|
179 | |
---|
180 | %__mkdir_p ${PREF}/texmf-dist |
---|
181 | for i in "${manifest[@]}"; do |
---|
182 | %__install -D %{texlive_src}/$i ${PREF}/$i |
---|
183 | done |
---|
184 | |
---|
185 | ## info |
---|
186 | %__rm -f %{buildroot}%{_infodir}/dir |
---|
187 | %__gzip -9nf %{buildroot}%{_infodir}/*info* ||: |
---|
188 | |
---|
189 | ## man |
---|
190 | ## man t1* files are provided by t1utils |
---|
191 | for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do |
---|
192 | %__rm %{buildroot}%{_mandir}/man*/${i}.* ||: |
---|
193 | done |
---|
194 | |
---|
195 | ## man some files are provided by psutils |
---|
196 | for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do |
---|
197 | %__rm %{buildroot}%{_mandir}/man*/${i}.* ||: |
---|
198 | done |
---|
199 | |
---|
200 | ## remove asymptote directries, which provides asymptote package |
---|
201 | find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf |
---|
202 | # find %{buildroot} -name "Makefile" | xargs %__rm -f |
---|
203 | |
---|
204 | # ## remove xindy |
---|
205 | # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf |
---|
206 | |
---|
207 | # ## remove tex4ht |
---|
208 | # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf |
---|
209 | |
---|
210 | ## remove unpackaging files |
---|
211 | find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f |
---|
212 | find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f |
---|
213 | |
---|
214 | ## Files list |
---|
215 | find %{buildroot} -type f -or -type l | \ |
---|
216 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
217 | |
---|
218 | find %{buildroot}%{texmf}-dist -type d | \ |
---|
219 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
220 | -e "s|$|/|" >> filelist.full |
---|
221 | |
---|
222 | ## subpackages |
---|
223 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
224 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
225 | %__mv -f filelist.tmp filelist.full |
---|
226 | |
---|
227 | %clean |
---|
228 | %__rm -rf %{buildroot} |
---|
229 | |
---|
230 | %post |
---|
231 | %{exec_texhash} |
---|
232 | |
---|
233 | exit 0 |
---|
234 | |
---|
235 | |
---|
236 | %postun |
---|
237 | if [ "$1" = 0 ]; then |
---|
238 | %{exec_texhash} |
---|
239 | |
---|
240 | fi |
---|
241 | |
---|
242 | exit 0 |
---|
243 | |
---|
244 | %files -f filelist.full |
---|
245 | %defattr(-,root,root) |
---|
246 | |
---|
247 | %files -f filelist.doc doc |
---|
248 | %defattr(-,root,root) |
---|
249 | |
---|
250 | %changelog |
---|
251 | * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1 |
---|
252 | - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langtibetan |
---|