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