| 1 |
# This spec file is based on texjive project created by Michael A. Peters.
|
| 2 |
# Adopted and modified for Fedora users by Jindrich Novy.
|
| 3 |
|
| 4 |
%{!?_texmf_main: %global _texmf_main %{_datadir}/texmf}
|
| 5 |
%{!?_texmf_vendor: %global _texmf_vendor %{_datadir}/texmf}
|
| 6 |
%{!?_texmf_var: %global _texmf_var %{_var}/lib/texmf}
|
| 7 |
%{!?_texmf_conf: %global _texmf_conf %{_sysconfdir}/texmf}
|
| 8 |
%{!?_texmf_local: %global _texmf_local %{_usr}/local/share/texmf}
|
| 9 |
|
| 10 |
%define ptex_texmf_ver 2.5
|
| 11 |
|
| 12 |
# do not provide any perl deps (#516350)
|
| 13 |
%define __perl_provides %{nil}
|
| 14 |
|
| 15 |
Name: texlive-texmf
|
| 16 |
Version: 2007
|
| 17 |
Release: 32%{?dist}
|
| 18 |
Summary: Architecture independent parts of the TeX formatting system
|
| 19 |
|
| 20 |
Group: Applications/Publishing
|
| 21 |
License: Artistic 2.0 and GPLv2 and GPLv2+ and LGPLv2+ and LPPL and MIT and Public Domain and UCD and Utopia
|
| 22 |
URL: http://tug.org/texlive/
|
| 23 |
|
| 24 |
# Source0 comes as a result from scripts that look for files in teTeX and assigns appropriate
|
| 25 |
# TeXLive styles to it so that no style present in teTeX will be missing in TeXLive.
|
| 26 |
# it contains expanded packages from ftp://tug.org/texlive/Contents/inst/archive/
|
| 27 |
# Scripts that are used for that are available at http://people.redhat.com/jnovy/files/texlive/scripts/
|
| 28 |
Source0: texlive.texmf-%{version}.tar.lzma
|
| 29 |
# Source1 is http://www.tug.org/texlive/Contents/inst/archive/texmf-var.zip
|
| 30 |
Source1: texlive.texmf-var-%{version}.zip
|
| 31 |
Source2: http://ctan.org/get/systems/texlive/tlnet/2008/archive/envlab.tar.lzma
|
| 32 |
|
| 33 |
# pregenerated kpathsea ls-R files in case no binary TeXLive is present to regenerate them
|
| 34 |
Source10: texlive.%{version}.ls-R
|
| 35 |
Source11: texlive.var.%{version}.ls-R
|
| 36 |
|
| 37 |
# missing files (note - Fedora installs this with a patch)
|
| 38 |
Source50: dvips-config.generic
|
| 39 |
|
| 40 |
# TeXLive package list included in Source0
|
| 41 |
Source91: texlive.%{version}.zip.list
|
| 42 |
|
| 43 |
# filter perl requires
|
| 44 |
Source99: texlive-filter-requires.sh
|
| 45 |
%define __perl_requires %{SOURCE99}
|
| 46 |
|
| 47 |
# speed up build, run only brp-compress, nothing else is needed
|
| 48 |
%define __os_install_post /usr/lib/rpm/brp-compress %{nil}
|
| 49 |
|
| 50 |
# Source1000-: Japanese pTeX
|
| 51 |
Source1000: ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/tetex/ptex-texmf-%{ptex_texmf_ver}.tar.gz
|
| 52 |
Source1001: ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/platex/platex209.tar.bz2
|
| 53 |
Source1002: dvipsk-jfontimage.tar.bz2
|
| 54 |
Source1003: fmtutil-ptex.cnf
|
| 55 |
|
| 56 |
# patches
|
| 57 |
Patch0: texlive-2007-badenv.patch
|
| 58 |
Patch1: texlive-2007-tkdefaults.patch
|
| 59 |
Patch2: texlive-2007-updmap.patch
|
| 60 |
Patch3: texlive-2007-texmfconf.patch
|
| 61 |
Patch4: texlive-2007-romanian.patch
|
| 62 |
Patch5: texlive-2007-euro.patch
|
| 63 |
Patch6: texlive-2007-beamerblocks.patch
|
| 64 |
Patch7: texlive-2007-latin.patch
|
| 65 |
|
| 66 |
# Patch1000-: Japanese pTeX
|
| 67 |
Patch1001: texlive-2007-texmf.cnf-ptex.patch
|
| 68 |
|
| 69 |
BuildRequires: sed >= 3.95 ghostscript lzma
|
| 70 |
|
| 71 |
Requires: texlive-texmf-errata = %{version}
|
| 72 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 73 |
BuildArch: noarch
|
| 74 |
|
| 75 |
Obsoletes: tetex-eurofont
|
| 76 |
Obsoletes: tetex-unicode
|
| 77 |
Obsoletes: tetex-lineno = 4.41
|
| 78 |
Provides: tetex-lineno = 4.42
|
| 79 |
|
| 80 |
%description
|
| 81 |
texlive-texmf is a texmf distribution based upon TeX Live. All of the files
|
| 82 |
contained in these packages are from the TeX Live zip files. The intent is to
|
| 83 |
provide a packaging similar in style and layout to teTeX.
|
| 84 |
|
| 85 |
%package afm
|
| 86 |
Group: Applications/Publishing
|
| 87 |
Summary: Texmf files needed for texlive-afm
|
| 88 |
Requires: texlive-texmf = %{version}-%{release}
|
| 89 |
Requires: texlive-texmf-errata-afm = %{version}
|
| 90 |
|
| 91 |
%description afm
|
| 92 |
This package contains the components of the TEXMF tree needed for the
|
| 93 |
texlive-afm package.
|
| 94 |
|
| 95 |
%package doc
|
| 96 |
Group: Applications/Publishing
|
| 97 |
Summary: TeX documentation
|
| 98 |
Requires: texlive-texmf-errata-doc = %{version}
|
| 99 |
Obsoletes: tetex-doc < 3.0-99
|
| 100 |
Provides: tetex-doc = 3.0-99
|
| 101 |
Obsoletes: texlive-doc < 2007-7
|
| 102 |
Provides: texlive-doc = %{version}-%{release}
|
| 103 |
|
| 104 |
%description doc
|
| 105 |
This package contains the documentation for packages installed as part of
|
| 106 |
texlive. You should install this package if you are new to TeX and LaTeX,
|
| 107 |
and familiarize yourself with the use of the texdoc command.
|
| 108 |
|
| 109 |
%package dvips
|
| 110 |
Group: Applications/Publishing
|
| 111 |
Summary: Texmf files needed for texlive-dvips
|
| 112 |
Requires: texlive-texmf = %{version}-%{release}
|
| 113 |
Requires: texlive-texmf-errata-dvips = %{version}
|
| 114 |
|
| 115 |
%description dvips
|
| 116 |
This package contains the components of the TEXMF tree needed for the
|
| 117 |
texlive-dvips package.
|
| 118 |
|
| 119 |
%package fonts
|
| 120 |
Group: Applications/Publishing
|
| 121 |
Summary: Font files needed for TeXLive
|
| 122 |
Requires: texlive-texmf = %{version}-%{release}
|
| 123 |
Requires: texlive-texmf-dvips = %{version}-%{release}
|
| 124 |
Requires: texlive-texmf-errata-fonts = %{version}
|
| 125 |
Requires(post): coreutils
|
| 126 |
|
| 127 |
%description fonts
|
| 128 |
This package contains the components of the TEXMF tree needed for the
|
| 129 |
texlive-fonts package.
|
| 130 |
|
| 131 |
%package latex
|
| 132 |
Group: Applications/Publishing
|
| 133 |
Summary: Texmf files needed for texlive-latex
|
| 134 |
Requires: texlive-texmf = %{version}-%{release}
|
| 135 |
Requires: texlive-texmf-errata-latex = %{version}
|
| 136 |
Requires: tex-preview
|
| 137 |
Obsoletes: tetex-bytefield < 1.2a-7
|
| 138 |
Provides: tetex-bytefield = 1.2a-7
|
| 139 |
Obsoletes: tetex-prosper < 1.5-7
|
| 140 |
Provides: tetex-prosper = 1.5-7
|
| 141 |
# The copy in this package is rather old (1.6)
|
| 142 |
# We'll use the newer one in tetex-perltex, at least for now.
|
| 143 |
Requires: tetex-perltex
|
| 144 |
|
| 145 |
%description latex
|
| 146 |
This package contains the components of the TEXMF tree needed for the
|
| 147 |
texlive-latex package.
|
| 148 |
|
| 149 |
%package xetex
|
| 150 |
Group: Applications/Publishing
|
| 151 |
Summary: Texmf files needed for texlive-xetex
|
| 152 |
Requires: texlive-texmf = %{version}-%{release}
|
| 153 |
Requires: texlive-texmf-errata-xetex = %{version}
|
| 154 |
|
| 155 |
%description xetex
|
| 156 |
This package contains the components of the TEXMF tree needed for the
|
| 157 |
texlive-xetex package.
|
| 158 |
|
| 159 |
%package east-asian
|
| 160 |
Group: Applications/Publishing
|
| 161 |
Summary: Texmf files needed for texlive-east-asian
|
| 162 |
Requires: texlive-texmf = %{version}-%{release}
|
| 163 |
Obsoletes: texlive-texmf-japanese < 2007-14
|
| 164 |
Provides: texlive-texmf-japanese = %{version}-%{release}
|
| 165 |
|
| 166 |
%description east-asian
|
| 167 |
Architecture independent files for support of East Asian languages in TeXLive.
|
| 168 |
|
| 169 |
%package context
|
| 170 |
Group: Applications/Publishing
|
| 171 |
Summary: Texmf files needed for ConTeXt
|
| 172 |
Requires: texlive-texmf = %{version}-%{release}
|
| 173 |
Requires: texlive-texmf-errata-context = %{version}
|
| 174 |
|
| 175 |
%description context
|
| 176 |
This package contains the components of the TEXMF tree needed for the
|
| 177 |
texlive-context package.
|
| 178 |
|
| 179 |
%prep
|
| 180 |
%setup -q -c -T
|
| 181 |
lzma -dc %{SOURCE0} | tar x
|
| 182 |
lzma -dc %{SOURCE2} | tar x
|
| 183 |
|
| 184 |
mkdir texmf-var
|
| 185 |
unzip -d texmf-var %{SOURCE1}
|
| 186 |
install -p -m644 %{SOURCE50} texmf-var/dvips/config/config.generic
|
| 187 |
|
| 188 |
%patch0 -p0
|
| 189 |
%patch1 -p0
|
| 190 |
%patch2 -p1
|
| 191 |
%patch3 -p1
|
| 192 |
%patch4 -p0
|
| 193 |
%patch5 -p0
|
| 194 |
%patch6 -p0
|
| 195 |
%patch7 -p1
|
| 196 |
|
| 197 |
cp -p %{SOURCE91} .
|
| 198 |
|
| 199 |
# we use web2c/fmutil.cnf for defaults
|
| 200 |
rm -f texmf/fmtutil/*
|
| 201 |
|
| 202 |
# these we do not want
|
| 203 |
# - they are owned by main package in /usr/bin
|
| 204 |
rm -rf texmf/scripts/tetex
|
| 205 |
rm -rf texmf/scripts/thumbpdf
|
| 206 |
rm -rf texmf/scripts/pdfcrop
|
| 207 |
|
| 208 |
# Japanese pTeX
|
| 209 |
# set platex to Japanese pLaTeX. original one is moved to platex-pl
|
| 210 |
cd texmf-dist/tex/platex/config
|
| 211 |
for i in *.ini ; do
|
| 212 |
mv ${i} `basename ${i} .ini`-pl.ini
|
| 213 |
done
|
| 214 |
cd -
|
| 215 |
sed -e s/^platex/platex-pl/g \
|
| 216 |
-e s/^pdfplatex/pdfplatex-pl/g \
|
| 217 |
-e s/platex\.ini/platex\-pl\.ini/g \
|
| 218 |
-i texmf/web2c/fmtutil.cnf
|
| 219 |
# add japanese ptex fmtutil configuration
|
| 220 |
cat texmf/web2c/fmtutil.cnf %{SOURCE1003} > texmf/web2c/fmtutil.cnf-ptex
|
| 221 |
mv texmf/web2c/fmtutil.cnf-ptex texmf/web2c/fmtutil.cnf
|
| 222 |
|
| 223 |
tar xfz %{SOURCE1000}
|
| 224 |
for i in doc fonts jbibtex ptex ; do
|
| 225 |
cp -a ptex-texmf/${i} texmf/
|
| 226 |
done
|
| 227 |
mkdir -p texmf/doc/ptex/ptex-texmf
|
| 228 |
# Convert Japanese documents to UTF-8
|
| 229 |
for i in COPYRIGHT COPYRIGHT.jis Changes.txt README.txt ; do
|
| 230 |
iconv -f ISO-2022-JP -t UTF-8 ptex-texmf/${i} \
|
| 231 |
-o texmf/doc/ptex/ptex-texmf/${i}
|
| 232 |
done
|
| 233 |
rm -rf ptex-texmf
|
| 234 |
# Prepare platex209
|
| 235 |
tar xfj %{SOURCE1001} -C texmf/ptex
|
| 236 |
cat > texmf/ptex/platex209/plplain.ini << EOF
|
| 237 |
\input plplain.tex \dump
|
| 238 |
EOF
|
| 239 |
# Prepare pdvips fonts
|
| 240 |
mkdir pdvipsk-font
|
| 241 |
tar xfj %{SOURCE1002} -C pdvipsk-font
|
| 242 |
cp -a pdvipsk-font/usr/share/texmf/fonts/* texmf/fonts
|
| 243 |
rm -rf pdvipsk-font
|
| 244 |
# Prepare texmf.cnf
|
| 245 |
%patch1001 -p0
|
| 246 |
|
| 247 |
%build
|
| 248 |
# not compiling anything, but this stuff isn't really %%prep or %%install
|
| 249 |
|
| 250 |
# setup texmf.cnf properly
|
| 251 |
pushd texmf/web2c
|
| 252 |
%{__sed} -i 's?^TEXMFMAIN =.*?TEXMFMAIN = %{_texmf_main}?' texmf.cnf
|
| 253 |
%{__sed} -i 's?^TEXMFDIST =.*?TEXMFDIST = %{_texmf_main}?' texmf.cnf
|
| 254 |
%{__sed} -i 's?^TEXMFSYSVAR =.*?TEXMFSYSVAR = %{_texmf_var}?' texmf.cnf
|
| 255 |
%{__sed} -i 's?^TEXMFSYSCONFIG =.*?TEXMFSYSCONFIG = %{_texmf_conf}?' texmf.cnf
|
| 256 |
%{__sed} -i 's?^TEXMFVENDOR =.*?TEXMFVENDOR = %{_texmf_vendor}?' texmf.cnf
|
| 257 |
%{__sed} -i 's?^TEXMF =.*?TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST}?' texmf.cnf
|
| 258 |
%{__sed} -i 's?^TEXMFLOCAL =.*?TEXMFLOCAL = %{_texmf_local}?' texmf.cnf
|
| 259 |
|
| 260 |
%{__sed} -i 's?^TEXMFMAIN .*?TEXMFMAIN = %{_texmf_main}?' context.cnf
|
| 261 |
%{__sed} -i 's?^VARTEXMF .*?VARTEXMF = %{_texmf_var}?' context.cnf
|
| 262 |
%{__sed} -i 's?^TEXMFVENDOR .*?TEXMFVENDOR = %{_texmf_vendor}?' context.cnf
|
| 263 |
popd
|
| 264 |
|
| 265 |
# nuke these
|
| 266 |
rm -f texmf/web2c/texmf.cnf-4WIN
|
| 267 |
rm -f texmf/web2c/texmf.cnf.orig
|
| 268 |
rm -f texmf/texdoctk/texdocrc-win32.defaults
|
| 269 |
rm -f texmf/ptex/platex/base/.cvsignore
|
| 270 |
rm -f texmf-dist/doc/latex/newlfm/*.bat
|
| 271 |
rm -f texmf-dist/doc/generic/t2/etc/rumkidx/*.bat
|
| 272 |
rm -f texmf-dist/tex/plain/cyrplain/makefmts.bat
|
| 273 |
|
| 274 |
install -d -m755 texmf-var/fonts/map/{dvipdfm,dvips,pdftex}/updmap
|
| 275 |
|
| 276 |
# for ghosting
|
| 277 |
touch texmf-var/fonts/map/dvipdfm/updmap/{dvipdfm_dl14.map,dvipdfm.map,dvipdfm_ndl14.map}
|
| 278 |
touch texmf-var/fonts/map/dvips/updmap/{builtin35.map,ps2pk.map,psfonts_pk.map,download35.map,psfonts.map,psfonts_t1.map}
|
| 279 |
touch texmf-var/fonts/map/pdftex/updmap/{pdftex_dl14.map,pdftex.map,pdftex_ndl14.map}
|
| 280 |
|
| 281 |
# We really don't want these imho
|
| 282 |
rm -rf texmf-dist/fonts/pk && mkdir texmf-dist/fonts/pk
|
| 283 |
rm -rf texmf/doc/man
|
| 284 |
rm -rf texmf-dist/doc/man
|
| 285 |
rm -rf texmf-dist/scripts/context/stubs/mswin
|
| 286 |
|
| 287 |
# We want these but in the right place
|
| 288 |
mv texmf/doc/info/tds.info .
|
| 289 |
|
| 290 |
# now nuke the info dir
|
| 291 |
rm -rf texmf/doc/info
|
| 292 |
rm -rf texmf-dist/doc/info
|
| 293 |
|
| 294 |
# Create symlinks for Euler fonts (RH #9782)
|
| 295 |
pushd texmf-dist/tex/latex/amsfonts
|
| 296 |
for i in ex f r s ; do
|
| 297 |
ln -sf ueu${i}.fd Ueu${i}.fd
|
| 298 |
done
|
| 299 |
popd
|
| 300 |
|
| 301 |
# fix the bloody permissions - Grrrr
|
| 302 |
chmod 644 \
|
| 303 |
texmf-dist/scripts/oberdiek/pdfatfi.pl texmf-dist/doc/generic/enctex/unimap.py \
|
| 304 |
texmf-dist/doc/latex/minitoc/{emk,fmk,imk,pmk,rmk,tmk,xmk} texmf-dist/doc/latex/multibib/bibtexall \
|
| 305 |
texmf-dist/doc/generic/pstricks-add/examples/{dataI.dat,dataII.dat}
|
| 306 |
chmod 755 texmf-var/{tex,dvipdfm,dvipdfm/config,dvips,dvips/config} texmf-var/tex \
|
| 307 |
texmf-var/tex/{plain,plain/config,context,context/config,generic,generic/config}
|
| 308 |
|
| 309 |
# fix the ConTeXt ruby scripts
|
| 310 |
for ruby in `find texmf-dist/scripts/context/ruby/ -name *.rb` \
|
| 311 |
texmf-dist/scripts/context/stubs/unix/* \
|
| 312 |
; do
|
| 313 |
if [ `head -1 ${ruby} | grep -c "^#!"` -eq 1 ]; then
|
| 314 |
chmod 755 ${ruby}
|
| 315 |
else
|
| 316 |
chmod 644 ${ruby}
|
| 317 |
fi
|
| 318 |
done
|
| 319 |
|
| 320 |
# fix references to nonexistent cm-super fonts
|
| 321 |
for i in `find . -name *.map` ; do
|
| 322 |
if [ `grep -c cm-super ${i}` != 0 ]; then
|
| 323 |
mv ${i} ${i}.old
|
| 324 |
grep -v cm-super ${i}.old > ${i} || :
|
| 325 |
rm -f ${i}.old
|
| 326 |
fi
|
| 327 |
done
|
| 328 |
|
| 329 |
# fix empty documentation files
|
| 330 |
echo "%%%" >> texmf-dist/doc/latex/mathpazo/mapppl.tex
|
| 331 |
echo "%%%" >> texmf-dist/doc/latex/mathpazo/mapzplm.tex
|
| 332 |
|
| 333 |
# these should be in scripts with symlink to current location
|
| 334 |
mkdir -p texmf/scripts/hyphen/sh
|
| 335 |
pushd texmf/tex/generic/hyphen/
|
| 336 |
install -p -m755 bahyph.sh ../../../scripts/hyphen/sh/
|
| 337 |
rm -f bahyph.sh
|
| 338 |
ln -s ../../../scripts/hyphen/sh/bahyph.sh .
|
| 339 |
popd
|
| 340 |
|
| 341 |
# these files owned by binary texlive package
|
| 342 |
rm -f texmf/web2c/pdfetex-pl.pool
|
| 343 |
rm -f texmf/web2c/pdfetex.pool
|
| 344 |
|
| 345 |
# these files owned by binary texlive-fonts package
|
| 346 |
rm -f texmf/web2c/{mktex.opt,mktexdir,mktexdir.opt,mktexnam,mktexnam.opt,mktexupd}
|
| 347 |
|
| 348 |
# these files owned by binary texlive-dvips package
|
| 349 |
rm -rf texmf/dvips/base
|
| 350 |
|
| 351 |
# these files owned by tetex-perltex package
|
| 352 |
rm -rf texmf-dist/tex/latex/perltex/
|
| 353 |
rm -rf texmf-dist/doc/latex/perltex/
|
| 354 |
|
| 355 |
# remove ttf2pk stuff from bin-ttfutils
|
| 356 |
rm -f texmf/doc/man/man1/ttf2pk.1
|
| 357 |
rm -rf texmf/doc/ttf2pk/
|
| 358 |
rm -rf texmf/fonts/enc/ttf2pk/
|
| 359 |
rm -rf texmf/fonts/map/ttf2pk/
|
| 360 |
rm -rf texmf/fonts/sfd/
|
| 361 |
rm -rf texmf/ttf2pk/
|
| 362 |
|
| 363 |
#remove ubbold.fd (#458150)
|
| 364 |
rm -f texmf/tex/latex/jknapltx/ubbold.fd
|
| 365 |
|
| 366 |
%install
|
| 367 |
rm -rf %{buildroot} && mkdir -p %{buildroot}
|
| 368 |
|
| 369 |
install -d -m755 %{buildroot}%{_infodir}
|
| 370 |
install -p -m644 tds.info %{buildroot}%{_infodir}/
|
| 371 |
|
| 372 |
# install the texmf
|
| 373 |
mkdir -p %{buildroot}%{_texmf_main}
|
| 374 |
mkdir -p %{buildroot}%{_texmf_var}
|
| 375 |
mkdir -p %{buildroot}%{_texmf_vendor}
|
| 376 |
|
| 377 |
cp -a %{SOURCE10} %{buildroot}%{_texmf_main}/default.ls-R
|
| 378 |
cp -a %{SOURCE11} %{buildroot}%{_texmf_var}/default.ls-R
|
| 379 |
|
| 380 |
# ghostscript cmap required for dvipdfmx
|
| 381 |
if [ -d "%{_datadir}/ghostscript/`gs --version| cut -d . -f 1-2`/Resource/CMap" ] ; then
|
| 382 |
cmap_dir="%{_datadir}/ghostscript/"`gs --version| cut -d . -f 1-2`"/Resource/CMap/"
|
| 383 |
elif [ -d "%{_datadir}/ghostscript/Resource/CMap" ] ; then
|
| 384 |
cmap_dir="%{_datadir}/ghostscript/Resource/CMap/"
|
| 385 |
fi
|
| 386 |
if [ z"$cmap_dir" != 'z' ]; then
|
| 387 |
%{__sed} -i 's?^CMAPFONTS = .*?CMAPFONTS = .;$TEXMF/fonts/cmap//;'"$cmap_dir"'?' texmf/web2c/texmf.cnf
|
| 388 |
fi
|
| 389 |
|
| 390 |
cp -a texmf/* %{buildroot}%{_texmf_main}
|
| 391 |
cp -a texmf-var/* %{buildroot}%{_texmf_var}
|
| 392 |
cp -a texmf-dist/* %{buildroot}%{_texmf_vendor}
|
| 393 |
|
| 394 |
install -d -m755 %{buildroot}%{_texmf_main}/fonts/{cmap,sfd,type3,type42}
|
| 395 |
|
| 396 |
# move the configuration files and symlink them
|
| 397 |
install -d -m755 %{buildroot}%{_texmf_conf}/web2c
|
| 398 |
mv %{buildroot}%{_texmf_main}/web2c/mktex.cnf %{buildroot}%{_texmf_conf}/web2c/
|
| 399 |
for file in `ls %{buildroot}%{_texmf_conf}/web2c/ | egrep 'c(nf|fg)$'`; do
|
| 400 |
filename="`basename ${file}`"
|
| 401 |
ln -sf %{_texmf_conf}/web2c/${filename} %{buildroot}%{_texmf_main}/web2c/
|
| 402 |
done
|
| 403 |
|
| 404 |
if [ -x %{_bindir}/texhash ]; then
|
| 405 |
texhash %{buildroot}%{_texmf_main}
|
| 406 |
mv %{buildroot}%{_texmf_main}/ls-R %{buildroot}%{_texmf_main}/default.ls-R
|
| 407 |
texhash %{buildroot}%{_texmf_var}
|
| 408 |
mv %{buildroot}%{_texmf_var}/ls-R %{buildroot}%{_texmf_var}/default.ls-R
|
| 409 |
else
|
| 410 |
install -p -m644 %{SOURCE10} %{buildroot}%{_texmf_main}/default.ls-R
|
| 411 |
install -p -m644 %{SOURCE11} %{buildroot}%{_texmf_var}/default.ls-R
|
| 412 |
fi
|
| 413 |
touch %{buildroot}%{_texmf_main}/ls-R
|
| 414 |
touch %{buildroot}%{_texmf_var}/ls-R
|
| 415 |
install -d -m755 %{buildroot}%{_texmf_vendor}/{doc,tex}/{generic,latex}
|
| 416 |
install -d -m755 %{buildroot}%{_texmf_vendor}/fonts
|
| 417 |
touch %{buildroot}%{_texmf_vendor}/ls-R
|
| 418 |
touch %{buildroot}%{_texmf_conf}/ls-R
|
| 419 |
|
| 420 |
# remove xdvi files, now packaged separately
|
| 421 |
rm -rf %{buildroot}%{_texmf_var}/xdvi
|
| 422 |
|
| 423 |
# remove dvipdfmx files
|
| 424 |
rm %{buildroot}%{_texmf_main}/dvipdfm/{dvipdfmx.cfg,EUC-UCS2,README,UniKSCms-UCS2-H,UniKSCms-UCS2-V}
|
| 425 |
|
| 426 |
# remove win32 dvipdfm file
|
| 427 |
rm %{buildroot}%{_texmf_main}/dvipdfm/config/config-win32
|
| 428 |
|
| 429 |
# remove preview, it's now packaged separately (#425805)
|
| 430 |
rm -rf %{buildroot}%{_texmf_main}/tex/latex/preview/
|
| 431 |
rm -rf %{buildroot}%{_texmf_main}/doc/latex/preview/
|
| 432 |
|
| 433 |
# remove binaries from splitindex (#476636)
|
| 434 |
rm -rf %{buildroot}%{_texmf_main}/doc/latex/splitindex/*i386* \
|
| 435 |
%{buildroot}%{_texmf_main}/doc/latex/splitindex/*.exe \
|
| 436 |
%{buildroot}%{_texmf_main}/doc/latex/splitindex/*.class
|
| 437 |
|
| 438 |
# remove $TEXMFMAIN/tex/texinfo to not to clash with texinfo (#226488)
|
| 439 |
rm -rf %{buildroot}%{_texmf_main}/tex/texinfo/
|
| 440 |
|
| 441 |
# remove dvipdfm configuration file
|
| 442 |
rm -rf %{buildroot}%{_texmf_main}/dvipdfm
|
| 443 |
|
| 444 |
# create macro file for building texlive
|
| 445 |
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
| 446 |
cat <<EOF > %{buildroot}%{_sysconfdir}/rpm/macros.texlive
|
| 447 |
# macros to keep trees in texlive consistent
|
| 448 |
%%_texmf_main %{_texmf_main}
|
| 449 |
%%_texmf_vendor %{_texmf_vendor}
|
| 450 |
%%_texmf_var %{_texmf_var}
|
| 451 |
%%_texmf_conf %{_texmf_conf}
|
| 452 |
EOF
|
| 453 |
|
| 454 |
%clean
|
| 455 |
rm -rf %{buildroot}
|
| 456 |
|
| 457 |
%post
|
| 458 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 459 |
[ -x /sbin/install-info ] && /sbin/install-info %{_infodir}/tds.info.gz %{_infodir}/dir
|
| 460 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 461 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 462 |
fi
|
| 463 |
:
|
| 464 |
|
| 465 |
%post afm
|
| 466 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 467 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 468 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 469 |
fi
|
| 470 |
:
|
| 471 |
|
| 472 |
%post dvips
|
| 473 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 474 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 475 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 476 |
fi
|
| 477 |
:
|
| 478 |
|
| 479 |
%post fonts
|
| 480 |
# done in fonts because fonts package owns texhash
|
| 481 |
# this is really only needed for build system
|
| 482 |
if [ ! -x %{_bindir}/texhash ]; then
|
| 483 |
cat %{_texmf_main}/default.ls-R > %{_texmf_main}/ls-R
|
| 484 |
cat %{_texmf_var}/default.ls-R > %{_texmf_var}/ls-R
|
| 485 |
else
|
| 486 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 487 |
fi
|
| 488 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 489 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 490 |
fi
|
| 491 |
:
|
| 492 |
|
| 493 |
%post latex
|
| 494 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 495 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 496 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 497 |
fi
|
| 498 |
:
|
| 499 |
|
| 500 |
%post xetex
|
| 501 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 502 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 503 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 504 |
fi
|
| 505 |
:
|
| 506 |
|
| 507 |
%post doc
|
| 508 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 509 |
:
|
| 510 |
|
| 511 |
%post east-asian
|
| 512 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 513 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 514 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 515 |
fi
|
| 516 |
:
|
| 517 |
|
| 518 |
%post context
|
| 519 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 520 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 521 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 522 |
fi
|
| 523 |
:
|
| 524 |
|
| 525 |
%preun
|
| 526 |
if [ "$1" = 0 ]; then
|
| 527 |
[ -x /sbin/install-info ] && /sbin/install-info --delete %{_infodir}/tds.info.gz %{_infodir}/dir || :
|
| 528 |
fi
|
| 529 |
:
|
| 530 |
|
| 531 |
|
| 532 |
%postun
|
| 533 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 534 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 535 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 536 |
fi
|
| 537 |
:
|
| 538 |
|
| 539 |
%postun afm
|
| 540 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 541 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 542 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 543 |
fi
|
| 544 |
:
|
| 545 |
|
| 546 |
%postun dvips
|
| 547 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 548 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 549 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 550 |
fi
|
| 551 |
:
|
| 552 |
|
| 553 |
%postun fonts
|
| 554 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 555 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 556 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 557 |
fi
|
| 558 |
:
|
| 559 |
|
| 560 |
%postun latex
|
| 561 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 562 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 563 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 564 |
fi
|
| 565 |
:
|
| 566 |
|
| 567 |
%postun xetex
|
| 568 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 569 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 570 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 571 |
fi
|
| 572 |
:
|
| 573 |
|
| 574 |
%postun doc
|
| 575 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 576 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 577 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 578 |
fi
|
| 579 |
:
|
| 580 |
|
| 581 |
%postun east-asian
|
| 582 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 583 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 584 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 585 |
fi
|
| 586 |
:
|
| 587 |
|
| 588 |
%postun context
|
| 589 |
[ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null
|
| 590 |
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
|
| 591 |
[ -x /sbin/restorecon ] && /sbin/restorecon -R %{_texmf_var}/
|
| 592 |
fi
|
| 593 |
:
|
| 594 |
|
| 595 |
%files
|
| 596 |
%defattr(-,root,root,-)
|
| 597 |
%config(noreplace) %{_sysconfdir}/rpm/macros.texlive
|
| 598 |
%doc texlive.%{version}.zip.list
|
| 599 |
%dir %{_texmf_main}/bibtex
|
| 600 |
%{_texmf_main}/bibtex/bib/
|
| 601 |
%{_texmf_main}/bibtex/csf/
|
| 602 |
%dir %{_texmf_main}/bibtex/bst
|
| 603 |
%{_texmf_main}/bibtex/bst/[a-b]*/
|
| 604 |
%{_texmf_main}/bibtex/bst/camel/
|
| 605 |
%{_texmf_main}/bibtex/bst/[d-x]*/
|
| 606 |
#%dir %{_texmf_main}/dvipdfm
|
| 607 |
#%dir %{_texmf_main}/dvipdfm/config
|
| 608 |
#%{_texmf_main}/dvipdfm/config/config
|
| 609 |
%dir %{_texmf_main}/fmtutil
|
| 610 |
%{_texmf_main}/makeindex/
|
| 611 |
%{_texmf_main}/metafont/
|
| 612 |
%dir %{_texmf_main}/metapost
|
| 613 |
%{_texmf_main}/metapost/base/
|
| 614 |
%{_texmf_main}/metapost/config/
|
| 615 |
%{_texmf_main}/metapost/mfpic/
|
| 616 |
%{_texmf_main}/metapost/misc/
|
| 617 |
%{_texmf_main}/metapost/makecirc/
|
| 618 |
%{_texmf_main}/metapost/mpattern/
|
| 619 |
%{_texmf_main}/metapost/support/
|
| 620 |
%{_texmf_main}/metapost/texpower/
|
| 621 |
%{_texmf_main}/omega/
|
| 622 |
%dir %{_texmf_main}/scripts
|
| 623 |
%{_texmf_main}/scripts/hyphen/
|
| 624 |
%{_texmf_main}/scripts/oberdiek/
|
| 625 |
%{_texmf_main}/scripts/pkfix/
|
| 626 |
%{_texmf_main}/scripts/ppower4/
|
| 627 |
%{_texmf_main}/scripts/ps2eps/
|
| 628 |
%{_texmf_main}/texconfig/
|
| 629 |
%dir %{_texmf_main}/tex
|
| 630 |
%{_texmf_main}/tex/amstex/
|
| 631 |
%{_texmf_main}/tex/csplain/
|
| 632 |
%{_texmf_main}/tex/eplain/
|
| 633 |
%{_texmf_main}/tex/fontinst/
|
| 634 |
%dir %{_texmf_main}/tex/lambda
|
| 635 |
%dir %{_texmf_main}/tex/lambda/base
|
| 636 |
%{_texmf_main}/tex/lambda/config/
|
| 637 |
%{_texmf_main}/tex/lambda/base/*.tex
|
| 638 |
%{_texmf_main}/tex/lambda/base/*.bgd
|
| 639 |
%{_texmf_main}/tex/lambda/base/*.lay
|
| 640 |
%{_texmf_main}/tex/lambda/base/*.hpn
|
| 641 |
%{_texmf_main}/tex/lambda/base/*.fd
|
| 642 |
%{_texmf_main}/tex/lambda/base/*.def
|
| 643 |
%{_texmf_main}/tex/lambda/base/*.sty
|
| 644 |
%{_texmf_main}/tex/lambda/oinuit/
|
| 645 |
%{_texmf_main}/tex/mex/
|
| 646 |
%{_texmf_main}/tex/mltex/
|
| 647 |
%{_texmf_main}/tex/plain/
|
| 648 |
%{_texmf_main}/texdoctk/
|
| 649 |
%{_texmf_main}/vtex/
|
| 650 |
# will result in a couple files being owned by texmf and texmf-fonts
|
| 651 |
# texmf/tex/generic/babel/{frenchb.cfg,hyphen.cfg}
|
| 652 |
# Not really worth worrying about.
|
| 653 |
%dir %{_texmf_main}/tex/generic
|
| 654 |
%{_texmf_main}/tex/generic/[a-h]*/
|
| 655 |
%{_texmf_main}/tex/generic/[j-o]*/
|
| 656 |
%{_texmf_main}/tex/generic/p[a-f]*/
|
| 657 |
%dir %{_texmf_main}/tex/generic/pgf
|
| 658 |
%{_texmf_main}/tex/generic/pgf/basiclayer/
|
| 659 |
%{_texmf_main}/tex/generic/pgf/frontendlayer/
|
| 660 |
%{_texmf_main}/tex/generic/pgf/libraries/
|
| 661 |
%{_texmf_main}/tex/generic/pgf/systemlayer/
|
| 662 |
%dir %{_texmf_main}/tex/generic/pgf/utilities
|
| 663 |
%{_texmf_main}/tex/generic/pgf/utilities/*.tex
|
| 664 |
%{_texmf_main}/tex/generic/pgf/utilities/pgfutil-latex.def
|
| 665 |
%{_texmf_main}/tex/generic/pgf/utilities/pgfutil-plain.def
|
| 666 |
%{_texmf_main}/tex/generic/p[i-x]*/
|
| 667 |
%{_texmf_main}/tex/generic/[q-w]*/
|
| 668 |
%{_texmf_main}/tex/generic/xu-hyphen/
|
| 669 |
%{_texmf_main}/tex/generic/xypic/
|
| 670 |
# configs
|
| 671 |
%dir %{_texmf_main}/web2c
|
| 672 |
%{_texmf_main}/web2c/*.tcx
|
| 673 |
%{_texmf_main}/web2c/fmtutil.cnf
|
| 674 |
%{_texmf_main}/web2c/mktex.cnf
|
| 675 |
%{_texmf_main}/web2c/texmf.cnf
|
| 676 |
%{_texmf_main}/web2c/*.cfg
|
| 677 |
%config(noreplace) %{_texmf_conf}/web2c/*.cnf
|
| 678 |
%{_texmf_main}/web2c/aleph.pool
|
| 679 |
%{_texmf_main}/web2c/mf.pool
|
| 680 |
%{_texmf_main}/web2c/omega.pool
|
| 681 |
%{_texmf_main}/web2c/pdftex.pool
|
| 682 |
%{_texmf_main}/web2c/tex.pool
|
| 683 |
# var
|
| 684 |
%config(noreplace) %{_texmf_var}/web2c/mktex.cnf
|
| 685 |
%dir %{_texmf_var}/tex/
|
| 686 |
%{_texmf_var}/tex/generic
|
| 687 |
%{_texmf_var}/tex/plain
|
| 688 |
%dir %{_texmf_var}/fonts
|
| 689 |
%dir %{_texmf_var}/fonts/map
|
| 690 |
%dir %{_texmf_var}/fonts/map/dvipdfm
|
| 691 |
%dir %{_texmf_var}/fonts/map/dvipdfm/updmap
|
| 692 |
%dir %{_texmf_var}/fonts/map/dvips
|
| 693 |
%dir %{_texmf_var}/fonts/map/pdftex
|
| 694 |
%ghost %{_texmf_var}/fonts/map/dvipdfm/updmap/*
|
| 695 |
%dir %{_texmf_var}/fonts/map/dvips/updmap
|
| 696 |
%ghost %{_texmf_var}/fonts/map/dvips/updmap/*
|
| 697 |
%dir %{_texmf_var}/fonts/map/pdftex/updmap
|
| 698 |
%ghost %{_texmf_var}/fonts/map/pdftex/updmap/*
|
| 699 |
%{_texmf_var}/dvipdfm
|
| 700 |
%{_texmf_var}/web2c
|
| 701 |
# info
|
| 702 |
%{_infodir}/tds.info.*
|
| 703 |
# ls-R
|
| 704 |
%ghost %{_texmf_main}/ls-R
|
| 705 |
#%ghost %{_texmf_vendor}/ls-R
|
| 706 |
%ghost %{_texmf_conf}/ls-R
|
| 707 |
%ghost %{_texmf_var}/ls-R
|
| 708 |
%{_texmf_main}/default.ls-R
|
| 709 |
# former common subpackage, should not own any installed files.
|
| 710 |
%dir %{_texmf_main}
|
| 711 |
# for addon packages that want to put stuff in these directories
|
| 712 |
#%dir %{_texmf_vendor}
|
| 713 |
%dir %{_texmf_vendor}/doc
|
| 714 |
%dir %{_texmf_vendor}/doc/generic
|
| 715 |
%dir %{_texmf_vendor}/doc/latex
|
| 716 |
# a few TDS directories (more need to be added)
|
| 717 |
#%dir %{_texmf_vendor}/tex
|
| 718 |
#%dir %{_texmf_vendor}/tex/generic
|
| 719 |
%dir %{_texmf_vendor}/tex/latex
|
| 720 |
%dir %{_texmf_vendor}/fonts
|
| 721 |
%dir %{_texmf_var}
|
| 722 |
# conf
|
| 723 |
%dir %{_texmf_conf}
|
| 724 |
%dir %{_texmf_conf}/web2c
|
| 725 |
# texmf-var
|
| 726 |
%{_texmf_var}/default.ls-R
|
| 727 |
|
| 728 |
%files east-asian
|
| 729 |
%defattr(-,root,root,-)
|
| 730 |
%dir %{_texmf_main}/ptex
|
| 731 |
%{_texmf_main}/jbibtex
|
| 732 |
%{_texmf_main}/ptex/plain
|
| 733 |
%{_texmf_main}/ptex/platex
|
| 734 |
%{_texmf_main}/ptex/platex209
|
| 735 |
|
| 736 |
%files context
|
| 737 |
%defattr(-,root,root,-)
|
| 738 |
%dir %{_texmf_main}/context
|
| 739 |
%dir %{_texmf_main}/context/data
|
| 740 |
%{_texmf_main}/context/config/
|
| 741 |
%{_texmf_main}/context/data/*.gui
|
| 742 |
%{_texmf_main}/context/data/*.ini
|
| 743 |
%{_texmf_main}/context/data/*.xml
|
| 744 |
%{_texmf_main}/context/data/*.rme
|
| 745 |
%{_texmf_main}/context/data/*.dat
|
| 746 |
%{_texmf_main}/context/data/*.vim
|
| 747 |
%{_texmf_main}/context/data/cont-*.properties
|
| 748 |
%{_texmf_main}/context/data/context.properties
|
| 749 |
%{_texmf_main}/context/data/contextnames.txt
|
| 750 |
%{_texmf_main}/context/data/latex-scite.properties
|
| 751 |
%{_texmf_main}/context/data/metafun-scite.properties
|
| 752 |
%{_texmf_main}/context/data/scite-ctx.properties
|
| 753 |
%{_texmf_main}/context/data/scite-ctx.readme
|
| 754 |
%{_texmf_main}/tex/context/
|
| 755 |
%{_texmf_main}/scripts/context/
|
| 756 |
%{_texmf_var}/tex/context/
|
| 757 |
%{_texmf_main}/web2c/context.cnf
|
| 758 |
%{_texmf_main}/metapost/context/
|
| 759 |
%{_texmf_main}/tex/generic/context/
|
| 760 |
%{_texmf_main}/bibtex/bst/context/
|
| 761 |
%{_texmf_main}/tex/generic/pgf/utilities/pgfutil-context.def
|
| 762 |
%{_texmf_main}/fonts/enc/dvips/context/
|
| 763 |
%{_texmf_main}/fonts/map/pdftex/context/
|
| 764 |
%{_texmf_main}/fonts/map/dvipdfm/context/
|
| 765 |
|
| 766 |
%files afm
|
| 767 |
%defattr(-,root,root,-)
|
| 768 |
%{_texmf_main}/fonts/afm/
|
| 769 |
|
| 770 |
%files dvips
|
| 771 |
%defattr(-,root,root,-)
|
| 772 |
%dir %{_texmf_main}/dvips
|
| 773 |
%{_texmf_main}/dvips/[a-b]*/
|
| 774 |
%{_texmf_main}/dvips/cm/
|
| 775 |
%dir %{_texmf_main}/dvips/config
|
| 776 |
%config(noreplace) %{_texmf_main}/dvips/config/*
|
| 777 |
%{_texmf_main}/dvips/courier/
|
| 778 |
%{_texmf_main}/dvips/cs/
|
| 779 |
%{_texmf_main}/dvips/[d-z]*/
|
| 780 |
%{_texmf_var}/dvips/
|
| 781 |
%dir %{_texmf_main}/fonts/enc/dvips
|
| 782 |
%{_texmf_main}/fonts/enc/dvips/[a-b]*/
|
| 783 |
%{_texmf_main}/fonts/enc/dvips/cb/
|
| 784 |
%{_texmf_main}/fonts/enc/dvips/cc-pl/
|
| 785 |
%{_texmf_main}/fonts/enc/dvips/cs/
|
| 786 |
%{_texmf_main}/fonts/enc/dvips/[d-z]*/
|
| 787 |
%{_texmf_main}/fonts/map/dvips/
|
| 788 |
|
| 789 |
%files fonts
|
| 790 |
%defattr(-,root,root,-)
|
| 791 |
%dir %{_texmf_main}/fonts
|
| 792 |
%dir %{_texmf_main}/fonts/enc
|
| 793 |
%dir %{_texmf_main}/fonts/map
|
| 794 |
%{_texmf_main}/fonts/map/fontname/
|
| 795 |
%{_texmf_main}/fonts/cmap/
|
| 796 |
%{_texmf_main}/fonts/ofm/
|
| 797 |
%{_texmf_main}/fonts/opentype/
|
| 798 |
%{_texmf_main}/fonts/ovf/
|
| 799 |
%{_texmf_main}/fonts/ovp/
|
| 800 |
%{_texmf_main}/fonts/pfm/
|
| 801 |
%{_texmf_main}/fonts/map/vtex/
|
| 802 |
%dir %{_texmf_main}/fonts/pk
|
| 803 |
%dir %{_texmf_main}/fonts/sfd
|
| 804 |
%{_texmf_main}/fonts/source/
|
| 805 |
%{_texmf_main}/fonts/tfm/
|
| 806 |
%{_texmf_main}/fonts/type1/
|
| 807 |
%{_texmf_main}/fonts/truetype/
|
| 808 |
%dir %{_texmf_main}/fonts/type3
|
| 809 |
%dir %{_texmf_main}/fonts/type42
|
| 810 |
%{_texmf_main}/fonts/vf/
|
| 811 |
%{_texmf_main}/tex/generic/babel/frenchb.cfg
|
| 812 |
%{_texmf_main}/tex/generic/babel/hyphen.cfg
|
| 813 |
%{_texmf_main}/tex/lambda/base/omarab.cfg
|
| 814 |
%{_texmf_main}/tex/lambda/base/omlgc.cfg
|
| 815 |
%{_texmf_main}/fonts/enc/pdftex/
|
| 816 |
%dir %{_texmf_main}/fonts/map/pdftex
|
| 817 |
%{_texmf_main}/fonts/map/pdftex/updmap/
|
| 818 |
%{_texmf_main}/fonts/map/pdftex/vntex/
|
| 819 |
%dir %{_texmf_main}/fonts/map/dvipdfm
|
| 820 |
%{_texmf_main}/fonts/map/dvipdfm/dvipdfmx/
|
| 821 |
%{_texmf_main}/fonts/map/dvipdfm/tetex/
|
| 822 |
%{_texmf_main}/fonts/map/dvipdfm/updmap/
|
| 823 |
|
| 824 |
%files latex
|
| 825 |
%defattr(-,root,root,-)
|
| 826 |
%{_texmf_main}/tex/cslatex/
|
| 827 |
%{_texmf_main}/tex/latex/
|
| 828 |
%{_texmf_main}/tex/platex/
|
| 829 |
|
| 830 |
%files xetex
|
| 831 |
%defattr(-,root,root,-)
|
| 832 |
%dir %{_texmf_main}/fonts/misc
|
| 833 |
%{_texmf_main}/tex/xelatex/
|
| 834 |
%{_texmf_main}/fonts/misc/xetex/
|
| 835 |
%{_texmf_main}/scripts/xetex/
|
| 836 |
%{_texmf_main}/web2c/xetex.pool
|
| 837 |
%{_texmf_main}/tex/generic/ifxetex/
|
| 838 |
%{_texmf_main}/tex/generic/xetexconfig/
|
| 839 |
|
| 840 |
%files doc
|
| 841 |
%defattr(-,root,root,-)
|
| 842 |
%doc %{_texmf_main}/doc/
|
| 843 |
|
| 844 |
%changelog
|
| 845 |
* Mon Oct 26 2009 Tom "spot" Callaway <tcallawa@redhat.com> 2007-32
|
| 846 |
- resolve conflict between texlive-texmf (and -doc) and tetex-perltex
|
| 847 |
- resolve conflict between texlive-texmf and tetex-prosper
|
| 848 |
- resolve conflict between texlive-texmf and tetex-perltex
|
| 849 |
|
| 850 |
* Tue Oct 20 2009 Jindrich Novy <jnovy@redhat.com> 2007-31
|
| 851 |
- do not conflict with dvipdfm
|
| 852 |
- update perl requires filter
|
| 853 |
|
| 854 |
* Thu Oct 15 2009 Jindrich Novy <jnovy@redhat.com> 2007-30
|
| 855 |
- update latin.ldf (#469948)
|
| 856 |
- do not provide any perl dependencies (#516350)
|
| 857 |
|
| 858 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2007-29
|
| 859 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 860 |
|
| 861 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2007-28
|
| 862 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 863 |
|
| 864 |
* Tue Dec 16 2008 Jindrich Novy <jnovy@redhat.com> - 2007-27
|
| 865 |
- remove binaries from splitindex (#476636)
|
| 866 |
- add unowned dirs into the filelist (#474027)
|
| 867 |
- fix patch to brp-compress script (#468179)
|
| 868 |
- remove F8 related chunks from spec
|
| 869 |
|
| 870 |
* Mon Oct 13 2008 Jindrich Novy <jnovy@redhat.com> - 2007-26
|
| 871 |
- increase limits in texmf.cnf so that PostgreSQL documentation build
|
| 872 |
passes (#460982)
|
| 873 |
- update to texlive-2008 version of envlab
|
| 874 |
|
| 875 |
* Fri Aug 29 2008 Jindrich Novy <jnovy@redhat.com> - 2007-25
|
| 876 |
- get rid of the bogus perl require for -doc subpackage
|
| 877 |
- obsolete tetex-unicode (#459322)
|
| 878 |
|
| 879 |
* Wed Aug 27 2008 Jindrich Novy <jnovy@redhat.com> - 2007-24
|
| 880 |
- fix rendering of beamer slides (#457836)
|
| 881 |
- remove ubbold.fd (#458150), thanks to Jason Cross
|
| 882 |
- fix broken Euro sign (#459332) and Romanian accent (#460266),
|
| 883 |
thanks to Vasile Gaburici
|
| 884 |
|
| 885 |
* Mon Jun 23 2008 Jindrich Novy <jnovy@redhat.com> - 2007-23
|
| 886 |
- do not directly depend on restorecon and run it only if
|
| 887 |
selinux is enabled
|
| 888 |
|
| 889 |
* Thu Jun 19 2008 Jindrich Novy <jnovy@redhat.com> - 2007-22
|
| 890 |
- rebuild to have higher NVR than F9
|
| 891 |
|
| 892 |
* Mon May 05 2008 Jindrich Novy <jnovy@redhat.com> - 2007-21
|
| 893 |
- fix SELinux contexts everywhere possible, don't allow restorecon
|
| 894 |
to fail (#444922)
|
| 895 |
|
| 896 |
* Mon Apr 07 2008 Jindrich Novy <jnovy@redhat.com> - 2007-20
|
| 897 |
- mark dvips config files %%config(noreplace) (#441171)
|
| 898 |
|
| 899 |
* Thu Apr 03 2008 Jindrich Novy <jnovy@redhat.com> - 2007-19
|
| 900 |
- texmf-afm and texmf-dvips requires the main texmf tree
|
| 901 |
- directory ownership fixes (#440359)
|
| 902 |
|
| 903 |
* Tue Apr 01 2008 Jindrich Novy <jnovy@redhat.com> - 2007-18
|
| 904 |
- run restorecon in fonts subpackage to fix bad SELinux contexts
|
| 905 |
- require coreutils for post (#437457)
|
| 906 |
|
| 907 |
* Mon Mar 10 2008 Jindrich Novy <jnovy@redhat.com> - 2007-17
|
| 908 |
- add styles from upstream collection-latexextra to have more
|
| 909 |
complete LaTeX distribution (#436180)
|
| 910 |
- move tex-preview dependency to texlive-texmf-latex (#436699)
|
| 911 |
- remove tex4ht completely from lists
|
| 912 |
- regenerate ls-Rs
|
| 913 |
|
| 914 |
* Mon Mar 03 2008 Jindrich Novy <jnovy@redhat.com> - 2007-16
|
| 915 |
- update texlive package list to ship complete upstream XeTeX
|
| 916 |
TeXLive distribution
|
| 917 |
- introduce new texlive-texmf-xetex subpackage
|
| 918 |
- move context bits to its subpackage, add missing styles from
|
| 919 |
upstream collection-context
|
| 920 |
|
| 921 |
* Sat Mar 01 2008 Jindrich Novy <jnovy@redhat.com> - 2007-15
|
| 922 |
- require texlive-texmf in texlive-texmf-fonts (#431255)
|
| 923 |
- add missing post/postun scriptlets for texlive-texmf-latex
|
| 924 |
- require tex-preview
|
| 925 |
|
| 926 |
* Thu Feb 28 2008 Jindrich Novy <jnovy@redhat.com> - 2007-14
|
| 927 |
- rename texlive-texmf-japanese to texlive-texmf-east-asian
|
| 928 |
- use better approach in installation of cmap files for dvipdfmx
|
| 929 |
(#418091), thanks to Patrice Dumas
|
| 930 |
- drop useless ghostscript Requires from texlive-texmf-fonts,
|
| 931 |
drop xdg-utils Requires from texlive-texmf (#428489)
|
| 932 |
|
| 933 |
* Mon Feb 25 2008 Jindrich Novy <jnovy@redhat.com> - 2007-13
|
| 934 |
- ship config file for dvipdfm (#434165), thanks to Patrice Dumas
|
| 935 |
- obsolete/provide tetex-lineno (#426929)
|
| 936 |
|
| 937 |
* Sun Feb 17 2008 Jindrich Novy <jnovy@redhat.com> - 2007-12
|
| 938 |
- package bigfoot, erroneously missing from the original
|
| 939 |
TeX Live 2007 (#426507)
|
| 940 |
- remove references to cm-super fonts from map files to make
|
| 941 |
dvips work correctly (#431182)
|
| 942 |
- package ConTeXt separately to texlive-texmf-context to get
|
| 943 |
rid of the ruby dependency
|
| 944 |
- move from bz2 to lzma to save space
|
| 945 |
- move font stuff out of the dvips subpackage
|
| 946 |
|
| 947 |
* Tue Feb 05 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2007-11
|
| 948 |
- don't require texinfo-tex, tex-preview (#431516)
|
| 949 |
|
| 950 |
* Mon Jan 28 2008 Jindrich Novy <jnovy@redhat.com> - 2007-10
|
| 951 |
- BR: texinfo-tex
|
| 952 |
- package Japanese separately -> texlive-texmf-japanese
|
| 953 |
- prevent packaging patch backups
|
| 954 |
- correct directory/file permissions in less wasteful way to
|
| 955 |
increase build speed
|
| 956 |
- run only brp-compress
|
| 957 |
|
| 958 |
* Fri Jan 25 2008 Jindrich Novy <jnovy@redhat.com> - 2007-9
|
| 959 |
- remove $TEXMFMAIN/tex/texinfo to not to clash with texinfo (#226488)
|
| 960 |
|
| 961 |
* Fri Jan 18 2008 Jindrich Novy <jnovy@redhat.com> - 2007-8
|
| 962 |
- update updmap.cfg so that pdftex map files are consistent
|
| 963 |
with the current package set
|
| 964 |
|
| 965 |
* Mon Jan 14 2008 Jindrich Novy <jnovy@redhat.com> - 2007-7
|
| 966 |
- remove Requires: htmlview (#428506)
|
| 967 |
- texlive-doc -> texlive-texmf-doc
|
| 968 |
|
| 969 |
* Fri Jan 04 2008 Jindrich Novy <jnovy@redhat.com> - 2007-6
|
| 970 |
- require tex-preview (#425805)
|
| 971 |
|
| 972 |
* Wed Jan 02 2008 Jindrich Novy <jnovy@redhat.com> - 2007-5
|
| 973 |
- remove preview, it is to be packaged separately (#425805)
|
| 974 |
- add japanese ptex fmtutil configuration, thanks to Patrice Dumas
|
| 975 |
- update texlive-texmf-fonts package description to reflect
|
| 976 |
texlive and texlive-fonts merge (related: #426388)
|
| 977 |
|
| 978 |
* Mon Dec 17 2007 Jindrich Novy <jnovy@redhat.com> - 2007-4
|
| 979 |
- fix cmap path sed substitution
|
| 980 |
|
| 981 |
* Mon Dec 10 2007 Jindrich Novy <jnovy@redhat.com> - 2007-3
|
| 982 |
- readd symlinks to gs maps (#418091)
|
| 983 |
|
| 984 |
* Thu Dec 06 2007 Jindrich Novy <jnovy@redhat.com> - 2007-2
|
| 985 |
- don't conflict with tetex-doc (#413141)
|
| 986 |
- remove tex4ht from texlive, it's packaged separately (#411501)
|
| 987 |
|
| 988 |
* Sun Dec 02 2007 Jindrich Novy <jnovy@redhat.com> - 2007-1
|
| 989 |
- drop Requires: texlive, since it's not yet built and
|
| 990 |
texlive buildrequires texlive-texmf
|
| 991 |
|
| 992 |
* Fri Nov 30 2007 Jindrich Novy <jnovy@redhat.com> - 2007-0.15
|
| 993 |
- add .gz suffix to info pages so that they gets successfully
|
| 994 |
removed in preun phase
|
| 995 |
|
| 996 |
* Thu Nov 29 2007 Jindrich Novy <jnovy@redhat.com> - 2007-0.14
|
| 997 |
- replace htmlview by xdg-open
|
| 998 |
|
| 999 |
* Wed Sep 12 2007 Jindrich Novy <jnovy@redhat.com> - 2007-0.13
|
| 1000 |
- move configuration files to the main texlive package
|
| 1001 |
- remove useless common subpackage and move its content to main package
|
| 1002 |
- increase default texmf.cnf limits so that xmlto works
|
| 1003 |
- don't call install-info in scriptlets if it doesn't exist
|
| 1004 |
- fix some multiple file ownerships
|
| 1005 |
- update ptex-texmf to 2.5
|
| 1006 |
- use xdg-utils and htmlview in tkdefaults
|
| 1007 |
|
| 1008 |
* Thu Sep 06 2007 Jindrich Novy <jnovy@redhat.com> - 2007-0.12
|
| 1009 |
- update comments related to sources
|
| 1010 |
|
| 1011 |
* Tue Aug 27 2007 Jindrich Novy <jnovy@redhat.com> - 2007-0.11
|
| 1012 |
- XDvi config file is owned only by one subpackage (thanks to S.Umar)
|
| 1013 |
- declare config files as config(noreplace)
|
| 1014 |
- BR ghostscript
|
| 1015 |
- ship separate ls-R when japanese is enabled
|
| 1016 |
|
| 1017 |
* Wed Aug 22 2007 MATSUURA Takanori <t.matsuu at gmail.com> - 2007-0.10.2
|
| 1018 |
- add Japanese pTeX
|
| 1019 |
- move Polish platex and pdfplatex are moved to platex-pl and
|
| 1020 |
pdfplatex respectively.
|
| 1021 |
- add ghostscript dependency and symbolic links to the cmap
|
| 1022 |
files. required for dvipdfmx
|
| 1023 |
|
| 1024 |
* Sat Aug 18 2007 Jindrich Novy <jnovy@redhat.com> - 2007-0.10
|
| 1025 |
- add bin-dvipsk, bin-bibtex, bin-amstex, bin-cyrillic, bin-cslatex,
|
| 1026 |
bin-cweb, bin-dvipdfmx, bin-dvicopy, bin-pstools, bin-texware,
|
| 1027 |
bin-thumbpdf, bin-web, bin-ttfutils (these contain man pages and
|
| 1028 |
config files for packaged binaries)
|
| 1029 |
- legal cleanup: remove literat, latex-tipps-und-tricks, fancybox,
|
| 1030 |
URW fonts with bad licenses and pcatcode from amscls
|
| 1031 |
|
| 1032 |
* Tue Aug 14 2007 Jindrich Novy <jnovy@redhat.com> - 2007-0.9
|
| 1033 |
- obsolete tetex-eurofont, it's a part of TeXLive
|
| 1034 |
- properly obsolete teTeX
|
| 1035 |
- update license tag (some styles/fonts need yet to be removed,
|
| 1036 |
licenses discussed upstream)
|
| 1037 |
- sort the zip list
|
| 1038 |
|
| 1039 |
* Tue Aug 07 2007 Jindrich Novy <jnovy@redhat.com> - 2007-0.8
|
| 1040 |
- add bin-tex, bin-xetex, bin-omega, bin-aleph, bin-metafont
|
| 1041 |
- remove sources lists and tpms from the texmf tarball
|
| 1042 |
- install texmf tree in a less hackish way, update texmf macro definitions
|
| 1043 |
- update updmap default configuration, move updmap.cfg to sysconfdir
|
| 1044 |
|
| 1045 |
* Tue Jul 24 2007 Jindrich Novy <jnovy@redhat.com> - 2007-0.7
|
| 1046 |
- add tetex-doc obsoletes/provides to fix upgrading from tetex
|
| 1047 |
|
| 1048 |
* Mon Jul 16 2007 Jindrich Novy <jnovy@redhat.com> - 2007-0.6
|
| 1049 |
- remove obsolete make-texlive-texmf.sh
|
| 1050 |
- remove external cstex
|
| 1051 |
|
| 1052 |
* Wed Jul 04 2007 Jindrich Novy <jnovy@redhat.com> - 2007-0.5
|
| 1053 |
- generate new complete style list based on styles in teTeX
|
| 1054 |
exclusively, regardless the upstream scheme-tetex
|
| 1055 |
(srpm size reduced from 280M -> 180M for texmf tree)
|
| 1056 |
- add new hyphenations that weren't present, add latex-fonts,
|
| 1057 |
latexconfig, etc. to regenerate all fmts successfully
|
| 1058 |
|
| 1059 |
* Tue Jun 30 2007 Jindrich Novy <jnovy@redhat.com> - 2007-0.4
|
| 1060 |
- reintroduce the texlive-errata scheme
|
| 1061 |
- remove old texjive lists and generate the texmf archive lists
|
| 1062 |
from scheme-tetex.tpm automatically
|
| 1063 |
(collection-xetex was added manually to scheme-tetex.tpm because
|
| 1064 |
the texmf tree is incomplete -> fmtutil --all complains)
|
| 1065 |
- fix all filelists to reflect the change above
|
| 1066 |
- fix empty document creation
|
| 1067 |
|
| 1068 |
* Mon Jun 04 2007 Jindrich Novy <jnovy@redhat.com> - 2007-0.3
|
| 1069 |
- remove obsolete make-texlive-texmf.sh
|
| 1070 |
|
| 1071 |
* Sat Jun 02 2007 Jindrich Novy <jnovy@redhat.com> - 2007-0.2
|
| 1072 |
- update to official TeXLive release
|
| 1073 |
- don't use dates in upstream tarball names
|
| 1074 |
- remove texlive-errata dependencies
|
| 1075 |
|
| 1076 |
* Mon Feb 12 2007 Jindrich Novy <jnovy@redhat.com> - 2007-0.1.20070212rc
|
| 1077 |
- update to TeXLive 2007 release candidate as of 12th Feb
|
| 1078 |
- don't package cslatex in separate tarballs
|
| 1079 |
- fix backups for patches 0, 7
|
| 1080 |
- unzip files quietly
|
| 1081 |
- package cnf files in texmf/web2c correctly
|
| 1082 |
- package new files for conTeXt
|
| 1083 |
- forwardport TeXLive-2005 patches
|
| 1084 |
- rpmlint fixes
|
| 1085 |
|
| 1086 |
* Tue May 30 2006 Michael A. Peters <mpeters@mac.com> - 2005-0.10
|
| 1087 |
- couple more minor tweaks to file ownership.
|
| 1088 |
|
| 1089 |
* Tue May 30 2006 Michael A. Peters <mpeters@mac.com> - 2005-0.9
|
| 1090 |
- some cleanup work on directory ownership
|
| 1091 |
- added missing dstroke package
|
| 1092 |
- added texmf tree for vendor bolt-on packages
|
| 1093 |
-
|
| 1094 |
- commented out perl script fix noted in 2005-0.5 changelog
|
| 1095 |
- until it can be investigated further (and fixed with patch instead)
|
| 1096 |
|
| 1097 |
* Mon May 29 2006 Michael A. Peters <mpeters@mac.com> - 2005-0.8
|
| 1098 |
- Initial mock build attempt
|
| 1099 |
|
| 1100 |
* Sun May 28 2006 Michael A. Peters <mpeters@mac.com> - 2005-0.6
|
| 1101 |
- Attempting to comply with FHS guidelines.
|
| 1102 |
- install a rpm macro file so that texjive binary package always uses
|
| 1103 |
- the same directories for texmf, texmf-config, texmf-var
|
| 1104 |
- Filter out requires for perl(only) and perl(path_tre)
|
| 1105 |
|
| 1106 |
* Sun May 28 2006 Michael A. Peters <mpeters@mac.com> - 2005-0.5
|
| 1107 |
- Fixed perl scripts in TEXMF/scripts that thought it would be cute
|
| 1108 |
- to not use a proper shell bang
|
| 1109 |
-
|
| 1110 |
- Install an rpm macro file for building the binary package
|
| 1111 |
|
| 1112 |
* Sun May 28 2006 Michael A. Peters <mpeters@mac.com> - 2005-0.4
|
| 1113 |
- install utopia, use updates cstex
|
| 1114 |
|
| 1115 |
* Sat May 27 2006 Michael A. Peters <mpeters@mac.com> - 2005-0.3
|
| 1116 |
- fonts package should own the web2c/*.cnf files
|
| 1117 |
- web2c/*.pool files owned by binary package
|
| 1118 |
|
| 1119 |
* Sat May 27 2006 Michael A. Peters <mpeters@mac.com> - 2005-0.2
|
| 1120 |
- some rpmlint cleaning
|
| 1121 |
|
| 1122 |
* Sat May 27 2006 Michael A. Peters <mpeters@mac.com> - 2005-0.1
|
| 1123 |
- Initial packaging
|