texlive-collection-langeuropean-vl.spec 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-3:
  3. ## tlpdb2rpmspec collection-langeuropean
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Other European languages
  8. Summary(ja): TeX Live: Other European languages
  9. Name: texlive-collection-langeuropean
  10. Version: 2014
  11. Release: 3%{?_dist_release}
  12. License: LPPL, LPPL 1.3, Freely redistributable without restriction, Public Domain, GPL+, LPPL 1.2
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: armtex.doc.tar.xz
  16. Source1: armtex.tar.xz
  17. Source2: babel-albanian.doc.tar.xz
  18. Source3: babel-albanian.source.tar.xz
  19. Source4: babel-albanian.tar.xz
  20. Source5: babel-breton.doc.tar.xz
  21. Source6: babel-breton.source.tar.xz
  22. Source7: babel-breton.tar.xz
  23. Source8: babel-croatian.doc.tar.xz
  24. Source9: babel-croatian.source.tar.xz
  25. Source10: babel-croatian.tar.xz
  26. Source11: babel-danish.doc.tar.xz
  27. Source12: babel-danish.source.tar.xz
  28. Source13: babel-danish.tar.xz
  29. Source14: babel-dutch.doc.tar.xz
  30. Source15: babel-dutch.source.tar.xz
  31. Source16: babel-dutch.tar.xz
  32. Source17: babel-estonian.doc.tar.xz
  33. Source18: babel-estonian.source.tar.xz
  34. Source19: babel-estonian.tar.xz
  35. Source20: babel-finnish.doc.tar.xz
  36. Source21: babel-finnish.source.tar.xz
  37. Source22: babel-finnish.tar.xz
  38. Source23: babel-friulan.doc.tar.xz
  39. Source24: babel-friulan.source.tar.xz
  40. Source25: babel-friulan.tar.xz
  41. Source26: babel-hungarian.doc.tar.xz
  42. Source27: babel-hungarian.tar.xz
  43. Source28: babel-icelandic.doc.tar.xz
  44. Source29: babel-icelandic.source.tar.xz
  45. Source30: babel-icelandic.tar.xz
  46. Source31: babel-irish.doc.tar.xz
  47. Source32: babel-irish.source.tar.xz
  48. Source33: babel-irish.tar.xz
  49. Source34: babel-kurmanji.doc.tar.xz
  50. Source35: babel-kurmanji.source.tar.xz
  51. Source36: babel-kurmanji.tar.xz
  52. Source37: babel-latin.doc.tar.xz
  53. Source38: babel-latin.source.tar.xz
  54. Source39: babel-latin.tar.xz
  55. Source40: babel-latvian.doc.tar.xz
  56. Source41: babel-latvian.source.tar.xz
  57. Source42: babel-latvian.tar.xz
  58. Source43: babel-norsk.doc.tar.xz
  59. Source44: babel-norsk.source.tar.xz
  60. Source45: babel-norsk.tar.xz
  61. Source46: babel-piedmontese.doc.tar.xz
  62. Source47: babel-piedmontese.source.tar.xz
  63. Source48: babel-piedmontese.tar.xz
  64. Source49: babel-romanian.doc.tar.xz
  65. Source50: babel-romanian.source.tar.xz
  66. Source51: babel-romanian.tar.xz
  67. Source52: babel-romansh.doc.tar.xz
  68. Source53: babel-romansh.source.tar.xz
  69. Source54: babel-romansh.tar.xz
  70. Source55: babel-samin.doc.tar.xz
  71. Source56: babel-samin.source.tar.xz
  72. Source57: babel-samin.tar.xz
  73. Source58: babel-scottish.doc.tar.xz
  74. Source59: babel-scottish.source.tar.xz
  75. Source60: babel-scottish.tar.xz
  76. Source61: babel-slovenian.doc.tar.xz
  77. Source62: babel-slovenian.source.tar.xz
  78. Source63: babel-slovenian.tar.xz
  79. Source64: babel-swedish.doc.tar.xz
  80. Source65: babel-swedish.source.tar.xz
  81. Source66: babel-swedish.tar.xz
  82. Source67: babel-turkish.doc.tar.xz
  83. Source68: babel-turkish.source.tar.xz
  84. Source69: babel-turkish.tar.xz
  85. Source70: babel-welsh.doc.tar.xz
  86. Source71: babel-welsh.source.tar.xz
  87. Source72: babel-welsh.tar.xz
  88. Source73: finbib.tar.xz
  89. Source74: hrlatex.doc.tar.xz
  90. Source75: hrlatex.source.tar.xz
  91. Source76: hrlatex.tar.xz
  92. Source77: hyphen-armenian.tar.xz
  93. Source78: hyphen-croatian.tar.xz
  94. Source79: hyphen-danish.tar.xz
  95. Source80: hyphen-dutch.tar.xz
  96. Source81: hyphen-estonian.tar.xz
  97. Source82: hyphen-finnish.tar.xz
  98. Source83: hyphen-friulan.tar.xz
  99. Source84: hyphen-hungarian.doc.tar.xz
  100. Source85: hyphen-hungarian.tar.xz
  101. Source86: hyphen-icelandic.tar.xz
  102. Source87: hyphen-irish.tar.xz
  103. Source88: hyphen-kurmanji.tar.xz
  104. Source89: hyphen-latin.tar.xz
  105. Source90: hyphen-latvian.tar.xz
  106. Source91: hyphen-lithuanian.tar.xz
  107. Source92: hyphen-norwegian.tar.xz
  108. Source93: hyphen-piedmontese.tar.xz
  109. Source94: hyphen-romanian.tar.xz
  110. Source95: hyphen-romansh.tar.xz
  111. Source96: hyphen-slovenian.tar.xz
  112. Source97: hyphen-swedish.tar.xz
  113. Source98: hyphen-turkish.tar.xz
  114. Source99: hyphen-uppersorbian.tar.xz
  115. Source100: hyphen-welsh.tar.xz
  116. Source101: lithuanian.doc.tar.xz
  117. Source102: lithuanian.tar.xz
  118. Source103: lshort-dutch.doc.tar.xz
  119. Source104: lshort-dutch.tar.xz
  120. Source105: lshort-finnish.doc.tar.xz
  121. Source106: lshort-finnish.tar.xz
  122. Source107: lshort-slovenian.doc.tar.xz
  123. Source108: lshort-slovenian.tar.xz
  124. Source109: lshort-turkish.doc.tar.xz
  125. Source110: lshort-turkish.tar.xz
  126. Source111: swebib.doc.tar.xz
  127. Source112: swebib.tar.xz
  128. Source113: turkmen.doc.tar.xz
  129. Source114: turkmen.source.tar.xz
  130. Source115: turkmen.tar.xz
  131. Requires: texlive = %{version}
  132. Requires: texlive-collection-basic = %{version}
  133. Requires(post): texlive = %{version}
  134. Requires(postun): texlive = %{version}
  135. BuildArch: noarch
  136. Buildroot: %{_tmppath}/%{name}-%{version}-root
  137. Vendor: Project Vine
  138. Distribution: Vine Linux
  139. Packager: munepi
  140. %description
  141. The TeX Live software distribution offers a complete TeX system for a
  142. variety of Unix, Macintosh, Windows and other platforms. It
  143. encompasses programs for editing, typesetting, previewing and printing
  144. of TeX documents in many different languages, and a large collection
  145. of TeX macros and font libraries.
  146. The distribution includes extensive general documentation about TeX,
  147. as well as the documentation for the included software packages.
  148. This package is a collection of Other European languages:
  149. Support for a number of European languages; others (Greek,
  150. German, French, ...) have their own collections, depending
  151. simply on the size of the support.
  152. This package contains the following CTAN packages:
  153. armtex: A sytem for writing Armenian with TeX and LaTeX.
  154. babel-albanian: Support for Albanian within babel
  155. babel-breton: Babel contributed support for Breton.
  156. babel-croatian: Babel contributed support for Croatian.
  157. babel-danish: Babel contributed support for Danish.
  158. babel-dutch: Babel contributed support for Dutch.
  159. babel-estonian: Babel support for Estonian.
  160. babel-finnish:
  161. babel-friulan: Babel/Polyglossia support for Friulan(Furlan).
  162. babel-hungarian: Babel support for Hungarian (Magyar).
  163. babel-icelandic: Babel support for Icelandic.
  164. babel-irish: Babel support for Irish.
  165. babel-kurmanji: Babel support for Kurmanji.
  166. babel-latin: Babel support for Latin.
  167. babel-latvian: Babel support for Latvian.
  168. babel-norsk: Babel support for Norwegian.
  169. babel-piedmontese: Babel support for Piedmontese.
  170. babel-romanian: Babel support for Romanian.
  171. babel-romansh: Babel/Polyglossia support for the Romansh language.
  172. babel-samin: Babel support for Samin.
  173. babel-scottish: Babel support for Scottish Gaelic.
  174. babel-slovenian: Babel support for typesetting Slovenian.
  175. babel-swedish: Babel support for typesetting Swedish.
  176. babel-turkish: Babel support for Turkish documents.
  177. babel-welsh: Babel support for Welsh.
  178. finbib: A Finnish version of plain.bst.
  179. hrlatex: LaTeX support for Croatian documents.
  180. hyphen-armenian: Armenian hyphenation patterns.
  181. hyphen-croatian: Croatian hyphenation patterns.
  182. hyphen-danish: Danish hyphenation patterns.
  183. hyphen-dutch: Dutch hyphenation patterns.
  184. hyphen-estonian: Estonian hyphenation patterns.
  185. hyphen-finnish: Finnish hyphenation patterns.
  186. hyphen-friulan: Friulan hyphenation patterns.
  187. hyphen-hungarian: Hungarian hyphenation patterns.
  188. hyphen-icelandic: Icelandic hyphenation patterns.
  189. hyphen-irish: Irish hyphenation patterns.
  190. hyphen-kurmanji: Kurmanji hyphenation patterns.
  191. hyphen-latin: Latin and classical Latin hyphenation patterns.
  192. hyphen-latvian: Latvian hyphenation patterns.
  193. hyphen-lithuanian: Lithuanian hyphenation patterns.
  194. hyphen-norwegian: Norwegian Bokmal and Nynorsk hyphenation patterns.
  195. hyphen-piedmontese: Piedmontese hyphenation patterns.
  196. hyphen-romanian: Romanian hyphenation patterns.
  197. hyphen-romansh: Romansh hyphenation patterns.
  198. hyphen-slovenian: Slovenian hyphenation patterns.
  199. hyphen-swedish: Swedish hyphenation patterns.
  200. hyphen-turkish: Turkish hyphenation patterns.
  201. hyphen-uppersorbian: Upper Sorbian hyphenation patterns.
  202. hyphen-welsh: Welsh hyphenation patterns.
  203. lithuanian: Lithuanian language support.
  204. lshort-dutch: Introduction to LaTeX in Dutch.
  205. lshort-finnish: Finnish introduction to LaTeX.
  206. lshort-slovenian: Slovenian translation of lshort.
  207. lshort-turkish: Turkish introduction to LaTeX.
  208. swebib: Swedish bibliography styles.
  209. turkmen: Babel support for Turkmen.
  210. %description -l ja
  211. TeX Live ソフトウェアディストリビューションは、
  212. さまざまな Unix, Macintosh, Windows、および
  213. 他のプラットホームに対して完全な TeX システムを提供します。
  214. 多くの異なった言語を含む TeX ドキュメントの
  215. 編集、組版、閲覧、印刷するためのプログラム、
  216. そして、TeX マクロやフォントライブラリの大きなコレクションを
  217. 同梱しています。
  218. このディストリビューションは
  219. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  220. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  221. このパッケージは以下のようなパッケージ集です。
  222. Other European languages:
  223. Support for a number of European languages; others (Greek,
  224. German, French, ...) have their own collections, depending
  225. simply on the size of the support.
  226. このパッケージは以下の CTAN パッケージを含んでいます:
  227. armtex: A sytem for writing Armenian with TeX and LaTeX.
  228. babel-albanian: Support for Albanian within babel
  229. babel-breton: Babel contributed support for Breton.
  230. babel-croatian: Babel contributed support for Croatian.
  231. babel-danish: Babel contributed support for Danish.
  232. babel-dutch: Babel contributed support for Dutch.
  233. babel-estonian: Babel support for Estonian.
  234. babel-finnish:
  235. babel-friulan: Babel/Polyglossia support for Friulan(Furlan).
  236. babel-hungarian: Babel support for Hungarian (Magyar).
  237. babel-icelandic: Babel support for Icelandic.
  238. babel-irish: Babel support for Irish.
  239. babel-kurmanji: Babel support for Kurmanji.
  240. babel-latin: Babel support for Latin.
  241. babel-latvian: Babel support for Latvian.
  242. babel-norsk: Babel support for Norwegian.
  243. babel-piedmontese: Babel support for Piedmontese.
  244. babel-romanian: Babel support for Romanian.
  245. babel-romansh: Babel/Polyglossia support for the Romansh language.
  246. babel-samin: Babel support for Samin.
  247. babel-scottish: Babel support for Scottish Gaelic.
  248. babel-slovenian: Babel support for typesetting Slovenian.
  249. babel-swedish: Babel support for typesetting Swedish.
  250. babel-turkish: Babel support for Turkish documents.
  251. babel-welsh: Babel support for Welsh.
  252. finbib: A Finnish version of plain.bst.
  253. hrlatex: LaTeX support for Croatian documents.
  254. hyphen-armenian: Armenian hyphenation patterns.
  255. hyphen-croatian: Croatian hyphenation patterns.
  256. hyphen-danish: Danish hyphenation patterns.
  257. hyphen-dutch: Dutch hyphenation patterns.
  258. hyphen-estonian: Estonian hyphenation patterns.
  259. hyphen-finnish: Finnish hyphenation patterns.
  260. hyphen-friulan: Friulan hyphenation patterns.
  261. hyphen-hungarian: Hungarian hyphenation patterns.
  262. hyphen-icelandic: Icelandic hyphenation patterns.
  263. hyphen-irish: Irish hyphenation patterns.
  264. hyphen-kurmanji: Kurmanji hyphenation patterns.
  265. hyphen-latin: Latin and classical Latin hyphenation patterns.
  266. hyphen-latvian: Latvian hyphenation patterns.
  267. hyphen-lithuanian: Lithuanian hyphenation patterns.
  268. hyphen-norwegian: Norwegian Bokmal and Nynorsk hyphenation patterns.
  269. hyphen-piedmontese: Piedmontese hyphenation patterns.
  270. hyphen-romanian: Romanian hyphenation patterns.
  271. hyphen-romansh: Romansh hyphenation patterns.
  272. hyphen-slovenian: Slovenian hyphenation patterns.
  273. hyphen-swedish: Swedish hyphenation patterns.
  274. hyphen-turkish: Turkish hyphenation patterns.
  275. hyphen-uppersorbian: Upper Sorbian hyphenation patterns.
  276. hyphen-welsh: Welsh hyphenation patterns.
  277. lithuanian: Lithuanian language support.
  278. lshort-dutch: Introduction to LaTeX in Dutch.
  279. lshort-finnish: Finnish introduction to LaTeX.
  280. lshort-slovenian: Slovenian translation of lshort.
  281. lshort-turkish: Turkish introduction to LaTeX.
  282. swebib: Swedish bibliography styles.
  283. turkmen: Babel support for Turkmen.
  284. %package doc
  285. Summary: TeX Live: Documentation files of %{name}
  286. Group: Applications/Publishing
  287. Requires: %{name} = %{version}-%{release}
  288. %description doc
  289. This package contains documentation files of %{name}.
  290. %prep
  291. %setup -c -n %{name}-%{version}
  292. %__tar -xvf %{SOURCE1}
  293. %__tar -xvf %{SOURCE2}
  294. %__tar -xvf %{SOURCE3}
  295. %__tar -xvf %{SOURCE4}
  296. %__tar -xvf %{SOURCE5}
  297. %__tar -xvf %{SOURCE6}
  298. %__tar -xvf %{SOURCE7}
  299. %__tar -xvf %{SOURCE8}
  300. %__tar -xvf %{SOURCE9}
  301. %__tar -xvf %{SOURCE10}
  302. %__tar -xvf %{SOURCE11}
  303. %__tar -xvf %{SOURCE12}
  304. %__tar -xvf %{SOURCE13}
  305. %__tar -xvf %{SOURCE14}
  306. %__tar -xvf %{SOURCE15}
  307. %__tar -xvf %{SOURCE16}
  308. %__tar -xvf %{SOURCE17}
  309. %__tar -xvf %{SOURCE18}
  310. %__tar -xvf %{SOURCE19}
  311. %__tar -xvf %{SOURCE20}
  312. %__tar -xvf %{SOURCE21}
  313. %__tar -xvf %{SOURCE22}
  314. %__tar -xvf %{SOURCE23}
  315. %__tar -xvf %{SOURCE24}
  316. %__tar -xvf %{SOURCE25}
  317. %__tar -xvf %{SOURCE26}
  318. %__tar -xvf %{SOURCE27}
  319. %__tar -xvf %{SOURCE28}
  320. %__tar -xvf %{SOURCE29}
  321. %__tar -xvf %{SOURCE30}
  322. %__tar -xvf %{SOURCE31}
  323. %__tar -xvf %{SOURCE32}
  324. %__tar -xvf %{SOURCE33}
  325. %__tar -xvf %{SOURCE34}
  326. %__tar -xvf %{SOURCE35}
  327. %__tar -xvf %{SOURCE36}
  328. %__tar -xvf %{SOURCE37}
  329. %__tar -xvf %{SOURCE38}
  330. %__tar -xvf %{SOURCE39}
  331. %__tar -xvf %{SOURCE40}
  332. %__tar -xvf %{SOURCE41}
  333. %__tar -xvf %{SOURCE42}
  334. %__tar -xvf %{SOURCE43}
  335. %__tar -xvf %{SOURCE44}
  336. %__tar -xvf %{SOURCE45}
  337. %__tar -xvf %{SOURCE46}
  338. %__tar -xvf %{SOURCE47}
  339. %__tar -xvf %{SOURCE48}
  340. %__tar -xvf %{SOURCE49}
  341. %__tar -xvf %{SOURCE50}
  342. %__tar -xvf %{SOURCE51}
  343. %__tar -xvf %{SOURCE52}
  344. %__tar -xvf %{SOURCE53}
  345. %__tar -xvf %{SOURCE54}
  346. %__tar -xvf %{SOURCE55}
  347. %__tar -xvf %{SOURCE56}
  348. %__tar -xvf %{SOURCE57}
  349. %__tar -xvf %{SOURCE58}
  350. %__tar -xvf %{SOURCE59}
  351. %__tar -xvf %{SOURCE60}
  352. %__tar -xvf %{SOURCE61}
  353. %__tar -xvf %{SOURCE62}
  354. %__tar -xvf %{SOURCE63}
  355. %__tar -xvf %{SOURCE64}
  356. %__tar -xvf %{SOURCE65}
  357. %__tar -xvf %{SOURCE66}
  358. %__tar -xvf %{SOURCE67}
  359. %__tar -xvf %{SOURCE68}
  360. %__tar -xvf %{SOURCE69}
  361. %__tar -xvf %{SOURCE70}
  362. %__tar -xvf %{SOURCE71}
  363. %__tar -xvf %{SOURCE72}
  364. %__tar -xvf %{SOURCE73}
  365. %__tar -xvf %{SOURCE74}
  366. %__tar -xvf %{SOURCE75}
  367. %__tar -xvf %{SOURCE76}
  368. %__tar -xvf %{SOURCE77}
  369. %__tar -xvf %{SOURCE78}
  370. %__tar -xvf %{SOURCE79}
  371. %__tar -xvf %{SOURCE80}
  372. %__tar -xvf %{SOURCE81}
  373. %__tar -xvf %{SOURCE82}
  374. %__tar -xvf %{SOURCE83}
  375. %__tar -xvf %{SOURCE84}
  376. %__tar -xvf %{SOURCE85}
  377. %__tar -xvf %{SOURCE86}
  378. %__tar -xvf %{SOURCE87}
  379. %__tar -xvf %{SOURCE88}
  380. %__tar -xvf %{SOURCE89}
  381. %__tar -xvf %{SOURCE90}
  382. %__tar -xvf %{SOURCE91}
  383. %__tar -xvf %{SOURCE92}
  384. %__tar -xvf %{SOURCE93}
  385. %__tar -xvf %{SOURCE94}
  386. %__tar -xvf %{SOURCE95}
  387. %__tar -xvf %{SOURCE96}
  388. %__tar -xvf %{SOURCE97}
  389. %__tar -xvf %{SOURCE98}
  390. %__tar -xvf %{SOURCE99}
  391. %__tar -xvf %{SOURCE100}
  392. %__tar -xvf %{SOURCE101}
  393. %__tar -xvf %{SOURCE102}
  394. %__tar -xvf %{SOURCE103}
  395. %__tar -xvf %{SOURCE104}
  396. %__tar -xvf %{SOURCE105}
  397. %__tar -xvf %{SOURCE106}
  398. %__tar -xvf %{SOURCE107}
  399. %__tar -xvf %{SOURCE108}
  400. %__tar -xvf %{SOURCE109}
  401. %__tar -xvf %{SOURCE110}
  402. %__tar -xvf %{SOURCE111}
  403. %__tar -xvf %{SOURCE112}
  404. %__tar -xvf %{SOURCE113}
  405. %__tar -xvf %{SOURCE114}
  406. %__tar -xvf %{SOURCE115}
  407. %build
  408. %install
  409. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  410. %__mkdir_p %{buildroot}%{_datadir}
  411. ## move texmf-dist to /usr/share/texmf-dist
  412. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  413. ## move texmf to /usr/share/texmf
  414. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  415. ## move tlpkg to /usr/share/tlpkg
  416. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  417. ## move all non-arch binaries to /usr/bin
  418. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  419. ## move others into /usr/share/texmf-dist
  420. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  421. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  422. %__rm -rf * ||:
  423. ## remove duplicated files between texlive and texlive-collection-*
  424. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  425. ## remove unpacked files
  426. x=(
  427. scripts/epstopdf/epstopdf.pl
  428. scripts/texlive/fmtutil.sh
  429. texconfig/tcfmgr
  430. web2c/texmf.cnf
  431. web2c/updmap-hdr.cfg
  432. web2c/updmap.cfg
  433. install-tl
  434. )
  435. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  436. pushd %{buildroot}%{_tl_texmfdist}
  437. %__rm -f ${x[@]} ||:
  438. popd
  439. fi
  440. ## Files list
  441. find %{buildroot} -type f -or -type l | \
  442. %__sed -e "s|%{buildroot}||g" > filelist.full
  443. find %{buildroot}%{_tl_texmfdist} -type d | \
  444. %__sed -e "s|^%{buildroot}|%dir |" \
  445. -e "s|$|/|" >> filelist.full
  446. ## subpackages
  447. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  448. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  449. %__mv -f filelist.tmp filelist.full
  450. %clean
  451. %__rm -rf %{buildroot}
  452. %post
  453. %_tl_touch_run texhash
  454. %_tl_touch_run mtxrun
  455. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  456. %_tl_enable_map MixedMap arss.map
  457. %_tl_enable_map MixedMap artm.map
  458. %_tl_enable_map Map l7x-urwvn.map
  459. %_tl_touch_run fmtutil
  460. exit 0
  461. %postun
  462. if [ "$1" = 0 ]; then
  463. %_tl_touch_run texhash
  464. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  465. %_tl_disable_map arss.map
  466. %_tl_disable_map artm.map
  467. %_tl_disable_map l7x-urwvn.map
  468. fi
  469. exit 0
  470. %posttrans
  471. %{_tl_exec_texhash}
  472. %{_tl_exec_mtxrun}
  473. %{_tl_exec_updmap}
  474. %{_tl_exec_fmtutil}
  475. exit 0
  476. %files -f filelist.full
  477. %defattr(-,root,root,-)
  478. %files -f filelist.doc doc
  479. %defattr(-,root,root,-)
  480. %changelog
  481. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  482. - synced tlnet to 20141028
  483. * Sun Jul 6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  484. - synced tlnet to 20140706
  485. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  486. - synced tlnet to 20140524