SHA256
1
0
forked from pool/texlive
Dr. Werner Fink 2018-01-29 11:25:17 +00:00 committed by Git OBS Bridge
parent 0fd4d6d0df
commit 2cc167347a

View File

@ -154,9 +154,7 @@ BuildRequires: Mesa-devel
BuildRequires: libpaper-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-devel
%if 0%{suse_version} > 1230
BuildRequires: libsigsegv-devel
%endif
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: mpfr-devel
@ -213,9 +211,6 @@ BuildRequires: perl(List::MoreUtils) >= 0.407
BuildRequires: perl(List::MoreUtils::XS)
BuildRequires: perl(Log::Log4perl)
BuildRequires: perl(Module::Build)
%if 0%{suse_version} <= 1230
BuildRequires: perl(PAR::Packer)
%endif
BuildRequires: perl(Package::DeprecationManager)
BuildRequires: perl(Params::Util)
BuildRequires: perl(Readonly::XS)
@ -3684,76 +3679,6 @@ fi
LANG=en_US.UTF-8 \
BIBER_DEV_TESTS=1 \
./Build test
%if 0%{suse_version} <= 1230
pushd blib
(cat > biber.files)<<-'EOF'
../data/biber-tool.conf;lib/Biber/biber-tool.conf
../data/schemata/config.rnc;lib/Biber/config.rnc
../data/schemata/config.rng;lib/Biber/config.rng
../data/schemata/bcf.rnc;lib/Biber/bcf.rnc
../data/schemata/bcf.rng;lib/Biber/bcf.rng
../data/schemata/biblatexml.rnc;lib/Biber/biblatexml.rnc
../data/schemata/biblatexml.rng;lib/Biber/biblatexml.rng
../lib/Biber/LaTeX/recode_data.xml;lib/Biber/LaTeX/recode_data.xml
../data/bcf.xsl;lib/Biber/bcf.xsl
../data/latinkeys.txt;lib/Unicode/Collate/latinkeys.txt
%{perl_privlib}/Unicode/Collate/Locale;lib/Unicode/Collate/Locale
%{perl_privlib}/Unicode/Collate/CJK;lib/Unicode/Collate/CJK
%{perl_privlib}/Unicode/Collate/allkeys.txt;lib/Unicode/Collate/allkeys.txt
%{perl_privlib}/Unicode/Collate/keys.txt;lib/Unicode/Collate/keys.txt
%{perl_privlib}/PerlIO;lib/PerlIO
%{perl_archlib}/auto/PerlIO;lib/auto/PerlIO
%{perl_vendorlib}/Business/ISBN/RangeMessage.xml;lib/Business/ISBN/RangeMessage.xml
EOF
LD_LIBRARY_PATH=/%{_lib}:%{_libdir} \
PAR_VERBATIM=1 \
pp -I lib --dependent \
--compress=7 \
--module=deprecate \
--module=Biber::Input::file::bibtex \
--module=Biber::Input::file::biblatexml \
--module=Biber::Input::file::ris \
--module=Biber::Input::file::zoterordfxml \
--module=Biber::Input::file::endnotexml \
--module=Biber::Output::bibtex \
--module=Biber::Output::biblatexml \
--module=Pod::Simple::TranscodeSmart \
--module=Pod::Simple::TranscodeDumb \
--module=Encode::Byte \
--module=Encode::CN \
--module=Encode::CJKConstants \
--module=Encode::EBCDIC \
--module=Encode::Encoder \
--module=Encode::GSM0338 \
--module=Encode::Guess \
--module=Encode::JP \
--module=Encode::KR \
--module=Encode::MIME::Header \
--module=Encode::Symbol \
--module=Encode::TW \
--module=Encode::Unicode \
--module=Encode::Unicode::UTF7 \
--module=Encode::EUCJPASCII \
--module=Encode::JIS2K \
--module=Encode::HanExtra \
--module=File::Find::Rule \
--module=IO::Socket::SSL \
--link=libbtparse.so \
--link=libxml2.so \
--link=libz.so \
--link=libxslt.so \
--link=libexslt.so \
--link=libcrypto.so \
--link=libssl.so \
--addlist=biber.files \
--cachedeps=scancache \
--output=${prefix}/bin/biber \
script/biber
install -m 0644 bindoc/biber.1 ${prefix}/share/man/man1/
popd
%endif
popd
%endif
@ -3832,7 +3757,6 @@ fi
# Biber support
#
%if %{with buildbiber}
%if 0%{suse_version} > 1230
pushd ../biblatex-biber-*
./Build install destdir=%{buildroot}
chmod 0755 %{buildroot}%{_bindir}/biber
@ -3853,7 +3777,13 @@ fi
sed -ri '\@/usr/(share|bin)/.*@d' texlive.files
popd
mv ../biblatex-biber-*/texlive.files perl-biber.files
%endif
%else
(cat %{buildroot}%{_bindir}/biber)<<-'EOF'
#!/bin/sh
echo No biber available due to old perl installation >&2
exit 1
EOF
chmod 0755 %{buildroot}%{_bindir}/biber
%endif
#
@ -5097,10 +5027,8 @@ rm -f /var/run/texlive/run-update
%defattr(-,root,root,755)
%if %{with buildbiber}
%if 0%{suse_version} > 1230
%files -n perl-biber -f perl-biber.files
%defattr(-,root,root,755)
%endif
%endif
%changelog