# Run optional tests %if 0%{?rhel} %bcond_with perl_DBIx_XHTML_Table_enables_optional_test %else %bcond_without perl_DBIx_XHTML_Table_enables_optional_test %endif Name: perl-DBIx-XHTML_Table Version: 1.49 Release: 24%{?dist} Summary: SQL query result set to XHTML table License: Artistic-2.0 URL: https://metacpan.org/release/DBIx-XHTML_Table Source0: https://cpan.metacpan.org/authors/id/J/JE/JEFFA/DBIx-XHTML_Table-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time BuildRequires: perl(Carp) BuildRequires: perl(DBI) BuildRequires: perl(vars) # Tests BuildRequires: perl(Data::Dumper) BuildRequires: perl(FindBin) BuildRequires: perl(Test::More) BuildRequires: perl(utf8) %if %{with perl_DBIx_XHTML_Table_enables_optional_test} # Optional tests BuildRequires: perl(DBD::CSV) BuildRequires: perl(HTML::TableExtract) %endif %description DBIx::XHTML_Table is a DBI extension that creates an XHTML table from a database query result set. It was created to fill the gap between fetching rows from a database and transforming them into a web browser renderable table. DBIx::XHTML_Table is intended for programmers who want the responsibility of presenting (decorating) data, easily. This module is meant to be used in situations where the concern for presentation and logic separation is overkill. Providing logic or editable data is beyond the scope of this module, but it is capable of doing such. %prep %setup -q -n DBIx-XHTML_Table-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes readme.md %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Jan 25 2024 Fedora Release Engineering - 1.49-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.49-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.49-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 1.49-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.49-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 1.49-19 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.49-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Aug 10 2021 Jitka Plesnikova - 1.49-17 - Disable optional tests on ELN * Thu Jul 22 2021 Fedora Release Engineering - 1.49-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 1.49-15 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.49-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.49-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.49-12 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.49-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.49-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.49-9 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.49-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.49-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 1.49-6 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.49-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.49-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 1.49-3 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.49-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jan 05 2017 Jitka Plesnikova - 1.49-1 - 1.49 bump * Mon May 16 2016 Jitka Plesnikova - 1.48-2 - Perl 5.24 rebuild * Wed Feb 17 2016 Jitka Plesnikova - 1.48-1 - 1.48 bump; License was changed * Fri Feb 12 2016 Jitka Plesnikova - 1.47-2 - Update license * Thu Feb 11 2016 Jitka Plesnikova - 1.47-1 - Initial release