[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[9529] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-1: |
---|
[1974] | 3 | ## tlpdb2rpmspec collection-plainextra |
---|
[1533] | 4 | |
---|
[5207] | 5 | %global _use_internal_dependency_generator 0 |
---|
| 6 | %global __find_provides %{nil} |
---|
| 7 | %global __find_requires %{nil} |
---|
| 8 | |
---|
[7770] | 9 | Summary: TeX Live: Plain TeX packages |
---|
| 10 | Summary(ja): TeX Live: Plain TeX packages |
---|
[1533] | 11 | Name: texlive-collection-plainextra |
---|
[9529] | 12 | Version: 2015 |
---|
| 13 | Release: 1%{?_dist_release} |
---|
| 14 | License: Public Domain, Freely redistributable without restriction, LPPL, GPL+ |
---|
[1533] | 15 | Group: Applications/Publishing |
---|
| 16 | URL:http://www.tug.org/texlive/ |
---|
| 17 | |
---|
[9529] | 18 | Source0: epsf-dvipdfmx.doc.tar.xz |
---|
| 19 | Source1: epsf-dvipdfmx.tar.xz |
---|
| 20 | Source2: figflow.doc.tar.xz |
---|
| 21 | Source3: figflow.tar.xz |
---|
| 22 | Source4: fixpdfmag.tar.xz |
---|
| 23 | Source5: font-change.doc.tar.xz |
---|
| 24 | Source6: font-change.tar.xz |
---|
| 25 | Source7: fontch.doc.tar.xz |
---|
| 26 | Source8: fontch.tar.xz |
---|
| 27 | Source9: getoptk.doc.tar.xz |
---|
| 28 | Source10: getoptk.tar.xz |
---|
| 29 | Source11: graphics-pln.doc.tar.xz |
---|
| 30 | Source12: graphics-pln.source.tar.xz |
---|
| 31 | Source13: graphics-pln.tar.xz |
---|
| 32 | Source14: hyplain.doc.tar.xz |
---|
| 33 | Source15: hyplain.tar.xz |
---|
| 34 | Source16: js-misc.doc.tar.xz |
---|
| 35 | Source17: js-misc.tar.xz |
---|
| 36 | Source18: mkpattern.doc.tar.xz |
---|
| 37 | Source19: mkpattern.tar.xz |
---|
| 38 | Source20: newsletr.doc.tar.xz |
---|
| 39 | Source21: newsletr.tar.xz |
---|
| 40 | Source22: pitex.doc.tar.xz |
---|
| 41 | Source23: pitex.tar.xz |
---|
| 42 | Source24: placeins-plain.tar.xz |
---|
| 43 | Source25: plipsum.doc.tar.xz |
---|
| 44 | Source26: plipsum.tar.xz |
---|
| 45 | Source27: plnfss.doc.tar.xz |
---|
| 46 | Source28: plnfss.tar.xz |
---|
| 47 | Source29: plstmary.doc.tar.xz |
---|
| 48 | Source30: plstmary.tar.xz |
---|
| 49 | Source31: present.doc.tar.xz |
---|
| 50 | Source32: present.tar.xz |
---|
| 51 | Source33: resumemac.doc.tar.xz |
---|
| 52 | Source34: resumemac.tar.xz |
---|
| 53 | Source35: texinfo.tar.xz |
---|
| 54 | Source36: timetable.tar.xz |
---|
| 55 | Source37: treetex.doc.tar.xz |
---|
| 56 | Source38: treetex.tar.xz |
---|
| 57 | Source39: varisize.doc.tar.xz |
---|
| 58 | Source40: varisize.tar.xz |
---|
| 59 | Source41: xii.doc.tar.xz |
---|
| 60 | Source42: xii.tar.xz |
---|
[7770] | 61 | |
---|
[1533] | 62 | Requires: texlive = %{version} |
---|
| 63 | Requires: texlive-collection-basic = %{version} |
---|
| 64 | |
---|
| 65 | Requires(post): texlive = %{version} |
---|
| 66 | Requires(postun): texlive = %{version} |
---|
| 67 | |
---|
| 68 | BuildArch: noarch |
---|
| 69 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 70 | |
---|
| 71 | Vendor: Project Vine |
---|
| 72 | Distribution: Vine Linux |
---|
| 73 | Packager: munepi |
---|
| 74 | |
---|
| 75 | %description |
---|
| 76 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 77 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 78 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 79 | of TeX documents in many different languages, and a large collection |
---|
| 80 | of TeX macros and font libraries. |
---|
| 81 | |
---|
| 82 | The distribution includes extensive general documentation about TeX, |
---|
| 83 | as well as the documentation for the included software packages. |
---|
| 84 | |
---|
[7770] | 85 | This package is a collection of Plain TeX packages: |
---|
[1533] | 86 | Add-on packages and macros that work with plain TeX. |
---|
| 87 | |
---|
| 88 | This package contains the following CTAN packages: |
---|
[9529] | 89 | epsf-dvipdfmx: Plain TeX file for using epsf.tex with (x)dvipdfmx. |
---|
[1533] | 90 | figflow: Flow text around a figure. |
---|
| 91 | fixpdfmag: Fix magnification in PDFTeX. |
---|
[8476] | 92 | font-change: Macros to change text and mathematics fonts in plain TeX. |
---|
[1533] | 93 | fontch: Changing fonts, sizes and encodings in Plain TeX. |
---|
[7148] | 94 | getoptk: Define macros with sophisticated options. |
---|
[5207] | 95 | graphics-pln: LaTeX-style graphics for Plain TeX users. |
---|
[1533] | 96 | hyplain: Basic support for multiple languages in Plain TeX. |
---|
[5207] | 97 | js-misc: Miscellaneous macros from Joachim Schrod. |
---|
[1533] | 98 | mkpattern: A utility for making hyphenation patterns. |
---|
| 99 | newsletr: Macros for making newsletters with Plain TeX. |
---|
[5207] | 100 | pitex: Documentation macros. |
---|
[1533] | 101 | placeins-plain: Insertions that keep their place. |
---|
[7770] | 102 | plipsum: 'Lorem ipsum' for Plain TeX developers. |
---|
[1533] | 103 | plnfss: Font selection for Plain TeX. |
---|
[7770] | 104 | plstmary: St. Mary's Road font support for plain TeX. |
---|
[5207] | 105 | present: Presentations with Plain TeX. |
---|
[1533] | 106 | resumemac: Plain TeX macros for resumes. |
---|
[7770] | 107 | texinfo: Texinfo documentation system. |
---|
[1533] | 108 | timetable: Generate timetables. |
---|
| 109 | treetex: Draw trees. |
---|
| 110 | varisize: Change font size in Plain TeX. |
---|
[7810] | 111 | xii: Christmas silliness. |
---|
[1533] | 112 | |
---|
| 113 | %description -l ja |
---|
| 114 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 115 | さまざまな Unix, Macintosh, Windows、および |
---|
| 116 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 117 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 118 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 119 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 120 | 同梱しています。 |
---|
| 121 | |
---|
| 122 | このディストリビューションは |
---|
| 123 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 124 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 125 | |
---|
| 126 | このパッケージは以下のようなパッケージ集です。 |
---|
[7770] | 127 | Plain TeX packages: |
---|
[1533] | 128 | Add-on packages and macros that work with plain TeX. |
---|
| 129 | |
---|
| 130 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
[9529] | 131 | epsf-dvipdfmx: Plain TeX file for using epsf.tex with (x)dvipdfmx. |
---|
[1533] | 132 | figflow: Flow text around a figure. |
---|
| 133 | fixpdfmag: Fix magnification in PDFTeX. |
---|
[8476] | 134 | font-change: Macros to change text and mathematics fonts in plain TeX. |
---|
[1533] | 135 | fontch: Changing fonts, sizes and encodings in Plain TeX. |
---|
[7148] | 136 | getoptk: Define macros with sophisticated options. |
---|
[5207] | 137 | graphics-pln: LaTeX-style graphics for Plain TeX users. |
---|
[1533] | 138 | hyplain: Basic support for multiple languages in Plain TeX. |
---|
[5207] | 139 | js-misc: Miscellaneous macros from Joachim Schrod. |
---|
[1533] | 140 | mkpattern: A utility for making hyphenation patterns. |
---|
| 141 | newsletr: Macros for making newsletters with Plain TeX. |
---|
[5207] | 142 | pitex: Documentation macros. |
---|
[1533] | 143 | placeins-plain: Insertions that keep their place. |
---|
[7770] | 144 | plipsum: 'Lorem ipsum' for Plain TeX developers. |
---|
[1533] | 145 | plnfss: Font selection for Plain TeX. |
---|
[7770] | 146 | plstmary: St. Mary's Road font support for plain TeX. |
---|
[5207] | 147 | present: Presentations with Plain TeX. |
---|
[1533] | 148 | resumemac: Plain TeX macros for resumes. |
---|
[7770] | 149 | texinfo: Texinfo documentation system. |
---|
[1533] | 150 | timetable: Generate timetables. |
---|
| 151 | treetex: Draw trees. |
---|
| 152 | varisize: Change font size in Plain TeX. |
---|
[7810] | 153 | xii: Christmas silliness. |
---|
[1533] | 154 | |
---|
| 155 | %package doc |
---|
| 156 | Summary: TeX Live: Documentation files of %{name} |
---|
| 157 | Group: Applications/Publishing |
---|
| 158 | Requires: %{name} = %{version}-%{release} |
---|
| 159 | |
---|
| 160 | %description doc |
---|
| 161 | This package contains documentation files of %{name}. |
---|
| 162 | |
---|
| 163 | %prep |
---|
[7770] | 164 | %setup -c -n %{name}-%{version} |
---|
| 165 | %__tar -xvf %{SOURCE1} |
---|
| 166 | %__tar -xvf %{SOURCE2} |
---|
| 167 | %__tar -xvf %{SOURCE3} |
---|
| 168 | %__tar -xvf %{SOURCE4} |
---|
| 169 | %__tar -xvf %{SOURCE5} |
---|
| 170 | %__tar -xvf %{SOURCE6} |
---|
| 171 | %__tar -xvf %{SOURCE7} |
---|
| 172 | %__tar -xvf %{SOURCE8} |
---|
| 173 | %__tar -xvf %{SOURCE9} |
---|
| 174 | %__tar -xvf %{SOURCE10} |
---|
| 175 | %__tar -xvf %{SOURCE11} |
---|
| 176 | %__tar -xvf %{SOURCE12} |
---|
| 177 | %__tar -xvf %{SOURCE13} |
---|
| 178 | %__tar -xvf %{SOURCE14} |
---|
| 179 | %__tar -xvf %{SOURCE15} |
---|
| 180 | %__tar -xvf %{SOURCE16} |
---|
| 181 | %__tar -xvf %{SOURCE17} |
---|
| 182 | %__tar -xvf %{SOURCE18} |
---|
| 183 | %__tar -xvf %{SOURCE19} |
---|
| 184 | %__tar -xvf %{SOURCE20} |
---|
| 185 | %__tar -xvf %{SOURCE21} |
---|
| 186 | %__tar -xvf %{SOURCE22} |
---|
| 187 | %__tar -xvf %{SOURCE23} |
---|
| 188 | %__tar -xvf %{SOURCE24} |
---|
| 189 | %__tar -xvf %{SOURCE25} |
---|
| 190 | %__tar -xvf %{SOURCE26} |
---|
| 191 | %__tar -xvf %{SOURCE27} |
---|
| 192 | %__tar -xvf %{SOURCE28} |
---|
| 193 | %__tar -xvf %{SOURCE29} |
---|
| 194 | %__tar -xvf %{SOURCE30} |
---|
| 195 | %__tar -xvf %{SOURCE31} |
---|
| 196 | %__tar -xvf %{SOURCE32} |
---|
| 197 | %__tar -xvf %{SOURCE33} |
---|
| 198 | %__tar -xvf %{SOURCE34} |
---|
| 199 | %__tar -xvf %{SOURCE35} |
---|
| 200 | %__tar -xvf %{SOURCE36} |
---|
| 201 | %__tar -xvf %{SOURCE37} |
---|
| 202 | %__tar -xvf %{SOURCE38} |
---|
[7810] | 203 | %__tar -xvf %{SOURCE39} |
---|
| 204 | %__tar -xvf %{SOURCE40} |
---|
[9529] | 205 | %__tar -xvf %{SOURCE41} |
---|
| 206 | %__tar -xvf %{SOURCE42} |
---|
[1533] | 207 | |
---|
| 208 | %build |
---|
| 209 | |
---|
| 210 | %install |
---|
| 211 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 212 | |
---|
[7770] | 213 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 214 | |
---|
[7770] | 215 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 216 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 217 | |
---|
[7770] | 218 | ## move texmf to /usr/share/texmf |
---|
| 219 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 220 | |
---|
[7770] | 221 | ## move tlpkg to /usr/share/tlpkg |
---|
| 222 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
| 223 | |
---|
| 224 | ## move all non-arch binaries to /usr/bin |
---|
| 225 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
| 226 | |
---|
| 227 | ## move others into /usr/share/texmf-dist |
---|
| 228 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
| 229 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
| 230 | %__rm -rf * ||: |
---|
| 231 | |
---|
| 232 | |
---|
| 233 | ## remove duplicated files between texlive and texlive-collection-* |
---|
| 234 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
| 235 | ## remove unpacked files |
---|
| 236 | x=( |
---|
[9529] | 237 | scripts/texlive/texconfig-dialog.sh |
---|
| 238 | scripts/texlive/texconfig-sys.sh |
---|
| 239 | scripts/texlive/texconfig.sh |
---|
| 240 | scripts/texlive/texlinks.sh |
---|
| 241 | scripts/texlive/tlmgr.pl |
---|
| 242 | texconfig/tcfmgr |
---|
| 243 | web2c/mktex.opt |
---|
| 244 | web2c/mktexdir |
---|
| 245 | web2c/mktexdir.opt |
---|
| 246 | web2c/mktexnam |
---|
| 247 | web2c/mktexnam.opt |
---|
| 248 | web2c/mktexupd |
---|
| 249 | web2c/texmf.cnf |
---|
| 250 | web2c/updmap-hdr.cfg |
---|
| 251 | web2c/updmap.cfg |
---|
[7770] | 252 | ) |
---|
| 253 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 254 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 255 | %__rm -f ${x[@]} ||: |
---|
[5207] | 256 | popd |
---|
[7770] | 257 | fi |
---|
| 258 | |
---|
[1533] | 259 | ## Files list |
---|
| 260 | find %{buildroot} -type f -or -type l | \ |
---|
| 261 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 262 | |
---|
[7770] | 263 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 264 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 265 | -e "s|$|/|" >> filelist.full |
---|
| 266 | |
---|
| 267 | ## subpackages |
---|
| 268 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 269 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 270 | %__mv -f filelist.tmp filelist.full |
---|
| 271 | |
---|
| 272 | %clean |
---|
| 273 | %__rm -rf %{buildroot} |
---|
| 274 | |
---|
| 275 | %post |
---|
[7770] | 276 | %_tl_touch_run texhash |
---|
| 277 | %_tl_touch_run mtxrun |
---|
[1533] | 278 | |
---|
| 279 | exit 0 |
---|
| 280 | |
---|
| 281 | |
---|
| 282 | %postun |
---|
| 283 | if [ "$1" = 0 ]; then |
---|
[7770] | 284 | %_tl_touch_run texhash |
---|
[1533] | 285 | |
---|
| 286 | fi |
---|
| 287 | |
---|
| 288 | exit 0 |
---|
| 289 | |
---|
[7148] | 290 | %posttrans |
---|
[7770] | 291 | %{_tl_exec_texhash} |
---|
| 292 | %{_tl_exec_mtxrun} |
---|
| 293 | %{_tl_exec_updmap} |
---|
| 294 | %{_tl_exec_fmtutil} |
---|
[7148] | 295 | exit 0 |
---|
| 296 | |
---|
| 297 | |
---|
[1533] | 298 | %files -f filelist.full |
---|
[5207] | 299 | %defattr(-,root,root,-) |
---|
[1533] | 300 | |
---|
| 301 | %files -f filelist.doc doc |
---|
[5207] | 302 | %defattr(-,root,root,-) |
---|
[1533] | 303 | |
---|
| 304 | %changelog |
---|
[9034] | 305 | |
---|