Projects
home:pandora:RobinOS23
texinfo
_service:download_src_package:texinfo.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:texinfo.spec of Package texinfo
%define anolis_release 5 %global tex_texinfo %{_datadir}/texlive/texmf-dist/tex/texinfo Summary: Tools needed to create Texinfo format documentation files Name: texinfo Version: 6.8 Release: %{anolis_release}%{?dist} License: GPLv3+ Url: http://www.gnu.org/software/texinfo/ Source0: ftp://ftp.gnu.org/gnu/texinfo/texinfo-%{version}.tar.xz Source1: ftp://ftp.gnu.org/gnu/texinfo/texinfo-%{version}.tar.xz.sig # Patch0: this is needed just for koji/mock, all tests pass fine in local build Patch0: texinfo-6.0-disable-failing-info-test.patch # Fix bug Patch1: texinfo-6.5-fix-info-dir.patch # Upstream patch for support zstd for info pages # https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=650c80b5ac1d6c3c0026310dd2fe8a79a77b6384 Patch2: texinfo-6.8-add-zst-support-in-install-info.patch # Support zstd support for fix-info-dir script Patch3: fix-info-dir-add-zst-support.patch BuildRequires: make BuildRequires: gcc BuildRequires: perl-generators BuildRequires: ncurses-devel, help2man, perl(Data::Dumper) BuildRequires: perl(Locale::Messages), perl(Unicode::EastAsianWidth), perl(Text::Unidecode) BuildRequires: perl(Storable), perl(Unicode::Normalize), perl(File::Copy) # Texinfo perl packages are not installed in default perl library dirs %global __provides_exclude ^perl\\(.*Texinfo.*\\)$ %global __requires_exclude ^perl\\(.*Texinfo.*\\)$ %description Texinfo is a documentation system that can produce both online information and printed output from a single source file. The GNU Project uses the Texinfo file format for most of its documentation. Install texinfo if you want a documentation system for producing both online and print documentation from the same source file and/or if you are going to write documentation for the GNU Project. %package doc Summary: Documentation files for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc The %{name}-doc package contains documentation files for %{name}. %package -n info Summary: A stand-alone TTY-based reader for GNU texinfo documentation Provides: /sbin/install-info %description -n info The GNU project uses the texinfo file format for much of its documentation. The info package provides a standalone TTY-based browser program for viewing texinfo files. %package tex Summary: Tools for formatting Texinfo documentation files using TeX Requires: texinfo = %{version}-%{release} Requires: tex(tex) tex(epsf.tex) Requires(post): %{_bindir}/texconfig-sys Requires(postun): %{_bindir}/texconfig-sys Provides: tex-texinfo Provides: texlive-texinfo Obsoletes: texlive-texinfo <= 9:2019-15 %description tex Texinfo is a documentation system that can produce both online information and printed output from a single source file. The GNU Project uses the Texinfo file format for most of its documentation. The texinfo-tex package provides tools to format Texinfo documents for printing using TeX. %prep %autosetup -p1 %build %configure --with-external-Text-Unidecode \ --with-external-libintl-perl \ --with-external-Unicode-EastAsianWidth \ --disable-perl-xs %make_build %install mkdir -p ${RPM_BUILD_ROOT}/sbin %make_install mkdir -p $RPM_BUILD_ROOT%{tex_texinfo} install -p -m644 doc/texinfo.tex doc/txi-??.tex $RPM_BUILD_ROOT%{tex_texinfo} mkdir -p $RPM_BUILD_ROOT%{_sbindir} mv $RPM_BUILD_ROOT%{_bindir}/install-info $RPM_BUILD_ROOT%{_sbindir} install -Dpm0755 -t %{buildroot}%{_sbindir} contrib/fix-info-dir %find_lang %{name} %find_lang %{name}_document %generate_compatibility_deps %check export ALL_TESTS=yes %make_build check %post tex %{_bindir}/texconfig-sys rehash 2> /dev/null || : %postun tex %{_bindir}/texconfig-sys rehash 2> /dev/null || : %transfiletriggerin -n info -- %{_infodir} [ -f %{_infodir}/dir ] && create_arg="" || create_arg="--create" %{_sbindir}/fix-info-dir $create_arg %{_infodir}/dir &>/dev/null %transfiletriggerpostun -n info -- %{_infodir} [ -f %{_infodir}/dir ] && %{_sbindir}/fix-info-dir --delete %{_infodir}/dir &>/dev/null %files -f %{name}.lang -f %{name}_document.lang %dir %{abidir} %license COPYING %{_bindir}/makeinfo %{_bindir}/texi2any %{_bindir}/pod2texi %{abidir}/pod2texi-option.list %{_datadir}/texinfo %{_infodir}/texinfo* %{_mandir}/man1/makeinfo.1* %{_mandir}/man5/texinfo.5* %{_mandir}/man1/texi2any.1* %{_mandir}/man1/pod2texi.1* %files doc %doc AUTHORS ChangeLog NEWS README TODO %files -n info %license COPYING %{_bindir}/info %{_infodir}/info-stnd.info* %{_sbindir}/install-info %{_sbindir}/fix-info-dir %{abidir}/info-option.list %{abidir}/install-info-option.list %{abidir}/fix-info-dir-option.list %{_mandir}/man1/info.1* %{_mandir}/man1/install-info.1* %{_mandir}/man5/info.5* %ghost %{_infodir}/dir %ghost %attr(644, root, root) %{_infodir}/dir.old %files tex %{_bindir}/texindex %{_bindir}/texi2dvi %{_bindir}/texi2pdf %{_bindir}/pdftexi2dvi %{abidir}/texindex-option.list %{abidir}/texi2dvi-option.list %{tex_texinfo}/ %{_mandir}/man1/texindex.1* %{_mandir}/man1/texi2dvi.1* %{_mandir}/man1/texi2pdf.1* %{_mandir}/man1/pdftexi2dvi.1* %changelog * Wed Oct 26 2022 mgb01105731 <mgb01105731@alibaba-inc.com> - 6.8-5 - optimise spec file * Thu Oct 13 2022 Funda Wang <fundawang@yeah.net> - 6.8-4 - Add patches for supporting zstd compression for info pages * Sat Oct 08 2022 mgb01105731 <mgb01105731@alibaba-inc.com> - 6.8-3 - add doc package * Fri Apr 29 2022 gaochang <taifu.gc@alibaba-inc.com> - 6.8-2 - Fix: Error messages overflowing when performing package scriptlet. * Wed Mar 09 2022 Chunmei Xu <xuchunmei@linux.alibaba.com> - 6.8-1 - init from upstream 6.8
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2