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: Recommended generic packages |
---|
28 | Summary(ja): TeX Live: Recommended generic packages |
---|
29 | Name: texlive-collection-genericrecommended |
---|
30 | Version: 2009 |
---|
31 | Release: 1%{?_dist_release} |
---|
32 | License: Public Domain, GPL+, LPPL |
---|
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 Recommended generic packages: |
---|
61 | Recommended packages that work with multiple formats. |
---|
62 | |
---|
63 | This package contains the following CTAN packages: |
---|
64 | epsf: Simple macros for EPS inclusion. |
---|
65 | fontname: Scheme for naming fonts in TeX. |
---|
66 | genmisc: |
---|
67 | multido: A loop facility for Generic TeX. |
---|
68 | tex-ps: TeX to PostScript generic macros and add-ons. |
---|
69 | |
---|
70 | %description -l ja |
---|
71 | TeX Live ソフトウェアディストリビューションは、 |
---|
72 | さまざまな Unix, Macintosh, Windows、および |
---|
73 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
74 | 多くの異なった言語を含む TeX ドキュメントの |
---|
75 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
76 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
77 | 同梱しています。 |
---|
78 | |
---|
79 | このディストリビューションは |
---|
80 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
81 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
82 | |
---|
83 | このパッケージは以下のようなパッケージ集です。 |
---|
84 | Recommended generic packages: |
---|
85 | Recommended packages that work with multiple formats. |
---|
86 | |
---|
87 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
88 | epsf: Simple macros for EPS inclusion. |
---|
89 | fontname: Scheme for naming fonts in TeX. |
---|
90 | genmisc: |
---|
91 | multido: A loop facility for Generic TeX. |
---|
92 | tex-ps: TeX to PostScript generic macros and add-ons. |
---|
93 | |
---|
94 | %package doc |
---|
95 | Summary: TeX Live: Documentation files of %{name} |
---|
96 | Group: Applications/Publishing |
---|
97 | Requires: %{name} = %{version}-%{release} |
---|
98 | |
---|
99 | %description doc |
---|
100 | This package contains documentation files of %{name}. |
---|
101 | |
---|
102 | %prep |
---|
103 | |
---|
104 | %build |
---|
105 | |
---|
106 | %install |
---|
107 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
108 | |
---|
109 | PREF=%{buildroot}%{tex_destdir} |
---|
110 | |
---|
111 | manifest=( |
---|
112 | texmf-dist/doc/generic/epsf/LICENSE |
---|
113 | texmf-dist/doc/generic/epsf/Makefile |
---|
114 | texmf-dist/doc/generic/epsf/README |
---|
115 | texmf-dist/doc/generic/epsf/bboxgrid.ps |
---|
116 | texmf-dist/doc/generic/epsf/fndbadps |
---|
117 | texmf-dist/doc/generic/epsf/okay/teps.eps |
---|
118 | texmf-dist/doc/generic/epsf/okay/tepsf.eps |
---|
119 | texmf-dist/doc/generic/epsf/okay/tepsf1.dvi |
---|
120 | texmf-dist/doc/generic/epsf/okay/tepsf2.dvi |
---|
121 | texmf-dist/doc/generic/epsf/okay/tepsf3.dvi |
---|
122 | texmf-dist/doc/generic/epsf/teps.eps |
---|
123 | texmf-dist/doc/generic/epsf/tepsf.eps |
---|
124 | texmf-dist/doc/generic/epsf/tepsf1.tex |
---|
125 | texmf-dist/doc/generic/epsf/tepsf2.ltx |
---|
126 | texmf-dist/doc/generic/epsf/tepsf3.tex |
---|
127 | texmf-dist/tex/generic/epsf/epsf.sty |
---|
128 | texmf-dist/tex/generic/epsf/epsf.tex |
---|
129 | texmf-dist/doc/fonts/fontname/8a.html |
---|
130 | texmf-dist/doc/fonts/fontname/8r.html |
---|
131 | texmf-dist/doc/fonts/fontname/Adobe-fonts.html |
---|
132 | texmf-dist/doc/fonts/fontname/Apple-fonts.html |
---|
133 | texmf-dist/doc/fonts/fontname/Bitstream-fonts.html |
---|
134 | texmf-dist/doc/fonts/fontname/ChangeLog |
---|
135 | texmf-dist/doc/fonts/fontname/DTC-fonts.html |
---|
136 | texmf-dist/doc/fonts/fontname/Encodings.html |
---|
137 | texmf-dist/doc/fonts/fontname/Filenames-for-fonts.html |
---|
138 | texmf-dist/doc/fonts/fontname/Font-legalities.html |
---|
139 | texmf-dist/doc/fonts/fontname/Font-name-lists.html |
---|
140 | texmf-dist/doc/fonts/fontname/History.html |
---|
141 | texmf-dist/doc/fonts/fontname/ITC-fonts.html |
---|
142 | texmf-dist/doc/fonts/fontname/Introduction.html |
---|
143 | texmf-dist/doc/fonts/fontname/Linotype-fonts.html |
---|
144 | texmf-dist/doc/fonts/fontname/Long-names.html |
---|
145 | texmf-dist/doc/fonts/fontname/Long-naming-scheme.html |
---|
146 | texmf-dist/doc/fonts/fontname/Makefile |
---|
147 | texmf-dist/doc/fonts/fontname/Monotype-fonts.html |
---|
148 | texmf-dist/doc/fonts/fontname/Name-mapping-file.html |
---|
149 | texmf-dist/doc/fonts/fontname/References.html |
---|
150 | texmf-dist/doc/fonts/fontname/Standard-PostScript-fonts.html |
---|
151 | texmf-dist/doc/fonts/fontname/Suppliers.html |
---|
152 | texmf-dist/doc/fonts/fontname/Typefaces.html |
---|
153 | texmf-dist/doc/fonts/fontname/URW-fonts.html |
---|
154 | texmf-dist/doc/fonts/fontname/Variants.html |
---|
155 | texmf-dist/doc/fonts/fontname/Weights.html |
---|
156 | texmf-dist/doc/fonts/fontname/Widths.html |
---|
157 | texmf-dist/doc/fonts/fontname/bitstrea.aka |
---|
158 | texmf-dist/doc/fonts/fontname/cork.html |
---|
159 | texmf-dist/doc/fonts/fontname/dvips.html |
---|
160 | texmf-dist/doc/fonts/fontname/fontname.aux |
---|
161 | texmf-dist/doc/fonts/fontname/fontname.cp |
---|
162 | texmf-dist/doc/fonts/fontname/fontname.html |
---|
163 | texmf-dist/doc/fonts/fontname/fontname.pdf |
---|
164 | texmf-dist/doc/fonts/fontname/fontname.texi |
---|
165 | texmf-dist/doc/fonts/fontname/fontname.toc |
---|
166 | texmf-dist/doc/fonts/fontname/index.html |
---|
167 | texmf-dist/doc/fonts/fontname/texmext.html |
---|
168 | texmf-dist/doc/fonts/fontname/texmital.html |
---|
169 | texmf-dist/doc/fonts/fontname/texmsym.html |
---|
170 | texmf-dist/doc/fonts/fontname/texnansi.html |
---|
171 | texmf-dist/doc/fonts/fontname/texnansx.html |
---|
172 | texmf-dist/doc/fonts/fontname/xl2.html |
---|
173 | texmf-dist/doc/fonts/fontname/xt2.html |
---|
174 | texmf-dist/fonts/map/fontname/adobe.map |
---|
175 | texmf-dist/fonts/map/fontname/apple.map |
---|
176 | texmf-dist/fonts/map/fontname/bitstrea.map |
---|
177 | texmf-dist/fonts/map/fontname/dtc.map |
---|
178 | texmf-dist/fonts/map/fontname/itc.map |
---|
179 | texmf-dist/fonts/map/fontname/linot-cd.map |
---|
180 | texmf-dist/fonts/map/fontname/linotype-cd.map |
---|
181 | texmf-dist/fonts/map/fontname/linotype.map |
---|
182 | texmf-dist/fonts/map/fontname/monotype.map |
---|
183 | texmf-dist/fonts/map/fontname/skey1250.map |
---|
184 | texmf-dist/fonts/map/fontname/skey1555.map |
---|
185 | texmf-dist/fonts/map/fontname/softkey-1250.map |
---|
186 | texmf-dist/fonts/map/fontname/softkey-1555.map |
---|
187 | texmf-dist/fonts/map/fontname/softkey.map |
---|
188 | texmf-dist/fonts/map/fontname/special.map |
---|
189 | texmf-dist/fonts/map/fontname/supplier.map |
---|
190 | texmf-dist/fonts/map/fontname/texfonts.map |
---|
191 | texmf-dist/fonts/map/fontname/typeface.map |
---|
192 | texmf-dist/fonts/map/fontname/urw.map |
---|
193 | texmf-dist/fonts/map/fontname/variant.map |
---|
194 | texmf-dist/fonts/map/fontname/weight.map |
---|
195 | texmf-dist/fonts/map/fontname/width.map |
---|
196 | texmf-dist/fonts/map/fontname/yandy.map |
---|
197 | texmf-dist/tex/generic/genmisc/anti.tex |
---|
198 | texmf-dist/tex/generic/genmisc/apldef.tex |
---|
199 | texmf-dist/tex/generic/genmisc/arabic.tex |
---|
200 | texmf-dist/tex/generic/genmisc/backgrnd.tex |
---|
201 | texmf-dist/tex/generic/genmisc/balancedquotes.sty |
---|
202 | texmf-dist/tex/generic/genmisc/chessmin.tex |
---|
203 | texmf-dist/tex/generic/genmisc/compare.tex |
---|
204 | texmf-dist/tex/generic/genmisc/cropmark.sty |
---|
205 | texmf-dist/tex/generic/genmisc/cropmark.tex |
---|
206 | texmf-dist/tex/generic/genmisc/croptest.tex |
---|
207 | texmf-dist/tex/generic/genmisc/dayofweek.tex |
---|
208 | texmf-dist/tex/generic/genmisc/daytime.sty |
---|
209 | texmf-dist/tex/generic/genmisc/default.sty |
---|
210 | texmf-dist/tex/generic/genmisc/dow.tex |
---|
211 | texmf-dist/tex/generic/genmisc/emtrees.tex |
---|
212 | texmf-dist/tex/generic/genmisc/endnote.tex |
---|
213 | texmf-dist/tex/generic/genmisc/epigram.tex |
---|
214 | texmf-dist/tex/generic/genmisc/fakebold.tex |
---|
215 | texmf-dist/tex/generic/genmisc/hep.tex |
---|
216 | texmf-dist/tex/generic/genmisc/hexdump.sty |
---|
217 | texmf-dist/tex/generic/genmisc/inscrutable.tex |
---|
218 | texmf-dist/tex/generic/genmisc/laps.tex |
---|
219 | texmf-dist/tex/generic/genmisc/letterspacing.tex |
---|
220 | texmf-dist/tex/generic/genmisc/longdiv.tex |
---|
221 | texmf-dist/tex/generic/genmisc/mandel.tex |
---|
222 | texmf-dist/tex/generic/genmisc/mathlig.tex |
---|
223 | texmf-dist/tex/generic/genmisc/nth.sty |
---|
224 | texmf-dist/tex/generic/genmisc/outerhbox.sty |
---|
225 | texmf-dist/tex/generic/genmisc/pagereference.tex |
---|
226 | texmf-dist/tex/generic/genmisc/quotation.tex |
---|
227 | texmf-dist/tex/generic/genmisc/ragged.sty |
---|
228 | texmf-dist/tex/generic/genmisc/random.tex |
---|
229 | texmf-dist/tex/generic/genmisc/ruler.tex |
---|
230 | texmf-dist/tex/generic/genmisc/selectpage.tex |
---|
231 | texmf-dist/tex/generic/genmisc/shadebox.tex |
---|
232 | texmf-dist/tex/generic/genmisc/swrule.sty |
---|
233 | texmf-dist/tex/generic/genmisc/time.sty |
---|
234 | texmf-dist/tex/generic/genmisc/underlin.tex |
---|
235 | texmf-dist/tex/generic/genmisc/undertilde.tex |
---|
236 | texmf-dist/tex/generic/genmisc/verbatim.tex |
---|
237 | texmf-dist/tex/generic/genmisc/weekday.sty |
---|
238 | texmf-dist/tex/generic/genmisc/wiggly.tex |
---|
239 | texmf-dist/tex/generic/genmisc/zip.tex |
---|
240 | texmf-dist/doc/generic/multido/Changes |
---|
241 | texmf-dist/doc/generic/multido/multido-test.tex |
---|
242 | texmf-dist/doc/generic/multido/multido.doc |
---|
243 | texmf-dist/doc/generic/multido/multido.pdf |
---|
244 | texmf-dist/tex/generic/multido/multido.tex |
---|
245 | texmf-dist/tex/latex/multido/multido.sty |
---|
246 | texmf-dist/doc/generic/tex-ps/cmyk-hax/README |
---|
247 | texmf-dist/doc/generic/tex-ps/cmyk-hax/cmyk-doc.pdf |
---|
248 | texmf-dist/doc/generic/tex-ps/cmyk-hax/fountain.eps |
---|
249 | texmf-dist/doc/generic/tex-ps/cmyk-hax/gdansk.eps |
---|
250 | texmf-dist/doc/generic/tex-ps/cmyk-hax/rules.tex |
---|
251 | texmf-dist/doc/generic/tex-ps/cmyk-hax/sam1-sep.bat |
---|
252 | texmf-dist/doc/generic/tex-ps/cmyk-hax/sample1.tex |
---|
253 | texmf-dist/doc/generic/tex-ps/cmyk-hax/sample2.tex |
---|
254 | texmf-dist/doc/generic/tex-ps/cmyk-hax/sample3.tex |
---|
255 | texmf-dist/doc/generic/tex-ps/cmyk-hax/sample4.tex |
---|
256 | texmf-dist/doc/generic/tex-ps/cmyk-hax/screen.eps |
---|
257 | texmf-dist/doc/generic/tex-ps/poligraf/README |
---|
258 | texmf-dist/doc/generic/tex-ps/poligraf/kol-cmyk.eps |
---|
259 | texmf-dist/doc/generic/tex-ps/poligraf/sample.tex |
---|
260 | texmf-dist/doc/generic/tex-ps/poligraf/samplelx.tex |
---|
261 | texmf-dist/dvips/tex-ps/crops.pro |
---|
262 | texmf-dist/dvips/tex-ps/mirr.hd |
---|
263 | texmf-dist/dvips/tex-ps/separate.pro |
---|
264 | texmf-dist/tex/generic/tex-ps/cmyk-hax.tex |
---|
265 | texmf-dist/tex/generic/tex-ps/epsfx.tex |
---|
266 | texmf-dist/tex/generic/tex-ps/poligraf.sty |
---|
267 | texmf-dist/tex/generic/tex-ps/trans.tex |
---|
268 | ) |
---|
269 | |
---|
270 | %__mkdir_p ${PREF}/texmf-dist |
---|
271 | for i in "${manifest[@]}"; do |
---|
272 | %__install -D %{texlive_src}/$i ${PREF}/$i |
---|
273 | done |
---|
274 | |
---|
275 | ## info |
---|
276 | %__rm -f %{buildroot}%{_infodir}/dir |
---|
277 | %__gzip -9nf %{buildroot}%{_infodir}/*info* ||: |
---|
278 | |
---|
279 | ## man |
---|
280 | ## man t1* files are provided by t1utils |
---|
281 | for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do |
---|
282 | %__rm %{buildroot}%{_mandir}/man*/${i}.* ||: |
---|
283 | done |
---|
284 | |
---|
285 | ## man some files are provided by psutils |
---|
286 | for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do |
---|
287 | %__rm %{buildroot}%{_mandir}/man*/${i}.* ||: |
---|
288 | done |
---|
289 | |
---|
290 | ## remove asymptote directries, which provides asymptote package |
---|
291 | find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf |
---|
292 | # find %{buildroot} -name "Makefile" | xargs %__rm -f |
---|
293 | |
---|
294 | # ## remove xindy |
---|
295 | # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf |
---|
296 | |
---|
297 | # ## remove tex4ht |
---|
298 | # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf |
---|
299 | |
---|
300 | ## remove unpackaging files |
---|
301 | find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f |
---|
302 | find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f |
---|
303 | |
---|
304 | ## Files list |
---|
305 | find %{buildroot} -type f -or -type l | \ |
---|
306 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
307 | |
---|
308 | find %{buildroot}%{texmf}-dist -type d | \ |
---|
309 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
310 | -e "s|$|/|" >> filelist.full |
---|
311 | |
---|
312 | ## subpackages |
---|
313 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
314 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
315 | %__mv -f filelist.tmp filelist.full |
---|
316 | |
---|
317 | %clean |
---|
318 | %__rm -rf %{buildroot} |
---|
319 | |
---|
320 | %post |
---|
321 | %{exec_texhash} |
---|
322 | |
---|
323 | exit 0 |
---|
324 | |
---|
325 | |
---|
326 | %postun |
---|
327 | if [ "$1" = 0 ]; then |
---|
328 | %{exec_texhash} |
---|
329 | |
---|
330 | fi |
---|
331 | |
---|
332 | exit 0 |
---|
333 | |
---|
334 | %files -f filelist.full |
---|
335 | %defattr(-,root,root) |
---|
336 | |
---|
337 | %files -f filelist.doc doc |
---|
338 | %defattr(-,root,root) |
---|
339 | |
---|
340 | %changelog |
---|
341 | * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1 |
---|
342 | - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-genericrecommended |
---|