123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781 |
- # -*- coding: utf-8-unix -*-
- %bcond_with firstbuild
- %global _use_internal_dependency_generator 0
- %global __find_provides %{SOURCE99}
- %global __find_requires %{SOURCE98}
- %global texlivesrcver 20160523
- Summary: The TeX text formatting system
- Summary(ja): TeX 文書整形システム
- Name: texlive
- Version: 2016
- Release: 3%{?_dist_release}
- License: distributable
- Group: Applications/Publishing
- URL: http://www.tug.org/texlive/
- ## original TeX Live source
- # Source: http://ftp.tug.org/texlive/Images/test/%{name}-%{texlivesrcver}-source.tar.xz
- Source: ftp://tug.org/historic/systems/texlive/%{version}/%{name}-%{texlivesrcver}-source.tar.xz
- ## snapshot
- # $ rsync -a --delete --exclude=.svn tug.org::tldevsrc/Build/source/ texlive-source-YYYYMMDD
- # $ tar -cf - texlive-source-YYYYMMDD | pxz -9 > texlive-source-YYYYMMDD.tar.xz
- # Source: %{name}-source-%{texlivesrcver}.tar.xz
- ## our updmap{,-hdr}.cfg from collection-basic 20140524
- # NOTE: fmtutil.cnf, texmf.cnf: use the conf files generated from Source0
- Source6: updmap-hdr.cfg.texlive-%{texlivesrcver}
- Source7: updmap.cfg.texlive-%{texlivesrcver}
- ## desktop files
- Source11: texdoctk.desktop
- Source98: find-requires-texlive.sh
- ## find library sonames for libkpathsea, libptexenc, and libsynctex
- Source99: find-provides-texlive.sh
- ######
- # TeX patches
- ######
- ## vine
- Patch0: reautoconf-parallel.diff
- #Patch1: texlive-%{texlivesrcver}-vine.patch
- Patch2: texlive-%{texlivesrcver}-texmfcnf-vine.patch
- Patch3: texlive-%{texlivesrcver}-set-selfautoparent-vine.patch
- #Patch4: texlive-%{texlivesrcver}-fmtutilcnf-vine.patch
- #Patch10: texlive-%{texlivesrcver}-pxdvik-vine.patch
- ## security
- Requires: perl-Tk perl-Tk-TableMatrix
- Requires: ghostscript >= 8.71
- Requires: nkf
- Requires(post,postun): fontconfig
- Requires(post): ed mktemp
- Requires(post): vutils >= 7.1
- %{!?with_firstbuild:Requires: texlive-common = %{version}}
- BuildRequires: autoconf >= 2.68
- BuildRequires: bison flex
- BuildRequires: bzip2-devel
- BuildRequires: cairo-devel >= 1.12
- BuildRequires: fontconfig-devel
- BuildRequires: freetype2-devel >= 2.1.10
- BuildRequires: gd-devel
- BuildRequires: libjpeg-devel
- BuildRequires: libpng-devel >= 1.6
- BuildRequires: ncurses-devel
- BuildRequires: nkf
- BuildRequires: openssl-devel
- BuildRequires: pixman-devel >= 0.18
- #BuildRequires: poppler-devel >= 0.26
- BuildRequires: xorg-x11-devel
- BuildRequires: zlib-devel
- ## use distro's libpaper
- #BuildRequires: libpaper-devel >= 1.1.24-2
- ## do not xdvi(k)
- #BuildRequires: XOrg-devel
- #BuildRequires: openMotif-devel
- ## needs to build pxdvi
- #BuildRequires: t1lib-devel
- BuildRequires: texlive-vtlpkg = %{version}
- Buildroot: %{_tmppath}/%{name}-%{version}-root
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: munepi
- %description
- The TeX Live software distribution offers a complete TeX system for a
- variety of Unix, Macintosh, Windows and other platforms. It
- encompasses programs for editing, typesetting, previewing and printing
- of TeX documents in many different languages, and a large collection
- of TeX macros and font libraries.
- The distribution includes extensive general documentation about TeX,
- as well as the documentation for the included software packages.
- %description -l ja
- TeX Live ソフトウェアディストリビューションは、
- さまざまな Unix, Macintosh, Windows、および
- 他のプラットホームに対して完全な TeX システムを提供します。
- 多くの異なった言語を含む TeX ドキュメントの
- 編集、組版、閲覧、印刷するためのプログラム、
- そして、TeX マクロやフォントライブラリの大きなコレクションを
- 同梱しています。
- このディストリビューションは
- 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
- TeX に関するたくさんの一般的なドキュメントを含んでいます。
- %package doc
- Summary: TeX Live: Documentation files of %{name}
- Group: Applications/Publishing
- Requires: %{name} = %{version}-%{release}
- BuildArch: noarch
- %description doc
- This package contains documentation files of %{name}.
- %package -n libkpathsea
- Summary: path search library for the TeX Live
- Summary(ja): TeX Live 用パス検索ライブラリ
- Group: System Environment/Libraries
- %description -n libkpathsea
- This package includes runtime part of the Kpathsea library.
- %package -n libkpathsea-devel
- Summary: path search libary and header files for the TeX Live
- Summary(ja): TeX Live 用パス検索ライブラリとヘッダファイル
- Group: Development/Libraries
- Requires: libkpathsea = %{version}-%{release}
- %description -n libkpathsea-devel
- This package includes static library and header files of the Kpathsea library.
- %package -n libptexenc
- Summary: Kanji code convert library for Japanese pTeX
- Summary(ja): 日本語 pTeX 用漢字コード変換ライブラリ
- Group: System Environment/Libraries
- Requires: libkpathsea = %{version}-%{release}
- %description -n libptexenc
- This package includes runtime part of the ptexenc library.
- %package -n libptexenc-devel
- Summary: Kanji code convert library and header files for Japanese pTeX
- Summary(ja): 日本語 pTeX 用漢字コード変換ライブラリとヘッダファイル
- Group: Development/Libraries
- Requires: libptexenc = %{version}-%{release}
- %description -n libptexenc-devel
- This package includes header files of the ptexenc library.
- %package -n libsynctex
- Summary: SyncTeX library
- Group: System Environment/Libraries
- %description -n libsynctex
- This package includes the runtime part of SyncTeX library.
- %package -n libsynctex-devel
- Summary: SyncTeX header files
- Group: Development/Libraries
- Requires: libsynctex = %{version}-%{release}
- %description -n libsynctex-devel
- This package includes the header files of SyncTeX library.
- %prep
- [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
- %setup -q -n %{name}-%{texlivesrcver}-source
- #% setup -q -n %{name}-source-%{texlivesrcver}
- %patch0 -p0 -b .parallel
- # %patch1 -p1 -b .vine
- %patch2 -p1 -b .vine
- %patch3 -p1 -b .vine
- # %patch4 -p1 -b .vine
- # ## Applying tlptexlive that provides pxdvi(k) and pmpost
- # echo "applying patches"
- # cat "$(pwd)/build-tlptexlive-%{tlptexlivesrcver}/patches/series" | while read p r ; do
- # echo $p | grep '^#' >/dev/null || \
- # patch -p1 $r < "$(pwd)/build-tlptexlive-%{tlptexlivesrcver}/patches/$p" || exit 1
- # done
- ## Avoid pollution from internal libraries.
- #,paper,poppler,xpdf
- %__rm -rf ./libs/{cairo,expat,freetype,freetype2,gd,jpeg,libpng,libttf,ncurses,pixman,t1lib,unzip,zlib} || exit 1
- ./reautoconf || exit 1
- %build
- set -x
- unset TEXINPUTS || :
- unset HOME || :
- export CFLAGS="$RPM_OPT_FLAGS" \
- CXXFLAGS="$RPM_OPT_FLAGS" \
- LANG=C
- PREFIX=$(pwd)/work
- TL_CONF_XDVI_TOOLKIT=--with-xdvi-x-toolkit=motif
- TL_MAKE_FLAGS=-j$(/usr/bin/getconf _NPROCESSORS_ONLN)
- TL_CONFIGURE_ARGS=" \
- --disable-multiplatform \
- --disable-native-texlive-build \
- --with-banner-add=\"/Vine Linux\" \
- --enable-shared --disable-static \
- --enable-compiler-warnings=max \
- --without-cxx-runtime-hack \
- \
- --with-system-xpdf=no --with-system-poppler=no \
- --with-system-gd \
- --with-system-t1lib \
- --with-system-libpng \
- --with-system-zlib \
- --with-system-freetype2 \
- --with-system-pixman \
- --with-system-cairo \
- --with-freetype2-include=$(freetype-config --cflags | %__sed -e 's/-I//' -e 's/ .*//') \
- --with-pic \
- \
- --disable-xindy --disable-xindy-docs --disable-xindy-make-rules \
- --disable-xdvik \
- --disable-dvi2tty \
- --disable-t1utils --disable-psutils --disable-detex \
- --disable-dvipng --disable-lcdf-typetools \
- "
- export TL_CONF_XDVI_TOOLKIT TL_MAKE_FLAGS TL_CONFIGURE_ARGS
- TL_MAKE=%__make ./Build || exit 1
- %install
- ## prepare %%install session
- [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
- ## copy inst directory to /usr
- %__mkdir_p %{buildroot}
- %__cp -a inst %{buildroot}%{_prefix} || exit 1
- %ifarch x86_64
- %__mv %{buildroot}%{_prefix}/lib %{buildroot}%{_libdir} || exit 1
- %endif
- if [ -f %{buildroot}%{_libdir}/kpathsea/c-auto.h ]; then
- %__mv %{buildroot}%{_libdir}/kpathsea/c-auto.h \
- %{buildroot}%{_includedir}/kpathsea/c-auto.h || exit 1
- %__rm -r %{buildroot}%{_libdir}/kpathsea || exit 1
- fi
- ## make some fundamental texmf trees
- %__mkdir_p %{buildroot}%{_tl_texmfvine}
- %__mkdir_p %{buildroot}%{_tl_texmfdist}
- %__mkdir_p %{buildroot}%{_tl_texmflocal}
- %__mkdir_p %{buildroot}%{_tl_texmfsysconfig}
- %__mkdir_p %{buildroot}%{_tl_texmfsysvar}
- %__mkdir_p %{buildroot}%{_tl_vartexfonts}
- %__mkdir_p %{buildroot}%{_tl_texmfvine}/fonts/{truetype,opentype}
- %__mkdir_p %{buildroot}%{_tl_texmfvine}/fonts/cmap
- cat<<EOF>%{buildroot}%{_tl_texmfdist}/README.vine || exit 1
- The directory %{_tl_texmfdist} is the texmf tree of the TeX Live
- distribution wide.
- You must not do any changes in this directory.
- EOF
- cat<<EOF>%{buildroot}%{_tl_texmfvine}/README.vine || exit 1
- The directory %{_tl_texmfvine} is the texmf tree of our distribution wide.
- You should not use this directory to manage any other packages because
- we Project Vine use this directory to manage non-CTAN packages, some
- enhancement packages and so on.
- EOF
- cat<<EOF>%{buildroot}%{_tl_texmflocal}/README.vine || exit 1
- The directory %{_tl_texmflocal} is the texmf tree of the system wide.
- If you are a privileged user of this system,
- you can use this directory to manage your local packages.
- EOF
- ## our texmf-dist/web2c/updmap{,-hdr}.cfg
- %__mkdir_p %{buildroot}%{_tl_texmfdist}/web2c
- %__cp -a %{SOURCE6} %{buildroot}%{_tl_texmfdist}/web2c/updmap-hdr.cfg || exit 1
- %__cp -a %{SOURCE7} %{buildroot}%{_tl_texmfdist}/web2c/updmap.cfg || exit 1
- ## our map files for dvipdfmx
- %__mkdir_p %{buildroot}%{_tl_aliasttfdir}
- %__mkdir_p %{buildroot}%{_tl_texmfsysvar}/fonts/map/dvipdfmx/vine
- for x in ptex uptex otf otf-up; do
- touch %{buildroot}%{_tl_texmfsysvar}/fonts/map/dvipdfmx/vine/${x}-vine.map
- done
- for x in FutoGo-Bold FutoMin-Bold Gothic-Medium MaruGo-Medium Mincho-Medium; do
- touch %{buildroot}%{_tl_aliasttfdir}/${x}.ttf
- done
- ## desktop things
- %__mkdir_p %{buildroot}%{_datadir}/applications
- # %__install -m0644 -c %{SOURCE10} %{buildroot}%{_datadir}/applications/
- %__install -m0644 -c %{SOURCE11} %{buildroot}%{_datadir}/applications/
- # for created fonts
- %__mkdir_p %{buildroot}%{_tl_vartexfonts}
- # %__mkdir_p %{buildroot}%{_sysconfdir}/cron.daily
- # %__install -m 755 %{SOURCE100} %{buildroot}%{_sysconfdir}/cron.daily/
- ## set executable bit for the library
- %__chmod a+x %{buildroot}%{_libdir}/libkpathsea.so.*.*
- %__chmod a+x %{buildroot}%{_libdir}/libptexenc.so.*.*
- # configure ConTeXt
- for x in context luatools texexec texmfstart; do
- %__sed -i -e 's|mtxrun|export TEXMF=%{_tl_texmfconfig}:%{_tl_texmfvar}:%{_tl_texmfhome}:%{_tl_texmfsysconfig}:%{_tl_texmfsysvar}:%{_tl_texmflocal}:%{_tl_texmfvine}:%{_tl_texmfdist} TEXMFCNF=%{_tl_texmfsysvar}/web2c:%{_tl_texmflocal}/web2c:%{_tl_texmfvine}/web2c:%{_tl_texmfdist}/web2c TEXMFCACHE=%{_tl_texmfsysvar}:%{_tl_texmfvar}; mtxrun|' %{buildroot}%{_bindir}/${x} || exit 1
- done
- for x in contextjit; do
- %__sed -i -e 's|luajittex --luaonly|export TEXMF=%{_tl_texmfconfig}:%{_tl_texmfvar}:%{_tl_texmfhome}:%{_tl_texmfsysconfig}:%{_tl_texmfsysvar}:%{_tl_texmflocal}:%{_tl_texmfvine}:%{_tl_texmfdist} TEXMFCNF=%{_tl_texmfsysvar}/web2c:%{_tl_texmflocal}/web2c:%{_tl_texmfvine}/web2c:%{_tl_texmfdist}/web2c TEXMFCACHE=%{_tl_texmfsysvar}:%{_tl_texmfvar}; luajittex --luaonly|' %{buildroot}%{_bindir}/${x} || exit 1
- done
- # touch ghosts
- touch %{buildroot}%{_tl_texmfvine}/ls-R
- touch %{buildroot}%{_tl_texmfdist}/ls-R
- touch %{buildroot}%{_tl_texmfsysconfig}/ls-R
- touch %{buildroot}%{_tl_texmfsysvar}/ls-R
- %__mkdir_p %{buildroot}%{_tl_texmfsysvar}/fonts/map/dvips/updmap/
- %__mkdir_p %{buildroot}%{_tl_texmfsysvar}/fonts/map/dvipdfmx/updmap/
- %__mkdir_p %{buildroot}%{_tl_texmfsysvar}/fonts/map/pxdvi/updmap/
- %__mkdir_p %{buildroot}%{_tl_texmfsysvar}/fonts/map/pdftex/updmap/
- touch %{buildroot}%{_tl_texmfsysvar}/fonts/map/dvips/updmap/builtin35.map
- touch %{buildroot}%{_tl_texmfsysvar}/fonts/map/dvips/updmap/psfonts_t1.map
- touch %{buildroot}%{_tl_texmfsysvar}/fonts/map/dvips/updmap/psfonts_pk.map
- touch %{buildroot}%{_tl_texmfsysvar}/fonts/map/dvips/updmap/download35.map
- touch %{buildroot}%{_tl_texmfsysvar}/fonts/map/dvips/updmap/ps2pk.map
- touch %{buildroot}%{_tl_texmfsysvar}/fonts/map/dvips/updmap/psfonts.map
- touch %{buildroot}%{_tl_texmfsysvar}/fonts/map/dvipdfmx/updmap/kanjix.map
- #touch %{buildroot}%{_tl_texmfsysvar}/fonts/map/pxdvi/updmap/xdvi-ptex.map
- touch %{buildroot}%{_tl_texmfsysvar}/fonts/map/pdftex/updmap/pdftex_dl14.map
- touch %{buildroot}%{_tl_texmfsysvar}/fonts/map/pdftex/updmap/pdftex.map
- touch %{buildroot}%{_tl_texmfsysvar}/fonts/map/pdftex/updmap/pdftex_ndl14.map
- ## remove unpackaging files
- find %{buildroot} | %__grep -e "\\.\(la\|a\)$" | xargs %__rm -f || exit 1
- find %{buildroot} | %__grep -e "\\.\(diff\|patch\)$" | xargs %__rm -f || exit 1
- %__rm -f %{buildroot}%{_bindir}/tlmgr || exit 1
- find %{buildroot}%{_tl_texmfvine}/fonts/map -type d | %__grep "updmap" | xargs %__rm -rf || exit 1
- find %{buildroot} -type d | grep asymptote | xargs %__rm -rf || exit 1
- %__rm -f %{buildroot}%{_tl_texmfvine}/dvipdfm/config/config-win32 || exit 1
- %__rm -f %{buildroot}%{_infodir}/*
- ## use external packages
- %__rm %{buildroot}/usr/bin/latexmk || exit 1
- ### Files list
- find %{buildroot} -type f -or -type l | \
- %__sed -e "s|%{buildroot}||g" | \
- %__grep -v -e ".patch$" -e "\.diff$" -e "\.orig$" | \
- %__grep -v "%{_includedir}" | \
- %__grep -v "%{_libdir}" | \
- %__grep -v "%{_infodir}" | \
- %__sed -e "s|.*ls-R$|%ghost &|" \
- -e "s|%{_tl_texmfsysvar}/fonts/map/dvipdfmx/vine/.*\.map$|%ghost &|" \
- -e "s|%{_tl_aliasttfdir}/.*\.ttf$|%ghost &|" \
- -e "s|.*/updmap.*\.cfg$|%config(noreplace) &|" \
- -e "s|.*/dvipdfmx\.cfg$|%config(noreplace) &|" \
- -e "s|.*xdvi\.cfg$|%config(noreplace) &|" \
- -e "s|.*\.cnf$|%config(noreplace) &|" \
- -e "s|%{_tl_texmfvine}*/xdvi/XDvi|%config(noreplace) &|" \
- -e "s|%{_tl_texmfvine}*/web2c/texmfcnf\.lua$|%config(noreplace) &|" \
- -e "s|^.*/updmap/$|%config &|" \
- -e "s|%{_tl_texmfvine}*/texconfig/tcfmgr.map$|%config &|" \
- -e "s|%{_tl_texmfvine}*/dvips/config/.*$|%config &|" \
- -e "s|%{_tl_texmfvine}*/dvips/tetex/config.*$|%config &|" \
- -e "s|%{_tl_texmfvine}*/dvipdfm/config/config$|%config &|" \
- -e "s|%{_tl_texmfvine}*/fonts/map/dvips/tetex/.*.map$|%config &|" \
- -e "s|%{_tl_texmfvine}*/fonts/map/dvipdfmx/.*.map$|%config &|" \
- -e "s|%{_tl_texmfvine}*/tex/generic/config/.*|%config &|" \
- -e "s|%{_tl_texmfvine}*/ttf2pk/ttf2pk\.cfg$|%config &|" \
- -e "s|%{_tl_texmfvine}*/hbf2gf/.*\.cfg$|%config &|" \
- -e "s|%{_tl_texmfvine}*/chktex/chktexrc$|%config &|" \
- -e "s|%{_mandir}/.*|&*|" \
- > %{_builddir}/filelist.full
- find %{buildroot}%{_tl_texmfvine}* -type d | \
- %__sed -e "s|^%{buildroot}|%dir |" \
- -e "s|$|/|" >> %{_builddir}/filelist.full
- ## subpackages
- %__grep -e "/texmf/doc/" -e "/texmf-dist/doc/" -e "/texdoc" %{_builddir}/filelist.full > %{_builddir}/filelist.doc
- cat %{_builddir}/filelist.doc \
- %{_builddir}/filelist.full | \
- sort | uniq -u > %{_builddir}/filelist.tmp
- %__mv -f %{_builddir}/filelist.tmp %{_builddir}/filelist.full
- %clean
- %__rm -rf %{buildroot}
- %pretrans
- rpm -q texlive | grep -q -e 2009 -e 2011 -e 2012 -e 2013 -e 2014
- [ $? -eq 1 ] && exit 0
- _trans_time=$(date +%Y%m%d)
- echo "Running some transitional processes on your TeX system ... "
- x=(
- /usr/share/texmf-local
- /usr/share/texmf-var
- /usr/share/texmf-config
- )
- for dir in ${x[@]}; do
- _trans_dir=${dir}.${_trans_time}.rpmorig
- [ -d ${_trans_dir}.old ] && \
- echo -n " " && \
- echo "Found ${_trans_dir}.old: " && \
- echo -n " " && \
- %__rm -rvf ${_trans_dir}.old
- [ -d ${_trans_dir} ] && \
- echo -n " " && \
- echo "Found ${_trans_dir}: " && \
- echo -n " " && \
- %__mv -v ${_trans_dir} ${_trans_dir}.old
- [ -d ${dir} ] && \
- echo -n " " && \
- echo "Found ${dir}: " && \
- echo -n " " && \
- %__mv -v ${dir} ${_trans_dir}
- done
- echo "done."
- %postun
- if [ "$1" = 0 ]; then
- %__rm -rf %{_tl_vartexfonts}
- fi
- exit 0
- %post
- %_tl_touch_run texhash
- %_tl_touch_run updmap
- %_tl_touch_run mtxrun
- %_tl_touch_run fmtutil
- exit 0
- %posttrans
- %__mkdir_p %{_tl_vartexfonts}
- %__chmod 1777 %{_tl_vartexfonts}
- ## create our map files {ptex,uptex,otf,otf-up}-vine.map
- ( %{_tl_exec_upddeffont} ) ||:
- %{_tl_exec_texhash}
- %{_tl_exec_mtxrun}
- %{_tl_exec_updmap}
- %{_tl_exec_fmtutil}
- exit 0
- %post -n libkpathsea
- /sbin/ldconfig
- # for x in kpathsea tds web2c; do
- # /sbin/install-info %{_infodir}/${x}.info.* %{_infodir}/dir
- # done
- # %preun -n libkpathsea
- # if [ "$1" = 0 ]; then
- # for x in kpathsea tds web2c; do
- # /sbin/install-info --delete %{_infodir}/${x}.info.* %{_infodir}/dir
- # done
- # fi
- %postun -n libkpathsea
- /sbin/ldconfig
- %post -n libptexenc
- /sbin/ldconfig
- %postun -n libptexenc
- /sbin/ldconfig
- %triggerin -- ghostscript
- %__rm -f %{_tl_texmfvine}/fonts/cmap/ghostscript
- if [ -d "%{_datadir}/ghostscript/$(gs --version| cut -d . -f 1-2)/Resource/CMap" ] ; then
- %__ln_s %{_datadir}/ghostscript/$(gs --version| cut -d . -f 1-2)/Resource/CMap %{_tl_texmfvine}/fonts/cmap/ghostscript
- elif [ -d "%{_datadir}/ghostscript/Resource/CMap" ] ; then
- %__ln_s %{_datadir}/ghostscript/Resource/CMap %{_tl_texmfvine}/fonts/cmap/ghostscript
- fi
- %_tl_touch_run texhash
- exit 0
- %files -f %{_builddir}/filelist.full
- %defattr(-,root,root)
- %{_libdir}/libtexlua52.so.*
- %{_libdir}/libtexluajit.so.*
- %dir %{_tl_aliasttfdir}
- %attr(1777,root,root) %dir %{_tl_vartexfonts}
- # %config %{_sysconfdir}/cron.daily/texlive.cron
- %exclude %{_includedir}/texlua52/*.h
- %exclude %{_includedir}/texlua52/*.hpp
- %exclude %{_includedir}/texluajit/*.h
- %exclude %{_includedir}/texluajit/*.hpp
- %exclude %{_libdir}/libtexlua52.so
- %exclude %{_libdir}/libtexluajit.so
- %exclude %{_libdir}/pkgconfig/texlua52.pc
- %exclude %{_libdir}/pkgconfig/texluajit.pc
- %files doc -f %{_builddir}/filelist.doc
- %defattr(-,root,root)
- %files -n libkpathsea
- %defattr(-,root,root)
- %{_libdir}/libkpathsea.so.*
- # %{_infodir}/kpathsea.info*
- %files -n libkpathsea-devel
- %defattr(-,root,root)
- %{_libdir}/libkpathsea.so
- %dir %{_includedir}/kpathsea
- %{_includedir}/kpathsea/*.h
- %{_libdir}/pkgconfig/kpathsea.pc
- %files -n libptexenc
- %defattr(-,root,root)
- %{_libdir}/libptexenc.so.*
- %files -n libptexenc-devel
- %defattr(-,root,root)
- %{_libdir}/libptexenc.so
- %dir %{_includedir}/ptexenc
- %{_includedir}/ptexenc/*.h
- %{_libdir}/pkgconfig/ptexenc.pc
- %files -n libsynctex
- %defattr(-,root,root)
- %{_libdir}/libsynctex.so.*
- %files -n libsynctex-devel
- %defattr(-,root,root)
- %{_libdir}/libsynctex.so
- %dir %{_includedir}/synctex
- %{_includedir}/synctex/*.h
- %{_libdir}/pkgconfig/synctex.pc
- %changelog
- * Mon Jun 6 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-3
- - texlive-20160523-source (TeX Live 2016)
- * Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
- - texlive-20160510-source (TeX Live 2016/pretest)
- * Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
- - texlive-20160427-source (TeX Live 2016/pretest)
- * Thu Jan 21 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-5
- - fixed some development files
- * Tue Jan 12 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
- - reverted to texlive-20150521-source (TeX Live 2015)
- * Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
- - texlive-source-20160110 (TeX Live 2016/dev)
- * Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
- - texlive-source-20150523 (TeX Live 2015/pretest)
- - configure ConTeXt/LuaTeX+LuaJIT
- * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
- - texlive-source-20150426 (TeX Live 2015/pretest)
- * Tue Dec 30 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
- - texlive-source-20141230 (TeX Live 2015/dev)
- * Thu Jul 3 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
- - texlive-source-20140525 + tlptexlive 20140507
- - dropped texlive-20140524-vine.patch: built with libpng >= 1.6
- * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
- - upgrade to TeX Live 2014
- - texlive-source-20140524 + tlptexlive 20140507
- * Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2013-7
- - rebuild with poppler-0.24.5
- * Mon Jan 13 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
- - rebuilt
- * Fri Nov 1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
- - texlive-source-20131101 2014/dev + tlptexlive 20130815
- - added BuildRequires: libpaper-devel >= 1.1.24-2 :-(
- * Mon Oct 7 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
- - updated texlive-20131002-texmfcnf-vine.patch:
- texmf.cnf (shell_escape_commands): added some programs
- * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
- - texlive-source-20131002 2014/dev + tlptexlive 20130815
- - defined %%global __find_requires find-requires-texlive.sh
- - dropped unused dependencies of Requires
- * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
- - texlive-source-20130919 2014/dev + tlptexlive 20130815
- - correct some scripts of README.vine for each texmf trees
- * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
- - upgrade to TeX Live 2013
- - texlive-source-20130823 2014/dev + tlptexlive 20130815
- - dropped Requires: jvf
- * Thu May 16 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2012-4
- - update enhancement binaries TeX Live 2013/dev 20130106 snapshot (tlptexlive-20130106)
- - fixed duplicated lw35 for updmap.pl
- - updated updmap.cfg.texlive-20120701: use ipaex as kanjiEmbed
- * Sat Mar 9 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2012-3
- - touch the map files generated by updmap-sys
- * Mon Nov 26 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-2
- - fixed Source7: updmap.cfg.texlive-20120701
- (upto /etc/texmf/web2c/updmap.cfg)
- - fixex %%triggerin -- ghostscript
- - replaced %%exec_texhash with %%touch_run texhash
- * Wed Nov 21 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
- - TeX Live 2012 + tlptexlive 20121107
- * Tue Oct 30 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2011-7
- - drop BR: poppler-devel temporaly
- - modify tl11supp-120120-vine.patch, texlive-20110705-vine.patch to do that
- * Mon May 28 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2011-6
- - build with poppler-0.18.4
- - remove tlmgr
- * Thu Jan 26 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2011-5
- - updated to tl11supp-120120
- - run %%{exec_fmtutil} at %%post when upgrading
- * Sat Dec 17 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-4
- - updated to tl11supp-111214
- * Sat Dec 3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-3
- - added BuildRequires: texlive-common
- - Babel needs docstrip.tex, which is contained in texlive-collection-latex
- - check japanese.ldf
- - updated tl11supp-111120-vine.patch
- - added the following options to $$TL_CONFIGURE_ARGS:
- --disable-detex
- --disable-dvipng
- --disable-lcdf-typetools
- - remove some files of asymptote
- - remove a man file of latexmk
- - remove man files of lcdf-typetools
- - remove man files of dvipng
- - remove a man file of detex
- * Mon Nov 28 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
- - added find-provides-texlive.sh and set it to %%__find_provides
- - use to find library sonames for libkpathsea and libptexenc
- - added cmex.enc (%%{SOURCE110})
- - do not install cmex.enc in our TDS, yet
- - removed some unused directories in texmf/fonts/map
- - removed man files of lcdf-typetools
- - moved texdoc{,tk} and its related files to texlive-doc
- * Wed Nov 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
- - TeX Live 2011 + tl11supp-111120
- * Thu Oct 13 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-22
- - make the directory VARTEXFONTS (%%posttrans)
- - dropped %%triggerpostun -- texlive < 2009-17vl6
- * Tue Jul 19 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-21
- - fixed ptexlive-20100711-dvipdfmx-vine.patch
- - for dvipdfmx.cfg, given some ps2pdf's parameters mistaked
- * Thu Jun 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-20
- - added %%pre to avoid conflictions of texmf-{config,var}
- * Sun May 22 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-19
- - dropped Requires: texlive-common
- - added perl-Tk-TableMatrix
- - supported texdoctk
- - removed broken symbolic links in /usr/bin
- - for each these symbolic links, the package of its real file/path
- should be its owner.
- * Thu May 19 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-18
- - added %%triggerpostun -- texlive < 2009-17vl6
- - make the directory VARTEXFONTS
- * Tue May 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-17
- - fixed %%dir VARTEXFONTS around in %%files
- - dropped BuildRequires: t1utils
- * Tue Apr 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-16
- - updated texlive-20091107-texmfcnf-vine.patch, texlive.cron
- - changed VARTEXFONTS to /var/lib/texmf/fonts
- * Mon Apr 25 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-15
- - fixed updmap.cfg
- * Sun Mar 27 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-14
- - dropped Requires: texlive-macros
- * Sat Jan 15 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-13
- - updated ptexlive-20100711-pxdvik-vine.patch
- and added texlive-20091107-xdvik-vine.patch
- - fixed to adjust X resources in texmf/xdvi/XDvi for (p)xdvi
- * Sat Jan 08 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-12
- - supported Vine Linux 5
- - for vl5, changed a requirement of Japanese VF package
- - added Requires: texlive-jvf = 2009 (vl5)
- - dropped dependencies of Provides:/Obsoletes: tags
- - merged these dependencies in texlive-common-vl.spec
- * Wed Dec 01 2010 Shu KONNO <owa@bg.wakwak.com> 2009-11
- - rebuilt with poppler-0.14.2 (libpoppler has been up to so.7)
- * Fri Sep 24 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-10
- - applied some security patches from Debian
- - texlive-2009-CVE-2010-0827.patch
- - texlive-2009-CVE-2010-1440.patch
- - applied texlive-2009-pdftexdir-libpoppler-0.12.patch from Debian
- - applied texlive-2009-luatexdir-libpoppler-0.12.patch
- based on texlive-2009-pdftexdir-libpoppler-0.12.patch
- - fixed some dependencies
- * Mon Aug 09 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-9
- - added BuildArch: noarch in %%package doc
- - removed some comment-out sentences
- * Tue Jul 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-8
- - separeted texmf-dist to texlive-common package
- * Mon Jul 19 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-7
- - unpacked texlive-20091107-source.tar.xz
- - babel is available now
- - applied eptex-100420 and some patches:
- - eptex-100420-vine.patch
- - eptex-100420-patch1.diff
- * Tue Jul 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-6
- - updated ptexlive-20100711
- * Sat Jun 12 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-5
- - customized updmap.cfg to correspond installed fonts
- * Mon May 31 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
- - fixed insttexfont()
- * Mon May 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
- - added jvf of MORISAWA basic 5 fonts
- - added cm-super, mathdesign in fntlst
- * Sun May 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
- - define insttexfont() in %%install
- - copy almost compatible tetex-3.0
- * Sat May 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
- - ptexlive-20090322 + TeXLive 2009
- - added BuildRequires: openssl-devel
- * Sun Dec 06 2009 Munehiro Yamamoto <munepi@vinelinux.org> 2008-0.20091206
- - ptexlive-20091009 + TeXLive 2008
|