From 736f42df1609bf33d5ad474e34bbcea54b08e8ed Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:27:29 +0100 Subject: [PATCH] rebuilt with system perl-libintl and perl-Unicode-EastAsianWidth [release 5.0-2mamba;Mon Aug 19 2013] --- README.md | 2 ++ texi2html.spec | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 texi2html.spec diff --git a/README.md b/README.md index a846d37..cb40820 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # texi2html +Texi2HTML is a Perl script which converts Texinfo source files to HTML output. + diff --git a/texi2html.spec b/texi2html.spec new file mode 100644 index 0000000..82f6722 --- /dev/null +++ b/texi2html.spec @@ -0,0 +1,82 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: texi2html +Version: 5.0 +Release: 2mamba +Summary: A Perl script which converts Texinfo source files to HTML output +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.nongnu.org/texi2html/texi2html-old.html +Source: http://download.savannah.gnu.org/releases/texi2html/texi2html-%{version}.tar.bz2 +License: GPL, Artistic +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: perl-libintl +BuildRequires: perl-Unicode-EastAsianWidth +Requires: perl >= %perl_major_ver +Requires: perl-libintl +Requires: perl-Unicode-EastAsianWidth +Requires(post): %{__install_info} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Texi2HTML is a Perl script which converts Texinfo source files to HTML output. + +%prep +%setup -q -n texi2html-%{version} +sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub + +%build +%configure \ + --with-external-libintl-perl \ + --with-external-Unicode-EastAsianWidth + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +# external libraries are installed anyways +rm -rf %{buildroot}%{_datadir}/texi2html/lib + +%find_lang %{name} +%find_lang %{name}_document + +cat %{name}_document.lang >> %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +%install_info %{name}.info +: + +%preun +%uninstall_info %{name}.info +: + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/texi2html +%{_infodir}/texi2html.info.gz +%{_mandir}/man1/texi2html.1.gz +%dir %{_datadir}/texi2html +%{_datadir}/texi2html/* +%{_datadir}/texinfo/html/texi2html.html +%{_datadir}/texinfo/init/book.init +%{_datadir}/texinfo/init/chm.init +%{_datadir}/texinfo/init/html32.init +%{_datadir}/texinfo/init/mediawiki.init +%{_datadir}/texinfo/init/tex4ht.init +%doc AUTHORS COPYING + +%changelog +* Mon Aug 19 2013 Silvan Calarco 5.0-2mamba +- rebuilt with system perl-libintl and perl-Unicode-EastAsianWidth + +* Mon Aug 19 2013 Silvan Calarco 5.0-1mamba +- package created by silvan using the webbuild interface