Dr. Werner Fink 2015-04-02 13:04:25 +00:00 committed by Git OBS Bridge
parent 8bb287f93a
commit 651cf4d5e4
3 changed files with 124 additions and 22 deletions

View File

@ -1,3 +0,0 @@
%{_texmfdistdir}/doc/latex/pas-cours/macro-patrons.tex %{_texmfdistdir}/tex/latex/pas-cours/macro-patrons.tex
%{_texmfdistdir}/doc/latex/pas-cours/macro-solides.tex %{_texmfdistdir}/tex/latex/pas-cours/macro-solides.tex
%{_texmfdistdir}/doc/latex/pas-cours/macro-styles.tex %{_texmfdistdir}/tex/latex/pas-cours/macro-styles.tex

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 2 12:25:21 UTC 2015 - werner@suse.de
- Package pas-cours: move runfiles from doc to working directory
-------------------------------------------------------------------
Thu Apr 2 10:33:38 UTC 2015 - werner@suse.de

View File

@ -37,7 +37,7 @@
%define texlive_version 2014
%define texlive_previous 2013
%define texlive_release 20140525
%define texlive_noarch 98
%define texlive_noarch 99
Name: texlive-specs-n
Version: 2014
@ -9011,8 +9011,8 @@ EOF
# Strip executable bit from non-scripts
for txt in %{_texmfdistdir}/scripts/logicpuzzle/simple.smc
do
test -e %{buildroot}/$txt || continue
chmod 0644 %{buildroot}/$txt
\ttest -e %{buildroot}/$txt || continue
\tchmod 0644 %{buildroot}/$txt
done
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/texlive-logpap-%{texlive_version}.%{texlive_noarch}.0.0.6svn15878-%{release}-zypper
@ -9170,6 +9170,26 @@ done
%{buildroot}/var/adm/update-scripts/texlive-lua-alt-getopt-%{texlive_version}.%{texlive_noarch}.0.0.7.0svn29349-%{release}-zypper
tar --use-compress-program=xz -xf %{S:83} -C %{buildroot}%{_datadir}/texlive/texmf-dist
tar --use-compress-program=xz -xf %{S:84} -C %{buildroot}%{_datadir}/texlive/texmf-dist
# Correct wrong luaTeX scripts if any
for scr in %{_texmfdistdir}/scripts/lua-alt-getopt/alt_getopt.lua
do
test -e %{buildroot}/$scr || continue
ed %{buildroot}/${scr} <<-'EOF'
1
i
#! /usr/bin/texlua
.
w
q
EOF
done
# Make possible scripts usable if any
for scr in %{_texmfdistdir}/doc/support/lua-alt-getopt/alt_getopt \
%{_texmfdistdir}/doc/support/lua-alt-getopt/tests/test.sh
do
test -e %{buildroot}/$scr || continue
chmod 0755 %{buildroot}/$scr
done
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/texlive-lua-check-hyphen-%{texlive_version}.%{texlive_noarch}.0.0.1svn27227-%{release}-zypper
tar --use-compress-program=xz -xf %{S:85} -C %{buildroot}%{_datadir}/texlive/texmf-dist
@ -9183,11 +9203,24 @@ done
tar --use-compress-program=xz -xf %{S:89} -C %{buildroot}%{_datadir}/texlive
tar --use-compress-program=xz -xf %{S:90} -C %{buildroot}%{_datadir}/texlive
rm -vf %{buildroot}%{_texmfdistdir}/doc/support/lua2dox/install.bat
# Correct wrong luaTeX scripts if any
for scr in %{_texmfdistdir}/scripts/lua2dox/lua2dox.lua
do
test -e %{buildroot}/$scr || continue
ed %{buildroot}/${scr} <<-'EOF'
1
i
#! /usr/bin/texlua
.
w
q
EOF
done
# Strip executable bit from non-scripts
for txt in %{_texmfdistdir}/scripts/lua2dox/lua.def
do
test -e %{buildroot}/$txt || continue
chmod 0644 %{buildroot}/$txt
\ttest -e %{buildroot}/$txt || continue
\tchmod 0644 %{buildroot}/$txt
done
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/texlive-luabibentry-%{texlive_version}.%{texlive_noarch}.0.0.1asvn31783-%{release}-zypper
@ -9205,6 +9238,19 @@ done
%{buildroot}/var/adm/update-scripts/texlive-luaindex-%{texlive_version}.%{texlive_noarch}.0.0.1bsvn25882-%{release}-zypper
tar --use-compress-program=xz -xf %{S:97} -C %{buildroot}%{_datadir}/texlive/texmf-dist
tar --use-compress-program=xz -xf %{S:98} -C %{buildroot}%{_datadir}/texlive/texmf-dist
# Correct wrong luaTeX scripts if any
for scr in %{_texmfdistdir}/scripts/luaindex/luaindex.lua
do
test -e %{buildroot}/$scr || continue
ed %{buildroot}/${scr} <<-'EOF'
1
i
#! /usr/bin/texlua
.
w
q
EOF
done
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/texlive-luainputenc-%{texlive_version}.%{texlive_noarch}.0.0.973svn20491-%{release}-zypper
tar --use-compress-program=xz -xf %{S:99} -C %{buildroot}%{_datadir}/texlive/texmf-dist
@ -9212,6 +9258,22 @@ done
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/texlive-luaintro-%{texlive_version}.%{texlive_noarch}.0.0.02svn30909-%{release}-zypper
tar --use-compress-program=xz -xf %{S:101} -C %{buildroot}%{_datadir}/texlive/texmf-dist
# Make possible scripts usable if any
for scr in %{_texmfdistdir}/doc/luatex/luaintro/01-02-7.sh \
%{_texmfdistdir}/doc/luatex/luaintro/02-01-4.sh \
%{_texmfdistdir}/doc/luatex/luaintro/02-01-5.sh \
%{_texmfdistdir}/doc/luatex/luaintro/02-02-6.sh \
%{_texmfdistdir}/doc/luatex/luaintro/03-08-3.sh \
%{_texmfdistdir}/doc/luatex/luaintro/03-11-1.sh \
%{_texmfdistdir}/doc/luatex/luaintro/06-11-1.sh \
%{_texmfdistdir}/doc/luatex/luaintro/06-11-2.sh \
%{_texmfdistdir}/doc/luatex/luaintro/06-11-7.sh \
%{_texmfdistdir}/doc/luatex/luaintro/06-11-8.sh \
%{_texmfdistdir}/doc/luatex/luaintro/06-11-9.sh
do
test -e %{buildroot}/$scr || continue
chmod 0755 %{buildroot}/$scr
done
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/texlive-lualatex-doc-%{texlive_version}.%{texlive_noarch}.svn30473-%{release}-zypper
tar --use-compress-program=xz -xf %{S:102} -C %{buildroot}%{_datadir}/texlive/texmf-dist
@ -9226,6 +9288,12 @@ done
%{buildroot}/var/adm/update-scripts/texlive-lualibs-%{texlive_version}.%{texlive_noarch}.2.1asvn33861-%{release}-zypper
tar --use-compress-program=xz -xf %{S:106} -C %{buildroot}%{_datadir}/texlive/texmf-dist
tar --use-compress-program=xz -xf %{S:107} -C %{buildroot}%{_datadir}/texlive/texmf-dist
# Make possible scripts usable if any
for scr in %{_texmfdistdir}/tex/luatex/lualibs/lualibs-compat.lua
do
test -e %{buildroot}/$scr || continue
chmod 0755 %{buildroot}/$scr
done
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/texlive-luamplib-%{texlive_version}.%{texlive_noarch}.2.6.1svn34021-%{release}-zypper
tar --use-compress-program=xz -xf %{S:108} -C %{buildroot}%{_datadir}/texlive/texmf-dist
@ -9237,10 +9305,30 @@ done
pushd %{buildroot}%{_datadir}/texlive/texmf-dist
patch --reject-format=unified --quoting-style=literal -f -p1 -F0 -T < %{S:112}
popd
# Make possible scripts usable if any
for scr in %{_texmfdistdir}/tex/luatex/luaotfload/luaotfload-auxiliary.lua \
%{_texmfdistdir}/tex/luatex/luaotfload/luaotfload-diagnostics.lua
do
test -e %{buildroot}/$scr || continue
chmod 0755 %{buildroot}/$scr
done
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/texlive-luasseq-%{texlive_version}.%{texlive_noarch}.2.1svn20467-%{release}-zypper
tar --use-compress-program=xz -xf %{S:113} -C %{buildroot}%{_datadir}/texlive/texmf-dist
tar --use-compress-program=xz -xf %{S:114} -C %{buildroot}%{_datadir}/texlive/texmf-dist
# Correct wrong luaTeX scripts if any
for scr in %{_texmfdistdir}/scripts/luasseq/luasseq.lua
do
test -e %{buildroot}/$scr || continue
ed %{buildroot}/${scr} <<-'EOF'
1
i
#! /usr/bin/texlua
.
w
q
EOF
done
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/texlive-luatex-%{texlive_version}.%{texlive_noarch}.0.0.70.1svn33828-%{release}-zypper
tar --use-compress-program=xz -xf %{S:115} -C %{buildroot}%{_datadir}/texlive
@ -9265,6 +9353,12 @@ done
%{buildroot}/var/adm/update-scripts/texlive-luaxml-%{texlive_version}.%{texlive_noarch}.0.0.0.2svn32741-%{release}-zypper
tar --use-compress-program=xz -xf %{S:125} -C %{buildroot}%{_datadir}/texlive/texmf-dist
tar --use-compress-program=xz -xf %{S:126} -C %{buildroot}%{_datadir}/texlive/texmf-dist
# Make possible scripts usable if any
for scr in %{_texmfdistdir}/tex/luatex/luaxml/luaxml-testxml.lua
do
test -e %{buildroot}/$scr || continue
chmod 0755 %{buildroot}/$scr
done
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/texlive-lxfonts-%{texlive_version}.%{texlive_noarch}.2.0bsvn32354-%{release}-zypper
tar --use-compress-program=xz -xf %{S:127} -C %{buildroot}%{_datadir}/texlive/texmf-dist
@ -9310,8 +9404,8 @@ EOF
# Strip executable bit from non-scripts
for txt in %{_texmfdistdir}/doc/generic/m-tx/mtx060/docversion
do
test -e %{buildroot}/$txt || continue
chmod 0644 %{buildroot}/$txt
\ttest -e %{buildroot}/$txt || continue
\tchmod 0644 %{buildroot}/$txt
done
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/texlive-macros2e-%{texlive_version}.%{texlive_noarch}.v0.4svn23236-%{release}-zypper
@ -9360,6 +9454,12 @@ done
%{buildroot}/var/adm/update-scripts/texlive-makedtx-%{texlive_version}.%{texlive_noarch}.0.0.94bsvn15878-%{release}-zypper
tar --use-compress-program=xz -xf %{S:154} -C %{buildroot}%{_datadir}/texlive/texmf-dist
tar --use-compress-program=xz -xf %{S:155} -C %{buildroot}%{_datadir}/texlive/texmf-dist
# Make possible scripts usable if any
for scr in %{_texmfdistdir}/doc/latex/makedtx/makedtx.pl
do
test -e %{buildroot}/$scr || continue
chmod 0755 %{buildroot}/$scr
done
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/texlive-makeglos-%{texlive_version}.%{texlive_noarch}.svn15878-%{release}-zypper
tar --use-compress-program=xz -xf %{S:156} -C %{buildroot}%{_datadir}/texlive/texmf-dist