rebuilt with system perl-libintl and perl-Unicode-EastAsianWidth [release 5.0-2mamba;Mon Aug 19 2013]

This commit is contained in:
Silvan Calarco 2024-01-05 18:27:29 +01:00
parent ba04355371
commit 736f42df16
2 changed files with 84 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# texi2html
Texi2HTML is a Perl script which converts Texinfo source files to HTML output.

82
texi2html.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 5.0-2mamba
- rebuilt with system perl-libintl and perl-Unicode-EastAsianWidth
* Mon Aug 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0-1mamba
- package created by silvan using the webbuild interface