Group: Applications/Publishing/TeX
Requires(post,postun): %{_bindir}/texhash
Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: %{name}-dvips-data >= %{texmfversion}
Provides: tetex-dvips = %{epoch}:%{version}-%{release}
Obsoletes: tetex-dvips
Group: Applications/Publishing/TeX
Requires(post,postun): %{_bindir}/texhash
Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: %{name}-metapost-data >= %{texmfversion}
Obsoletes: tetex-metapost
%description metapost
%description metapost -l pl.UTF-8
Zestaw narzędzi MetaPost.
-%package metapost-other
-Summary: Various MetaPost utils
-Summary(hu.UTF-8): Különböző MetaPost eszközök
-Group: Applications/Publishing/TeX
-Requires(post,postun): %{_bindir}/texhash
-Requires: %{name} = %{epoch}:%{version}-%{release}
-
-%description metapost-other
-Various MetaPost utils.
-
-%description metapost-other -l hu.UTF-8
-Különböző MetaPost eszközök.
-
%package mptopdf
Summary: MetaPost to PDF converter
Summary(hu.UTF-8): MetaPost-ból PDF-be konvertáló
Requires(post,postun): %{_bindir}/texhash
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: %{name}-fonts-omega >= %{texmfversion}
+Requires: %{name}-omega-data >= %{texmfversion}
Requires: %{name}-plain >= %{texmfversion}
Obsoletes: tetex-omega
Group: Applications/Publishing/TeX
Requires(post,postun): %{_bindir}/texhash
Requires: %{name} = %{epoch}:%{version}-%{release}
-Requires: %{name}-context-data
+Requires: %{name}-context-data >= %{texmfversion}
Provides: tetex-context
Obsoletes: tetex-context
# touch $RPM_BUILD_ROOT%{fmtdir}/${format}/${format}.fmt
# touch $RPM_BUILD_ROOT%{fmtdir}/pdftex/${format}.fmt
# %else
- out=$(fmtutil --fmtdir $RPM_BUILD_ROOT%{fmtdir} --byfmt=${format})
- echo $out
- [ -z $out ] && echo "fmtutil for format ${format} failed. Likely ${format}.ini file missing..." && exit 1
+ fmtutil --fmtdir $RPM_BUILD_ROOT%{fmtdir} --byfmt=${format}
# %endif
done
+
%if %{with bootstrap}
touch $RPM_BUILD_ROOT%{fmtdir}/xetex/xelatex.fmt
%endif
%postun metapost
%texhash
-%post metapost-other
-%texhash
-
-%postun metapost-other
-%texhash
-
%post mptopdf
%texhash
# %{_mandir}/man1/mpto.1*
# %{texmf}/fmtutil/format.metapost.cnf
-# %files metapost-other
-# %defattr(644,root,root,755)
-# %{texmfdist}/metapost/automata
-# %{texmfdist}/metapost/bbcard
-# %{texmfdist}/metapost/blockdraw_mp
-# %{texmfdist}/metapost/bpolynomial
-# %{texmfdist}/metapost/cmarrows
-# %{texmfdist}/metapost/dviincl
-# %{texmfdist}/metapost/epsincl
-# %{texmfdist}/metapost/expressg
-# %{texmfdist}/metapost/exteps
-# %{texmfdist}/metapost/featpost
-# %{texmfdist}/metapost/frcursive
-# %{texmfdist}/metapost/hatching
-# %{texmfdist}/metapost/metaobj
-# %{texmfdist}/metapost/metaplot
-# %{texmfdist}/metapost/metauml
-# %{texmfdist}/metapost/mp3d
-# %{texmfdist}/metapost/mpattern
-# %{texmfdist}/metapost/nkarta
-# %{texmfdist}/metapost/piechartmp
-# %{texmfdist}/metapost/slideshow
-# %{texmfdist}/metapost/splines
-# %{texmfdist}/metapost/tabvar
-# %{texmfdist}/metapost/textpath
-# %{texmfdist}/metapost/venn
-
%files mptopdf
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/mptopdf