Name: perl-HTML-WikiConverter
Version: 0.68
Release: 43%{?dist}
Summary: Perl module to convert HTML to wiki markup
License: GPL+ or Artistic
URL: https://metacpan.org/release/HTML-WikiConverter
Source0: https://cpan.metacpan.org/authors/id/D/DI/DIBERRI/HTML-WikiConverter-%{version}.tar.gz
Patch0: HTML-WikiConverter-0.68-diberri.patch
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(base)
BuildRequires: perl(Carp)
# CGI::Application used by Test::Pod::Coverage test
BuildRequires: perl(CGI::Application)
BuildRequires: perl(CSS) >= 1.07
BuildRequires: perl(DirHandle)
BuildRequires: perl(Encode)
BuildRequires: perl(File::Spec)
# Getopt::Long not used at tests
# HTML::Element 3.18 version from HTML::Tree in META.yml
BuildRequires: perl(HTML::Element) >= 3.18
BuildRequires: perl(HTML::Entities) >= 1.27
BuildRequires: perl(HTML::Tagset) >= 3.04
BuildRequires: perl(HTML::TreeBuilder)
BuildRequires: perl(Params::Validate) >= 0.77
# Pod::Usage 1.16 not used at tests
# Tie::IxHash used by Test::Pod::Coverage test
BuildRequires: perl(Tie::IxHash)
BuildRequires: perl(URI) >= 1.35
BuildRequires: perl(URI::Escape)
# XML::Writer used by Test::Pod::Coverage test
BuildRequires: perl(XML::Writer)
# Tests:
BuildRequires: perl(Test::More)
# Optional tests:
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
Requires: perl(CSS) >= 1.07
# HTML::Element 3.18 version from HTML::Tree in META.yml
Requires: perl(HTML::Element) >= 3.18
Requires: perl(HTML::Entities) >= 1.27
Requires: perl(HTML::Tagset) >= 3.04
Requires: perl(Params::Validate) >= 0.77
Requires: perl(URI) >= 1.35
# Filter under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((CSS|HTML::Element|HTML::Entities|HTML::Tagset|Params::Validate|URI)\\)$
%description
HTML::WikiConverter is an HTML to wiki converter. It can convert HTML source
into a variety of wiki markups, called wiki "dialects".
This package contains the perl modules; install the "html2wiki" package for the
application itself.
%package -n html2wiki
Summary: Convert HTML to wiki markup
Requires: %{name} = %{version}-%{release}
Requires: perl(Params::Validate) >= 0.77
Requires: perl(Pod::Usage) >= 1.16
# Filter under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Usage\\)$
%description -n html2wiki
A command line tool to convert pages in HTML to Wiki markup. Various wiki
dialects are supported.
%prep
%setup -q -n HTML-WikiConverter-%{version}
%patch0
find webapp-install cgi/* -type f | xargs chmod 0644
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
%{make_build} test
%files
%doc Changes README webapp-install cgi
%license LICENSE
%{perl_vendorlib}/*
%{_mandir}/man3/*
%files -n html2wiki
%{_bindir}/*
%{_mandir}/man1/*
%changelog
* Thu Jan 25 2024 Fedora Release Engineering - 0.68-43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering - 0.68-42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering - 0.68-41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jan 20 2023 Fedora Release Engineering - 0.68-40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering - 0.68-39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 01 2022 Jitka Plesnikova - 0.68-38
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering - 0.68-37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering - 0.68-36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sun May 23 2021 Jitka Plesnikova - 0.68-35
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering - 0.68-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering - 0.68-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova - 0.68-32
- Perl 5.32 rebuild
* Thu Jan 30 2020 Fedora Release Engineering - 0.68-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Aug 11 2019 Emmanuel Seyman - 0.68-30
- Test the existance of http://diberri.dyndns.org in t/01-wikiconverter.t (#1739331)
- Replace calls to "make pure_install" with %%{make_install}
- Replace calls to make with %%{make_build}
- Pass NO_PACKLIST and NO_PERLLOCAL to Makefile.PL
* Fri Jul 26 2019 Fedora Release Engineering - 0.68-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova - 0.68-28
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering - 0.68-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering - 0.68-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 29 2018 Jitka Plesnikova - 0.68-25
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering - 0.68-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering - 0.68-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 05 2017 Jitka Plesnikova - 0.68-22
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering - 0.68-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon May 16 2016 Jitka Plesnikova - 0.68-20
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering - 0.68-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Jul 07 2015 Petr Pisar - 0.68-18
- Specify all dependencies (CPAN RT#87296)
- Modernize spec file
* Thu Jun 18 2015 Fedora Release Engineering - 0.68-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 06 2015 Jitka Plesnikova - 0.68-16
- Perl 5.22 rebuild
* Fri Aug 29 2014 Jitka Plesnikova - 0.68-15
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering - 0.68-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering - 0.68-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Jul 25 2013 Petr Pisar - 0.68-12
- Perl 5.18 rebuild
- Disable failing Pod::Coverage test (CPAN RT#87296)
* Thu Feb 14 2013 Fedora Release Engineering - 0.68-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering - 0.68-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue Jun 19 2012 Petr Pisar - 0.68-9
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering - 0.68-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Jul 19 2011 Petr Sabata - 0.68-7
- Perl mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering - 0.68-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Dec 17 2010 Marcela Maslanova - 0.68-5
- 661697 rebuild for fixing problems with vendorach/lib
* Sun May 02 2010 Marcela Maslanova - 0.68-4
- Mass rebuild with perl-5.12.0
* Mon Dec 7 2009 Stepan Kasal - 0.68-3
- rebuild against perl 5.10.1
* Sat Jul 25 2009 Fedora Release Engineering - 0.68-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue May 05 2009 Iain Arnell 0.68-1
- Specfile autogenerated by cpanspec 1.77.
- Create sub-package for html2wiki