[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[8744] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-2: |
---|
[1974] | 3 | ## tlpdb2rpmspec collection-fontutils |
---|
[1533] | 4 | |
---|
[5207] | 5 | %global _use_internal_dependency_generator 0 |
---|
| 6 | %global __find_provides %{nil} |
---|
| 7 | %global __find_requires %{nil} |
---|
| 8 | |
---|
[7148] | 9 | Summary: TeX Live: Graphics and font utilities |
---|
| 10 | Summary(ja): TeX Live: Graphics and font utilities |
---|
[1533] | 11 | Name: texlive-collection-fontutils |
---|
[8476] | 12 | Version: 2014 |
---|
[8744] | 13 | Release: 2%{?_dist_release} |
---|
[7148] | 14 | License: GPL+, Artistic, Freely redistributable without restriction, LPPL, GPLv2+, Public Domain |
---|
[1533] | 15 | Group: Applications/Publishing |
---|
| 16 | URL:http://www.tug.org/texlive/ |
---|
| 17 | |
---|
[7770] | 18 | Source0: accfonts.doc.tar.xz |
---|
| 19 | Source1: accfonts.tar.xz |
---|
| 20 | Source2: afm2pl.doc.tar.xz |
---|
| 21 | Source3: afm2pl.tar.xz |
---|
| 22 | Source4: dosepsbin.doc.tar.xz |
---|
| 23 | Source5: dosepsbin.source.tar.xz |
---|
| 24 | Source6: dosepsbin.tar.xz |
---|
| 25 | Source7: epstopdf.doc.tar.xz |
---|
| 26 | Source8: epstopdf.tar.xz |
---|
| 27 | Source9: fontware.doc.tar.xz |
---|
| 28 | Source10: fontware.tar.xz |
---|
| 29 | Source11: lcdftypetools.doc.tar.xz |
---|
| 30 | Source12: lcdftypetools.tar.xz |
---|
[8476] | 31 | Source13: ps2pkm.doc.tar.xz |
---|
| 32 | Source14: ps2pkm.tar.xz |
---|
| 33 | Source15: pstools.doc.tar.xz |
---|
| 34 | Source16: pstools.tar.xz |
---|
| 35 | Source17: psutils.doc.tar.xz |
---|
| 36 | Source18: psutils.tar.xz |
---|
| 37 | Source19: dvipsconfig.tar.xz |
---|
| 38 | Source20: fontinst.doc.tar.xz |
---|
| 39 | Source21: fontinst.source.tar.xz |
---|
| 40 | Source22: fontinst.tar.xz |
---|
| 41 | Source23: fontools.doc.tar.xz |
---|
| 42 | Source24: fontools.tar.xz |
---|
| 43 | Source25: mf2pt1.doc.tar.xz |
---|
| 44 | Source26: mf2pt1.tar.xz |
---|
| 45 | Source27: t1utils.doc.tar.xz |
---|
| 46 | Source28: t1utils.tar.xz |
---|
| 47 | Source29: ttfutils.doc.tar.xz |
---|
| 48 | Source30: ttfutils.tar.xz |
---|
[7770] | 49 | |
---|
[1533] | 50 | Requires: texlive = %{version} |
---|
| 51 | Requires: texlive-collection-basic = %{version} |
---|
[5250] | 52 | Requires: lcdf-typetools |
---|
| 53 | Requires: psutils |
---|
| 54 | Requires: t1utils |
---|
[1533] | 55 | |
---|
| 56 | Requires(post): texlive = %{version} |
---|
| 57 | Requires(postun): texlive = %{version} |
---|
| 58 | |
---|
| 59 | BuildArch: noarch |
---|
| 60 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 61 | |
---|
| 62 | Vendor: Project Vine |
---|
| 63 | Distribution: Vine Linux |
---|
| 64 | Packager: munepi |
---|
| 65 | |
---|
| 66 | %description |
---|
| 67 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 68 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 69 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 70 | of TeX documents in many different languages, and a large collection |
---|
| 71 | of TeX macros and font libraries. |
---|
| 72 | |
---|
| 73 | The distribution includes extensive general documentation about TeX, |
---|
| 74 | as well as the documentation for the included software packages. |
---|
| 75 | |
---|
[7148] | 76 | This package is a collection of Graphics and font utilities: |
---|
[1533] | 77 | Programs for conversion between font formats, testing fonts, |
---|
| 78 | virtual fonts, .gf and .pk manipulation, mft, fontinst, etc. |
---|
[7770] | 79 | Manipulating OpenType, TrueType, Type 1,and for manipulation of |
---|
| 80 | PostScript and other image formats. |
---|
[1533] | 81 | |
---|
| 82 | This package contains the following CTAN packages: |
---|
| 83 | accfonts: Utilities to derive new fonts from existing ones. |
---|
| 84 | afm2pl: |
---|
[7148] | 85 | dosepsbin: Deal with DOS binary EPS files. |
---|
[8744] | 86 | epstopdf: Convert EPS to 'encapsulated' PDF using Ghostscript. |
---|
[1533] | 87 | fontware: |
---|
| 88 | lcdftypetools: A bundle of outline font manipulation tools. |
---|
| 89 | ps2pkm: Generate a PK font from an Adobe Type 1 font. |
---|
| 90 | pstools: Produce Encapsulated PostScript from PostScript. |
---|
| 91 | psutils: PostScript utilities. |
---|
| 92 | dvipsconfig: Collection of dvips PostScript headers. |
---|
| 93 | fontinst: Help with installing fonts for TeX and LaTeX. |
---|
| 94 | fontools: Tools to simplify using fonts (especially TT/OTF ones). |
---|
[7148] | 95 | mf2pt1: Produce PostScript Type 1 fonts from Metafont source. |
---|
[1533] | 96 | t1utils: Simple Type 1 font manipulation programs. |
---|
| 97 | ttfutils: |
---|
| 98 | |
---|
| 99 | %description -l ja |
---|
| 100 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 101 | さまざまな Unix, Macintosh, Windows、および |
---|
| 102 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 103 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 104 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 105 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 106 | 同梱しています。 |
---|
| 107 | |
---|
| 108 | このディストリビューションは |
---|
| 109 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 110 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 111 | |
---|
| 112 | このパッケージは以下のようなパッケージ集です。 |
---|
[7148] | 113 | Graphics and font utilities: |
---|
[1533] | 114 | Programs for conversion between font formats, testing fonts, |
---|
| 115 | virtual fonts, .gf and .pk manipulation, mft, fontinst, etc. |
---|
[7770] | 116 | Manipulating OpenType, TrueType, Type 1,and for manipulation of |
---|
| 117 | PostScript and other image formats. |
---|
[1533] | 118 | |
---|
| 119 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
| 120 | accfonts: Utilities to derive new fonts from existing ones. |
---|
| 121 | afm2pl: |
---|
[7148] | 122 | dosepsbin: Deal with DOS binary EPS files. |
---|
[8744] | 123 | epstopdf: Convert EPS to 'encapsulated' PDF using Ghostscript. |
---|
[1533] | 124 | fontware: |
---|
| 125 | lcdftypetools: A bundle of outline font manipulation tools. |
---|
| 126 | ps2pkm: Generate a PK font from an Adobe Type 1 font. |
---|
| 127 | pstools: Produce Encapsulated PostScript from PostScript. |
---|
| 128 | psutils: PostScript utilities. |
---|
| 129 | dvipsconfig: Collection of dvips PostScript headers. |
---|
| 130 | fontinst: Help with installing fonts for TeX and LaTeX. |
---|
| 131 | fontools: Tools to simplify using fonts (especially TT/OTF ones). |
---|
[7148] | 132 | mf2pt1: Produce PostScript Type 1 fonts from Metafont source. |
---|
[1533] | 133 | t1utils: Simple Type 1 font manipulation programs. |
---|
| 134 | ttfutils: |
---|
| 135 | |
---|
| 136 | %package doc |
---|
| 137 | Summary: TeX Live: Documentation files of %{name} |
---|
| 138 | Group: Applications/Publishing |
---|
| 139 | Requires: %{name} = %{version}-%{release} |
---|
| 140 | |
---|
| 141 | %description doc |
---|
| 142 | This package contains documentation files of %{name}. |
---|
| 143 | |
---|
| 144 | %prep |
---|
[7770] | 145 | %setup -c -n %{name}-%{version} |
---|
| 146 | %__tar -xvf %{SOURCE1} |
---|
| 147 | %__tar -xvf %{SOURCE2} |
---|
| 148 | %__tar -xvf %{SOURCE3} |
---|
| 149 | %__tar -xvf %{SOURCE4} |
---|
| 150 | %__tar -xvf %{SOURCE5} |
---|
| 151 | %__tar -xvf %{SOURCE6} |
---|
| 152 | %__tar -xvf %{SOURCE7} |
---|
| 153 | %__tar -xvf %{SOURCE8} |
---|
| 154 | %__tar -xvf %{SOURCE9} |
---|
| 155 | %__tar -xvf %{SOURCE10} |
---|
| 156 | %__tar -xvf %{SOURCE11} |
---|
| 157 | %__tar -xvf %{SOURCE12} |
---|
| 158 | %__tar -xvf %{SOURCE13} |
---|
| 159 | %__tar -xvf %{SOURCE14} |
---|
| 160 | %__tar -xvf %{SOURCE15} |
---|
| 161 | %__tar -xvf %{SOURCE16} |
---|
| 162 | %__tar -xvf %{SOURCE17} |
---|
| 163 | %__tar -xvf %{SOURCE18} |
---|
| 164 | %__tar -xvf %{SOURCE19} |
---|
| 165 | %__tar -xvf %{SOURCE20} |
---|
| 166 | %__tar -xvf %{SOURCE21} |
---|
| 167 | %__tar -xvf %{SOURCE22} |
---|
| 168 | %__tar -xvf %{SOURCE23} |
---|
| 169 | %__tar -xvf %{SOURCE24} |
---|
| 170 | %__tar -xvf %{SOURCE25} |
---|
| 171 | %__tar -xvf %{SOURCE26} |
---|
| 172 | %__tar -xvf %{SOURCE27} |
---|
| 173 | %__tar -xvf %{SOURCE28} |
---|
| 174 | %__tar -xvf %{SOURCE29} |
---|
[8476] | 175 | %__tar -xvf %{SOURCE30} |
---|
[1533] | 176 | |
---|
| 177 | %build |
---|
| 178 | |
---|
| 179 | %install |
---|
| 180 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 181 | |
---|
[7770] | 182 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 183 | |
---|
[7770] | 184 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 185 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 186 | |
---|
[7770] | 187 | ## move texmf to /usr/share/texmf |
---|
| 188 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 189 | |
---|
[7770] | 190 | ## move tlpkg to /usr/share/tlpkg |
---|
| 191 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
| 192 | |
---|
| 193 | ## move all non-arch binaries to /usr/bin |
---|
| 194 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
| 195 | |
---|
| 196 | ## move others into /usr/share/texmf-dist |
---|
| 197 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
| 198 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
| 199 | %__rm -rf * ||: |
---|
| 200 | |
---|
| 201 | |
---|
| 202 | ## remove duplicated files between texlive and texlive-collection-* |
---|
| 203 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
| 204 | ## remove unpacked files |
---|
| 205 | x=( |
---|
[8744] | 206 | scripts/epstopdf/epstopdf.pl |
---|
| 207 | scripts/texlive/fmtutil.sh |
---|
| 208 | texconfig/tcfmgr |
---|
| 209 | web2c/texmf.cnf |
---|
| 210 | web2c/updmap-hdr.cfg |
---|
| 211 | web2c/updmap.cfg |
---|
[7770] | 212 | install-tl |
---|
| 213 | ) |
---|
| 214 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 215 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 216 | %__rm -f ${x[@]} ||: |
---|
[3944] | 217 | popd |
---|
[7770] | 218 | fi |
---|
| 219 | |
---|
[1533] | 220 | ## Files list |
---|
| 221 | find %{buildroot} -type f -or -type l | \ |
---|
| 222 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 223 | |
---|
[7770] | 224 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 225 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 226 | -e "s|$|/|" >> filelist.full |
---|
| 227 | |
---|
| 228 | ## subpackages |
---|
| 229 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 230 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 231 | %__mv -f filelist.tmp filelist.full |
---|
| 232 | |
---|
| 233 | %clean |
---|
| 234 | %__rm -rf %{buildroot} |
---|
| 235 | |
---|
| 236 | %post |
---|
[7770] | 237 | %_tl_touch_run texhash |
---|
| 238 | %_tl_touch_run mtxrun |
---|
[1533] | 239 | |
---|
| 240 | exit 0 |
---|
| 241 | |
---|
| 242 | |
---|
| 243 | %postun |
---|
| 244 | if [ "$1" = 0 ]; then |
---|
[7770] | 245 | %_tl_touch_run texhash |
---|
[1533] | 246 | |
---|
| 247 | fi |
---|
| 248 | |
---|
| 249 | exit 0 |
---|
| 250 | |
---|
[7148] | 251 | %posttrans |
---|
[7770] | 252 | %{_tl_exec_texhash} |
---|
| 253 | %{_tl_exec_mtxrun} |
---|
| 254 | %{_tl_exec_updmap} |
---|
| 255 | %{_tl_exec_fmtutil} |
---|
[7148] | 256 | exit 0 |
---|
| 257 | |
---|
| 258 | |
---|
[1533] | 259 | %files -f filelist.full |
---|
[5207] | 260 | %defattr(-,root,root,-) |
---|
[1533] | 261 | |
---|
| 262 | %files -f filelist.doc doc |
---|
[5207] | 263 | %defattr(-,root,root,-) |
---|
[1533] | 264 | |
---|
| 265 | %changelog |
---|
[8744] | 266 | * Sun Jul 6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2 |
---|
| 267 | - synced tlnet to 20140706 |
---|
| 268 | |
---|
[8476] | 269 | * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1 |
---|
[8744] | 270 | - synced tlnet to 20140524 |
---|