Accepting request 570644 from Publishing:TeXLive
- removed unneeded 'BuildRequires: xorg-x11-util-devel' (bsc#1077489) (forwarded request 570642 from sndirsch) OBS-URL: https://build.opensuse.org/request/show/570644 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texlive?expand=0&rev=44
This commit is contained in:
commit
2cf832b3a8
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 29 14:41:24 UTC 2018 - sndirsch@suse.com
|
||||||
|
|
||||||
|
- removed unneeded 'BuildRequires: xorg-x11-util-devel' (bsc#1077489)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 29 09:20:27 UTC 2018 - werner@suse.de
|
||||||
|
|
||||||
|
- For Leap 42.3 build without biber as the perl version does not fit
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 8 12:55:08 UTC 2018 - werner@suse.de
|
Mon Jan 8 12:55:08 UTC 2018 - werner@suse.de
|
||||||
|
|
||||||
|
95
texlive.spec
95
texlive.spec
@ -19,7 +19,7 @@
|
|||||||
%define texlive_version 2017
|
%define texlive_version 2017
|
||||||
%define texlive_previous 2016
|
%define texlive_previous 2016
|
||||||
%define texlive_release 20170520
|
%define texlive_release 20170520
|
||||||
%define texlive_noarch 133
|
%define texlive_noarch 136
|
||||||
%define texlive_source texlive-20170520-source
|
%define texlive_source texlive-20170520-source
|
||||||
|
|
||||||
%define __perl_requires %{nil}
|
%define __perl_requires %{nil}
|
||||||
@ -62,14 +62,12 @@
|
|||||||
# architectures can be supported (in theory) and the final
|
# architectures can be supported (in theory) and the final
|
||||||
# perl dump binary is smaller
|
# perl dump binary is smaller
|
||||||
#
|
#
|
||||||
%global with_buildbiber 1
|
%bcond_without buildbiber
|
||||||
%bcond_with buildbiber
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# lcdf-typetools -- is also available as the package lcdf-typetools
|
# lcdf-typetools -- is also available as the package lcdf-typetools
|
||||||
# and therefore we may only require this external package
|
# and therefore we may only require this external package
|
||||||
%global with_lcdf_typetools 1
|
%bcond_without lcdf_typetools
|
||||||
%bcond_with lcdf_typetools
|
|
||||||
|
|
||||||
Name: texlive
|
Name: texlive
|
||||||
Version: %{texlive_version}.%{texlive_release}
|
Version: %{texlive_version}.%{texlive_release}
|
||||||
@ -156,9 +154,7 @@ BuildRequires: Mesa-devel
|
|||||||
BuildRequires: libpaper-devel
|
BuildRequires: libpaper-devel
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: libpoppler-devel
|
BuildRequires: libpoppler-devel
|
||||||
%if 0%{suse_version} > 1230
|
|
||||||
BuildRequires: libsigsegv-devel
|
BuildRequires: libsigsegv-devel
|
||||||
%endif
|
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: libxslt-devel
|
BuildRequires: libxslt-devel
|
||||||
BuildRequires: mpfr-devel
|
BuildRequires: mpfr-devel
|
||||||
@ -173,7 +169,6 @@ BuildConflicts: texinfo
|
|||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
BuildRequires: xaw3d-devel
|
BuildRequires: xaw3d-devel
|
||||||
BuildRequires: xorg-x11-devel
|
BuildRequires: xorg-x11-devel
|
||||||
BuildRequires: xorg-x11-util-devel
|
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRequires: zip
|
BuildRequires: zip
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
@ -215,9 +210,6 @@ BuildRequires: perl(List::MoreUtils) >= 0.407
|
|||||||
BuildRequires: perl(List::MoreUtils::XS)
|
BuildRequires: perl(List::MoreUtils::XS)
|
||||||
BuildRequires: perl(Log::Log4perl)
|
BuildRequires: perl(Log::Log4perl)
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build)
|
||||||
%if 0%{suse_version} <= 1230
|
|
||||||
BuildRequires: perl(PAR::Packer)
|
|
||||||
%endif
|
|
||||||
BuildRequires: perl(Package::DeprecationManager)
|
BuildRequires: perl(Package::DeprecationManager)
|
||||||
BuildRequires: perl(Params::Util)
|
BuildRequires: perl(Params::Util)
|
||||||
BuildRequires: perl(Readonly::XS)
|
BuildRequires: perl(Readonly::XS)
|
||||||
@ -3686,76 +3678,6 @@ fi
|
|||||||
LANG=en_US.UTF-8 \
|
LANG=en_US.UTF-8 \
|
||||||
BIBER_DEV_TESTS=1 \
|
BIBER_DEV_TESTS=1 \
|
||||||
./Build test
|
./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
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -3834,7 +3756,6 @@ fi
|
|||||||
# Biber support
|
# Biber support
|
||||||
#
|
#
|
||||||
%if %{with buildbiber}
|
%if %{with buildbiber}
|
||||||
%if 0%{suse_version} > 1230
|
|
||||||
pushd ../biblatex-biber-*
|
pushd ../biblatex-biber-*
|
||||||
./Build install destdir=%{buildroot}
|
./Build install destdir=%{buildroot}
|
||||||
chmod 0755 %{buildroot}%{_bindir}/biber
|
chmod 0755 %{buildroot}%{_bindir}/biber
|
||||||
@ -3855,7 +3776,13 @@ fi
|
|||||||
sed -ri '\@/usr/(share|bin)/.*@d' texlive.files
|
sed -ri '\@/usr/(share|bin)/.*@d' texlive.files
|
||||||
popd
|
popd
|
||||||
mv ../biblatex-biber-*/texlive.files perl-biber.files
|
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
|
%endif
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -5099,10 +5026,8 @@ rm -f /var/run/texlive/run-update
|
|||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
|
|
||||||
%if %{with buildbiber}
|
%if %{with buildbiber}
|
||||||
%if 0%{suse_version} > 1230
|
|
||||||
%files -n perl-biber -f perl-biber.files
|
%files -n perl-biber -f perl-biber.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%endif
|
%endif
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user