[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[9955] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-4: |
---|
[9034] | 3 | ## tlpdb2rpmspec collection-langkorean |
---|
[1533] | 4 | |
---|
[5207] | 5 | %global _use_internal_dependency_generator 0 |
---|
| 6 | %global __find_provides %{nil} |
---|
| 7 | %global __find_requires %{nil} |
---|
| 8 | |
---|
[9034] | 9 | Summary: TeX Live: Korean |
---|
| 10 | Summary(ja): TeX Live: Korean |
---|
| 11 | Name: texlive-collection-langkorean |
---|
[9529] | 12 | Version: 2015 |
---|
[9955] | 13 | Release: 4%{?_dist_release} |
---|
[9529] | 14 | License: Freely redistributable without restriction, LPPL 1.3, LPPL, GFDL, OFSFLD |
---|
[1533] | 15 | Group: Applications/Publishing |
---|
| 16 | URL:http://www.tug.org/texlive/ |
---|
| 17 | |
---|
[9034] | 18 | Source0: cjk-ko.doc.tar.xz |
---|
| 19 | Source1: cjk-ko.tar.xz |
---|
| 20 | Source2: kotex-oblivoir.doc.tar.xz |
---|
| 21 | Source3: kotex-oblivoir.tar.xz |
---|
| 22 | Source4: kotex-plain.doc.tar.xz |
---|
| 23 | Source5: kotex-plain.tar.xz |
---|
| 24 | Source6: kotex-utf.doc.tar.xz |
---|
| 25 | Source7: kotex-utf.tar.xz |
---|
| 26 | Source8: kotex-utils.doc.tar.xz |
---|
| 27 | Source9: kotex-utils.tar.xz |
---|
| 28 | Source10: lshort-korean.doc.tar.xz |
---|
| 29 | Source11: lshort-korean.tar.xz |
---|
| 30 | Source12: nanumtype1.doc.tar.xz |
---|
| 31 | Source13: nanumtype1.tar.xz |
---|
| 32 | Source14: uhc.doc.tar.xz |
---|
| 33 | Source15: uhc.tar.xz |
---|
[7770] | 34 | |
---|
[1533] | 35 | Requires: texlive = %{version} |
---|
[9034] | 36 | Requires: texlive-collection-langcjk = %{version} |
---|
[1533] | 37 | |
---|
| 38 | Requires(post): texlive = %{version} |
---|
| 39 | Requires(postun): texlive = %{version} |
---|
| 40 | |
---|
| 41 | BuildArch: noarch |
---|
| 42 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 43 | |
---|
| 44 | Vendor: Project Vine |
---|
| 45 | Distribution: Vine Linux |
---|
| 46 | Packager: munepi |
---|
| 47 | |
---|
| 48 | %description |
---|
| 49 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 50 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 51 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 52 | of TeX documents in many different languages, and a large collection |
---|
| 53 | of TeX macros and font libraries. |
---|
| 54 | |
---|
| 55 | The distribution includes extensive general documentation about TeX, |
---|
| 56 | as well as the documentation for the included software packages. |
---|
| 57 | |
---|
[9034] | 58 | This package is a collection of Korean: |
---|
| 59 | Support for Korean; additional packages in collection-langcjk. |
---|
[1533] | 60 | |
---|
| 61 | This package contains the following CTAN packages: |
---|
[9034] | 62 | cjk-ko: Extension of the CJK package for Korean typesetting. |
---|
[9950] | 63 | kotex-oblivoir: A LaTeX document class for typesetting Korean documents |
---|
| 64 | kotex-plain: Macros for typesetting Korean under Plain TeX |
---|
| 65 | kotex-utf: Typeset Hangul, coded in UTF-8 |
---|
| 66 | kotex-utils: Utility scripts and support files for typesetting Korean |
---|
[9034] | 67 | lshort-korean: Korean introduction to LaTeX. |
---|
| 68 | nanumtype1: Type1 subfonts of Nanum Korean fonts. |
---|
| 69 | uhc: Fonts for the Korean language. |
---|
[1533] | 70 | |
---|
| 71 | %description -l ja |
---|
| 72 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 73 | さまざまな Unix, Macintosh, Windows、および |
---|
| 74 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 75 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 76 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 77 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 78 | 同梱しています。 |
---|
| 79 | |
---|
| 80 | このディストリビューションは |
---|
| 81 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 82 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 83 | |
---|
| 84 | このパッケージは以下のようなパッケージ集です。 |
---|
[9034] | 85 | Korean: |
---|
| 86 | Support for Korean; additional packages in collection-langcjk. |
---|
[1533] | 87 | |
---|
| 88 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
[9034] | 89 | cjk-ko: Extension of the CJK package for Korean typesetting. |
---|
[9950] | 90 | kotex-oblivoir: A LaTeX document class for typesetting Korean documents |
---|
| 91 | kotex-plain: Macros for typesetting Korean under Plain TeX |
---|
| 92 | kotex-utf: Typeset Hangul, coded in UTF-8 |
---|
| 93 | kotex-utils: Utility scripts and support files for typesetting Korean |
---|
[9034] | 94 | lshort-korean: Korean introduction to LaTeX. |
---|
| 95 | nanumtype1: Type1 subfonts of Nanum Korean fonts. |
---|
| 96 | uhc: Fonts for the Korean language. |
---|
[1533] | 97 | |
---|
| 98 | %package doc |
---|
| 99 | Summary: TeX Live: Documentation files of %{name} |
---|
| 100 | Group: Applications/Publishing |
---|
| 101 | Requires: %{name} = %{version}-%{release} |
---|
| 102 | |
---|
| 103 | %description doc |
---|
| 104 | This package contains documentation files of %{name}. |
---|
| 105 | |
---|
| 106 | %prep |
---|
[7770] | 107 | %setup -c -n %{name}-%{version} |
---|
| 108 | %__tar -xvf %{SOURCE1} |
---|
| 109 | %__tar -xvf %{SOURCE2} |
---|
| 110 | %__tar -xvf %{SOURCE3} |
---|
| 111 | %__tar -xvf %{SOURCE4} |
---|
| 112 | %__tar -xvf %{SOURCE5} |
---|
| 113 | %__tar -xvf %{SOURCE6} |
---|
| 114 | %__tar -xvf %{SOURCE7} |
---|
| 115 | %__tar -xvf %{SOURCE8} |
---|
| 116 | %__tar -xvf %{SOURCE9} |
---|
| 117 | %__tar -xvf %{SOURCE10} |
---|
| 118 | %__tar -xvf %{SOURCE11} |
---|
| 119 | %__tar -xvf %{SOURCE12} |
---|
| 120 | %__tar -xvf %{SOURCE13} |
---|
| 121 | %__tar -xvf %{SOURCE14} |
---|
[9034] | 122 | %__tar -xvf %{SOURCE15} |
---|
[1533] | 123 | |
---|
| 124 | %build |
---|
| 125 | |
---|
| 126 | %install |
---|
| 127 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 128 | |
---|
[7770] | 129 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 130 | |
---|
[7770] | 131 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 132 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 133 | |
---|
[7770] | 134 | ## move texmf to /usr/share/texmf |
---|
| 135 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 136 | |
---|
[7770] | 137 | ## move tlpkg to /usr/share/tlpkg |
---|
| 138 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
| 139 | |
---|
| 140 | ## move all non-arch binaries to /usr/bin |
---|
| 141 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
| 142 | |
---|
| 143 | ## move others into /usr/share/texmf-dist |
---|
| 144 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
| 145 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
| 146 | %__rm -rf * ||: |
---|
| 147 | |
---|
| 148 | |
---|
| 149 | ## remove duplicated files between texlive and texlive-collection-* |
---|
| 150 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
| 151 | ## remove unpacked files |
---|
| 152 | x=( |
---|
[9955] | 153 | dvipdfmx/dvipdfmx.cfg |
---|
[9576] | 154 | scripts/context/stubs/unix/mtxrun |
---|
| 155 | scripts/ptex2pdf/ptex2pdf.lua |
---|
| 156 | scripts/texlive/fmtutil.pl |
---|
[9529] | 157 | scripts/texlive/texconfig-dialog.sh |
---|
| 158 | scripts/texlive/texconfig-sys.sh |
---|
| 159 | scripts/texlive/texconfig.sh |
---|
| 160 | scripts/texlive/texlinks.sh |
---|
| 161 | scripts/texlive/tlmgr.pl |
---|
[9576] | 162 | scripts/texlive/updmap.pl |
---|
[9529] | 163 | texconfig/tcfmgr |
---|
[9576] | 164 | web2c/fmtutil.cnf |
---|
[9529] | 165 | web2c/mktex.opt |
---|
| 166 | web2c/mktexdir |
---|
| 167 | web2c/mktexdir.opt |
---|
| 168 | web2c/mktexnam |
---|
| 169 | web2c/mktexnam.opt |
---|
| 170 | web2c/mktexupd |
---|
| 171 | web2c/texmf.cnf |
---|
| 172 | web2c/updmap-hdr.cfg |
---|
| 173 | web2c/updmap.cfg |
---|
[9576] | 174 | install-tl |
---|
[9955] | 175 | # |
---|
| 176 | scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch |
---|
| 177 | scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch |
---|
| 178 | scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch |
---|
| 179 | scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch |
---|
| 180 | scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch |
---|
| 181 | scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch |
---|
| 182 | scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch |
---|
| 183 | scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch |
---|
| 184 | scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch |
---|
| 185 | scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch |
---|
| 186 | scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch |
---|
| 187 | scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch |
---|
| 188 | scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch |
---|
| 189 | scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch |
---|
| 190 | scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch |
---|
| 191 | scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch |
---|
| 192 | scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch |
---|
| 193 | scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch |
---|
| 194 | scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch |
---|
| 195 | scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch |
---|
| 196 | scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch |
---|
| 197 | scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch |
---|
[7770] | 198 | ) |
---|
| 199 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 200 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 201 | %__rm -f ${x[@]} ||: |
---|
[5207] | 202 | popd |
---|
[7770] | 203 | fi |
---|
| 204 | |
---|
[1533] | 205 | ## Files list |
---|
| 206 | find %{buildroot} -type f -or -type l | \ |
---|
| 207 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 208 | |
---|
[7770] | 209 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 210 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 211 | -e "s|$|/|" >> filelist.full |
---|
| 212 | |
---|
| 213 | ## subpackages |
---|
| 214 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 215 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 216 | %__mv -f filelist.tmp filelist.full |
---|
| 217 | |
---|
| 218 | %clean |
---|
| 219 | %__rm -rf %{buildroot} |
---|
| 220 | |
---|
| 221 | %post |
---|
[7770] | 222 | %_tl_touch_run texhash |
---|
| 223 | %_tl_touch_run mtxrun |
---|
[1533] | 224 | |
---|
[7770] | 225 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 226 | |
---|
[9034] | 227 | %_tl_enable_map Map nanumfonts.map |
---|
| 228 | %_tl_enable_map Map umj.map |
---|
[2505] | 229 | |
---|
[1533] | 230 | exit 0 |
---|
| 231 | |
---|
| 232 | |
---|
| 233 | %postun |
---|
| 234 | if [ "$1" = 0 ]; then |
---|
[7770] | 235 | %_tl_touch_run texhash |
---|
[1533] | 236 | |
---|
[7770] | 237 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 238 | |
---|
[9034] | 239 | %_tl_disable_map nanumfonts.map |
---|
| 240 | %_tl_disable_map umj.map |
---|
[1533] | 241 | |
---|
| 242 | fi |
---|
| 243 | |
---|
| 244 | exit 0 |
---|
| 245 | |
---|
[7148] | 246 | %posttrans |
---|
[7770] | 247 | %{_tl_exec_texhash} |
---|
| 248 | %{_tl_exec_mtxrun} |
---|
| 249 | %{_tl_exec_updmap} |
---|
| 250 | %{_tl_exec_fmtutil} |
---|
[7148] | 251 | exit 0 |
---|
| 252 | |
---|
| 253 | |
---|
[1533] | 254 | %files -f filelist.full |
---|
[5207] | 255 | %defattr(-,root,root,-) |
---|
[1533] | 256 | |
---|
| 257 | %files -f filelist.doc doc |
---|
[5207] | 258 | %defattr(-,root,root,-) |
---|
[1533] | 259 | |
---|
| 260 | %changelog |
---|
[9955] | 261 | * Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4 |
---|
| 262 | - remove duplicated files from texlive-collection-* |
---|
| 263 | - synced tlnet to 20160113 (TeX Live 2015) |
---|
| 264 | |
---|
[9950] | 265 | * Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3 |
---|
| 266 | - TeX Live 2016/dev |
---|
| 267 | - synced tlnet to 20160110 (TeX Live 2016/dev) |
---|
| 268 | |
---|
[9576] | 269 | * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2 |
---|
| 270 | - TeX Live 2015/pretest |
---|
| 271 | - synced tlnet to 20150522 (TeX Live 2015/pretest) |
---|
[9034] | 272 | |
---|
[9576] | 273 | * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1 |
---|
| 274 | - TeX Live 2015/pretest |
---|
| 275 | - synced tlnet to 20150426 (TeX Live 2015/pretest) |
---|
| 276 | |
---|
| 277 | * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4 |
---|
| 278 | - synced tlnet to 20150401 |
---|
| 279 | |
---|
| 280 | * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3 |
---|
| 281 | - synced tlnet to 20141028 |
---|
| 282 | |
---|
| 283 | * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2 |
---|
| 284 | - synced tlnet to 20140706 |
---|
| 285 | |
---|
| 286 | * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1 |
---|
| 287 | - upgraded to TeX Live 2014 |
---|
| 288 | |
---|
| 289 | * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6 |
---|
| 290 | - synced tlnet to 20140406 |
---|
| 291 | |
---|
| 292 | * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5 |
---|
| 293 | - synced tlnet to 20131218 |
---|
| 294 | |
---|
| 295 | * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4 |
---|
| 296 | - synced tlnet to 20131101 |
---|
| 297 | |
---|
| 298 | * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3 |
---|
| 299 | - synced tlnet to 20131002 |
---|
| 300 | |
---|
| 301 | * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2 |
---|
| 302 | - synced tlnet to 20130919 |
---|
| 303 | |
---|
| 304 | * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1 |
---|
| 305 | - upgraded to TeX Live 2013 |
---|
| 306 | - used tlnet archives |
---|
| 307 | - synced tlnet to 20130823 |
---|
| 308 | - added macros.texlive |
---|
| 309 | |
---|
| 310 | * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1 |
---|
| 311 | - updated to TeX Live 2012 |
---|
| 312 | |
---|
| 313 | * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2 |
---|
| 314 | - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in: |
---|
| 315 | - set external dependencies (texlive-collection-binextra, |
---|
| 316 | texlive-collection-fontutils) |
---|
| 317 | |
---|
| 318 | * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1 |
---|
| 319 | - updated to TeX Live 2011 |
---|
| 320 | - merged texlive-vtlpkg-2009-osx.patch from OSXWS |
---|
| 321 | - added %doc README (%files) |
---|
| 322 | |
---|
| 323 | * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4 |
---|
| 324 | - applied texlive-vtlpkg-2009-vine.patch |
---|
| 325 | - remove arch dependent binaries |
---|
| 326 | - updated tlpdb2rpmspec.sh.in: |
---|
| 327 | - improved tlpdb4a() |
---|
| 328 | - make symlinks of core script utils (texlive-collection-binextra, |
---|
| 329 | texlive-collection-context, texlive-collection-fontutils, |
---|
| 330 | texlive-collection-langgreek, texlive-collection-langindic, |
---|
| 331 | texlive-collection-latex, texlive-collection-latexextra, |
---|
| 332 | texlive-collection-latexrecommended, texlive-collection-pictures, |
---|
| 333 | texlive-collection-pstricks, texlive-collection-science) |
---|
| 334 | |
---|
| 335 | * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3 |
---|
| 336 | - updated tlpdb2rpmspec.sh.in: |
---|
| 337 | - improved %post |
---|
| 338 | |
---|
| 339 | * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2 |
---|
| 340 | - updated tlpdb2rpmspec.sh.in: |
---|
| 341 | - removed arch dependent binaries (texlive-collection-latexextra) |
---|
| 342 | - improved updmap process in %post and %postun |
---|
| 343 | - fixed perl path |
---|
| 344 | |
---|
| 345 | * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1 |
---|
| 346 | - initial build |
---|