diff --git a/texlive.changes b/texlive.changes index dc9fc06..5e4e220 100644 --- a/texlive.changes +++ b/texlive.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 27 09:00:58 UTC 2012 - werner@suse.de + +- Re-add the rungs script to dvipdfmx-bin + ------------------------------------------------------------------- Tue Jun 26 11:25:50 UTC 2012 - werner@suse.de diff --git a/texlive.spec b/texlive.spec index c065d2a..e2dc9a0 100644 --- a/texlive.spec +++ b/texlive.spec @@ -60,7 +60,6 @@ Requires(prereq): %{name}-tetex-bin >= %{texlive_version} Requires(prereq): %{name}-tetex >= %{texlive_version} Requires(prereq): %{name}-texconfig-bin >= %{texlive_version} Requires(prereq): %{name}-texconfig >= %{texlive_version} -Requires(post): permissions Requires(post): coreutils Requires(postun): coreutils Requires(posttrans): coreutils @@ -75,7 +74,6 @@ Requires(posttrans): %{name}-tetex-bin >= %{texlive_version} Requires(posttrans): %{name}-tetex >= %{texlive_version} Requires(posttrans): %{name}-texconfig-bin >= %{texlive_version} Requires(posttrans): %{name}-texconfig >= %{texlive_version} -Requires(verify): permissions Recommends: %{name}-scheme-medium BuildRequires: autoconf BuildRequires: automake @@ -905,6 +903,14 @@ License: LPPL-1.0 Summary: Binary files of kpathsea Group: Productivity/Publishing/TeX/Utilities Url: http://www.tug.org/texlive/ +Requires(prereq): %{name}-filesystem +Requires(pre): %{name}-filesystem +Requires(pre): /usr/bin/getent +Requires(pre): /usr/sbin/groupadd +Requires(post): %{name}-filesystem +Requires(post): permissions +Requires(verify): %{name}-filesystem +Requires(verify): permissions Prefix: %{_bindir} %description kpathsea-bin @@ -2443,18 +2449,19 @@ development packages for TeXLive. # clear out all file below texmf tree as this will delivered by texlive tar balls find %{buildroot}%{_texmfdirs} -type f | xargs -r rm -vf - # but work around missing MusixTeX files + # but work around missing MusixTeX files ... pushd ${prefix}/texmf-dist/ install -m 0755 scripts/m-tx/m-tx.lua %{buildroot}%{_texmfdistdir}/scripts/m-tx/ install -m 0755 scripts/pmx/pmx2pdf.lua %{buildroot}%{_texmfdistdir}/scripts/pmx/ popd + # ... and add rungs texlua script as dvipdfmx/dvipdfm require this + pushd ${prefix}/texmf/ + install -m 0755 scripts/texlive/rungs.tlu %{buildroot}%{_texmfmaindir}/scripts/texlive/ + popd # install manual page of public install -m 0644 %{S:51} %{buildroot}%{_mandir}/man8/public.8 - # remove as texlive-texlive-scripts and texlive-texlive-scripts-bin is not used - rm -vf %{buildroot}%{_bindir}/rungs - # is part of texlive-kpathsea rm -vf %{buildroot}%{_texmfconfdir}/web2c/fmtutil.cnf rm -vf %{buildroot}%{_texmfconfdir}/web2c/texmf.cnf @@ -2469,14 +2476,21 @@ development packages for TeXLive. done %if %{defined verify_permissions} -%verifyscript +%verifyscript kpathsea-bin %verify_permissions -e %{_libexecdir}/mktex/public %endif -%post +%pre kpathsea-bin +if test "$1" = 1 -a -z "$(%{_bindir}/getent group %{texgrp} 2>/dev/null)"; then + %{_sbindir}/groupadd -r %{?texgid:-g %texgid} %{texgrp} +fi + +%post kpathsea-bin %if %{defined set_permissions} %set_permissions %{_libexecdir}/mktex/public %endif + +%post mkdir -p /var/run/texlive > /var/run/texlive/run-mktexlsr @@ -2497,7 +2511,6 @@ VERBOSE=false %{_texmfmaindir}/texconfig/update || : %files %defattr(-,root,root,755) -%attr(0755,root,%{texgrp}) %{_libexecdir}/mktex/public %{_libexecdir}/tlpkg/TeXLive/TLConfig.pm %{_libexecdir}/tlpkg/TeXLive/TLUtils.pm # is part of texlive-kpathsea @@ -2699,6 +2712,8 @@ VERBOSE=false %{_texmfmaindir}/texconfig/update || : %files dvipdfmx-bin %defattr(-,root,root,755) %{_bindir}/dvipdfmx +%{_bindir}/rungs +%{_texmfmaindir}/scripts/texlive/rungs.tlu %{_bindir}/ebb %{_bindir}/extractbb @@ -2805,6 +2820,7 @@ VERBOSE=false %{_texmfmaindir}/texconfig/update || : %{_bindir}/mktexpk %{_bindir}/mktextfm %{_bindir}/texhash +%attr(0755,root,%{texgrp}) %{_libexecdir}/mktex/public %{_libexecdir}/mktex/*tex* %files lacheck-bin