|
David Dick |
bcf6866 |
Name: perl-Excel-Writer-XLSX
|
|
|
ed155c1 |
Version: 1.12
|
|
|
ed155c1 |
Release: 1%{?dist}
|
|
David Dick |
bcf6866 |
Summary: Create a new file in the Excel 2007+ XLSX format
|
|
|
ed155c1 |
# LICENSE_Artistic_Perl: Artistic-1.0-Perl text
|
|
|
ed155c1 |
# LICENSE_GPL_1.0: GPL-1.0 text
|
|
|
e4913d0 |
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
e3e1bad |
URL: https://metacpan.org/release/Excel-Writer-XLSX
|
|
|
e3e1bad |
Source0: https://cpan.metacpan.org/authors/id/J/JM/JMCNAMARA/Excel-Writer-XLSX-%{version}.tar.gz
|
|
David Dick |
bcf6866 |
BuildArch: noarch
|
|
|
ef6a4a8 |
BuildRequires: coreutils
|
|
|
ef6a4a8 |
BuildRequires: make
|
|
|
59395cf |
BuildRequires: perl-generators
|
|
|
26a00a3 |
BuildRequires: perl-interpreter
|
|
|
e4913d0 |
BuildRequires: perl(:VERSION) >= 5.8.2
|
|
|
e4913d0 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
e4913d0 |
BuildRequires: perl(lib)
|
|
|
e4913d0 |
BuildRequires: perl(strict)
|
|
|
e4913d0 |
BuildRequires: perl(warnings)
|
|
|
e4913d0 |
# Run-time:
|
|
|
ef6a4a8 |
BuildRequires: perl(Archive::Zip) >= 1.3
|
|
David Dick |
bcf6866 |
BuildRequires: perl(autouse)
|
|
David Dick |
bcf6866 |
BuildRequires: perl(Carp)
|
|
|
9ee2ca8 |
BuildRequires: perl(Digest::MD5)
|
|
David Dick |
bcf6866 |
BuildRequires: perl(Encode)
|
|
David Dick |
bcf6866 |
BuildRequires: perl(Exporter)
|
|
David Dick |
bcf6866 |
BuildRequires: perl(File::Basename)
|
|
David Dick |
bcf6866 |
BuildRequires: perl(File::Copy)
|
|
David Dick |
bcf6866 |
BuildRequires: perl(File::Find)
|
|
|
ef6a4a8 |
BuildRequires: perl(File::Temp) >= 0.19
|
|
|
e4913d0 |
# Getopt::Long not used at tests
|
|
|
8b97246 |
BuildRequires: perl(IO::File) >= 1.14
|
|
David Dick |
bcf6866 |
BuildRequires: perl(List::Util)
|
|
|
e4913d0 |
# Pod::Usage not used at tests
|
|
David Dick |
bcf6866 |
BuildRequires: perl(utf8)
|
|
|
e4913d0 |
# Optinal run-time:
|
|
|
e4913d0 |
BuildRequires: perl(Date::Calc)
|
|
|
e4913d0 |
BuildRequires: perl(Date::Manip)
|
|
|
e4913d0 |
# Tests:
|
|
|
e4913d0 |
BuildRequires: perl(Test::More)
|
|
|
e4913d0 |
# Optional tests:
|
|
|
e4913d0 |
# Test::Differences not helpful, a fallback exists
|
|
David Dick |
bcf6866 |
Requires: perl(Archive::Zip) >= 1.3
|
|
|
e4913d0 |
Recommends: perl(Date::Calc)
|
|
|
e4913d0 |
Recommends: perl(Date::Manip)
|
|
David Dick |
bcf6866 |
Requires: perl(File::Temp) >= 0.19
|
|
|
8b97246 |
Requires: perl(IO::File) >= 1.14
|
|
David Dick |
bcf6866 |
|
|
David Dick |
8a52001 |
%{?perl_default_filter}
|
|
David Dick |
8a52001 |
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Archive::Zip\\)$
|
|
David Dick |
8a52001 |
%global __requires_exclude %__requires_exclude|^perl\\(File::Temp\\)$
|
|
|
8b97246 |
%global __requires_exclude %__requires_exclude|^perl\\(IO::File\\)$
|
|
|
898aca1 |
# Remove private modules
|
|
|
898aca1 |
%global __requires_exclude %{__requires_exclude}|^perl\\(TestFunctions\\)
|
|
|
898aca1 |
%global __provides_exclude %{?__provides_exclude:%{__provides_exclude}|}^perl\\(TestFunctions\\)
|
|
|
8b97246 |
|
|
David Dick |
bcf6866 |
%description
|
|
|
e4913d0 |
The Excel::Writer::XLSX Perl module can be used to create an Excel file in the
|
|
|
e4913d0 |
2007+ XLSX format. Multiple worksheets can be added to a workbook and
|
|
|
e4913d0 |
formatting can be applied to cells. Text, numbers, and formulas can be written
|
|
|
e4913d0 |
to the cells.
|
|
David Dick |
bcf6866 |
|
|
|
898aca1 |
%package tests
|
|
|
898aca1 |
Summary: Tests for %{name}
|
|
|
898aca1 |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
898aca1 |
Requires: coreutils
|
|
|
898aca1 |
Requires: perl-Test-Harness
|
|
|
898aca1 |
Requires: perl(Date::Calc)
|
|
|
898aca1 |
Requires: perl(Date::Manip)
|
|
|
898aca1 |
Requires: perl(utf8)
|
|
|
898aca1 |
|
|
|
898aca1 |
%description tests
|
|
|
898aca1 |
Tests from %{name}. Execute them
|
|
|
898aca1 |
with "%{_libexecdir}/%{name}/test".
|
|
|
898aca1 |
|
|
David Dick |
bcf6866 |
%prep
|
|
|
e4913d0 |
%autosetup -p1 -n Excel-Writer-XLSX-%{version}
|
|
David Dick |
bcf6866 |
|
|
David Dick |
bcf6866 |
%build
|
|
|
e4913d0 |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
e4913d0 |
# Regenerate lib/Excel/Writer/XLSX/Examples.pm
|
|
|
e4913d0 |
%{make_build} mydocs
|
|
|
e4913d0 |
%{make_build} all
|
|
David Dick |
bcf6866 |
|
|
David Dick |
bcf6866 |
%install
|
|
|
7f9d6c0 |
%{make_install}
|
|
|
e4913d0 |
%{_fixperms} %{buildroot}/*
|
|
|
898aca1 |
# Install tests
|
|
|
898aca1 |
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
|
|
898aca1 |
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
|
|
898aca1 |
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
|
|
898aca1 |
#!/bin/bash
|
|
|
898aca1 |
set -e
|
|
|
898aca1 |
# Many tests, e.g. t/regression/chart_axis25.t, create filed under CWD
|
|
|
898aca1 |
DIR=$(mktemp -d)
|
|
|
898aca1 |
cp -a %{_libexecdir}/%{name}/* "$DIR"
|
|
|
898aca1 |
pushd "$DIR"
|
|
|
898aca1 |
exec prove -I . -r -j "$(getconf _NPROCESSORS_ONLN)"
|
|
|
898aca1 |
popd
|
|
|
898aca1 |
rm -r "$DIR"
|
|
|
898aca1 |
EOF
|
|
|
898aca1 |
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
|
David Dick |
bcf6866 |
|
|
David Dick |
bcf6866 |
%check
|
|
|
e4913d0 |
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
|
|
David Dick |
bcf6866 |
make test
|
|
David Dick |
bcf6866 |
|
|
David Dick |
bcf6866 |
%files
|
|
|
ed155c1 |
%license LICENSE_Artistic_Perl LICENSE_GPL_1.0
|
|
|
e4913d0 |
# ./examples is compiled and packaged as Excel::Writer::XLSX::Examples
|
|
|
e4913d0 |
%doc Changes CONTRIBUTING.md README
|
|
|
e4913d0 |
%dir %{perl_vendorlib}/Excel
|
|
|
e4913d0 |
%dir %{perl_vendorlib}/Excel/Writer
|
|
|
e4913d0 |
%{perl_vendorlib}/Excel/Writer/XLSX
|
|
|
e4913d0 |
%{perl_vendorlib}/Excel/Writer/XLSX.pm
|
|
|
e4913d0 |
%{_mandir}/man3/Excel::Writer::XLSX.*
|
|
|
e4913d0 |
%{_mandir}/man3/Excel::Writer::XLSX::*
|
|
|
e4913d0 |
%{_mandir}/man1/extract_vba.*
|
|
|
e4913d0 |
%{_bindir}/extract_vba
|
|
David Dick |
bcf6866 |
|
|
|
898aca1 |
%files tests
|
|
|
898aca1 |
%{_libexecdir}/%{name}
|
|
|
898aca1 |
|
|
David Dick |
bcf6866 |
%changelog
|
|
|
ed155c1 |
* Tue Feb 27 2024 Petr Pisar <ppisar@redhat.com> - 1.12-1
|
|
|
ed155c1 |
- 1.12 bump
|
|
|
ed155c1 |
|
|
|
529697d |
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-5
|
|
|
529697d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
529697d |
|
|
|
b285e66 |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-4
|
|
|
b285e66 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
b285e66 |
|
|
|
006e400 |
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-3
|
|
|
006e400 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
006e400 |
|
|
|
535e5f9 |
* Thu Apr 27 2023 Petr Pisar <ppisar@redhat.com> - 1.11-2
|
|
|
535e5f9 |
- Package a license grant for Excel::Writer::XLSX
|
|
|
535e5f9 |
|
|
|
e4913d0 |
* Wed Apr 26 2023 Petr Pisar <ppisar@redhat.com> - 1.11-1
|
|
|
e4913d0 |
- 1.11 bump
|
|
|
898aca1 |
- Package the tests
|
|
|
e4913d0 |
|
|
|
bbb8740 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-4
|
|
|
bbb8740 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
bbb8740 |
|
|
|
e533380 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-3
|
|
|
e533380 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
e533380 |
|
|
|
de53631 |
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-2
|
|
|
de53631 |
- Perl 5.36 rebuild
|
|
|
de53631 |
|
|
|
8c130c9 |
* Fri Apr 29 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-1
|
|
|
8c130c9 |
- 1.09 bump
|
|
|
8c130c9 |
|
|
|
9d2871b |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-5
|
|
|
9d2871b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
9d2871b |
|
|
|
9532b64 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-4
|
|
|
9532b64 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
9532b64 |
|
|
|
a1980a5 |
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-3
|
|
|
a1980a5 |
- Perl 5.34 rebuild
|
|
|
a1980a5 |
|
|
|
8100137 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-2
|
|
|
8100137 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
8100137 |
|
|
|
3257f2f |
* Mon Aug 24 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-1
|
|
|
3257f2f |
- 1.07 bump
|
|
|
3257f2f |
|
|
|
e4b9786 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-4
|
|
|
e4b9786 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
e4b9786 |
|
|
|
69c83fb |
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-3
|
|
|
69c83fb |
- Perl 5.32 rebuild
|
|
|
69c83fb |
|
|
|
289f85e |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-2
|
|
|
289f85e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
289f85e |
|
|
|
9ee2ca8 |
* Thu Jan 09 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-1
|
|
|
9ee2ca8 |
- 1.03 bump
|
|
|
9ee2ca8 |
|
|
|
7f9d6c0 |
* Fri Nov 15 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.02-1
|
|
|
7f9d6c0 |
- 1.02 bump
|
|
|
7f9d6c0 |
|
|
|
1c1d40a |
* Wed Oct 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-1
|
|
|
1c1d40a |
- 1.01 bump
|
|
|
1c1d40a |
|
|
|
963a112 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-3
|
|
|
963a112 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
963a112 |
|
|
|
b6da2bd |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.00-2
|
|
|
b6da2bd |
- Perl 5.30 rebuild
|
|
|
b6da2bd |
|
|
|
ef7d900 |
* Mon Apr 08 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.00
|
|
|
ef7d900 |
- 1.00 bump
|
|
|
ef7d900 |
|
|
|
8e6cd48 |
* Thu Feb 28 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.99-1
|
|
|
8e6cd48 |
- 0.99 bump
|
|
|
8e6cd48 |
|
|
|
24907b1 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.98-4
|
|
|
24907b1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
24907b1 |
|
|
|
48e3810 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.98-3
|
|
|
48e3810 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
48e3810 |
|
|
|
22aa77a |
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.98-2
|
|
|
22aa77a |
- Perl 5.28 rebuild
|
|
|
22aa77a |
|
|
|
f4d0048 |
* Fri Apr 20 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.98-1
|
|
|
f4d0048 |
- 0.98 bump
|
|
|
f4d0048 |
|
|
|
59a4785 |
* Fri Apr 13 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.97-1
|
|
|
59a4785 |
- 0.97 bump
|
|
|
59a4785 |
|
|
|
4aa7e11 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.96-2
|
|
|
4aa7e11 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
4aa7e11 |
|
|
|
26a00a3 |
* Mon Sep 18 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.96-1
|
|
|
26a00a3 |
- 0.96 bump
|
|
|
26a00a3 |
|
|
|
6f72ea3 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-4
|
|
|
6f72ea3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
6f72ea3 |
|
|
|
5dff64b |
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.95-3
|
|
|
5dff64b |
- Perl 5.26 rebuild
|
|
|
5dff64b |
|
|
|
7856ed1 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-2
|
|
|
7856ed1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
7856ed1 |
|
|
|
c18235f |
* Mon Aug 01 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.95-1
|
|
|
c18235f |
- 0.95 bump
|
|
|
c18235f |
|
|
|
e2fd653 |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.88-2
|
|
|
e2fd653 |
- Perl 5.24 rebuild
|
|
|
e2fd653 |
|
|
|
1992ed2 |
* Tue Mar 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.88-1
|
|
|
1992ed2 |
- 0.88 bump
|
|
|
1992ed2 |
|
|
|
cb935f1 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.86-2
|
|
|
cb935f1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
cb935f1 |
|
|
|
8b97246 |
* Tue Dec 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.86-1
|
|
|
8b97246 |
- 0.86 bump
|
|
|
8b97246 |
|
|
|
ef6a4a8 |
* Mon Oct 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.85-1
|
|
|
ef6a4a8 |
- 0.85 bump
|
|
|
ef6a4a8 |
|
|
|
b40e15f |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.84-3
|
|
|
b40e15f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
b40e15f |
|
|
|
3ff24b7 |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.84-2
|
|
|
3ff24b7 |
- Perl 5.22 rebuild
|
|
|
3ff24b7 |
|
|
|
8b97246 |
* Tue Apr 28 2015 David Dick <ddick@cpan.org> - 0.84-1
|
|
David Dick |
7772f65 |
- Update to 0.84
|
|
David Dick |
7772f65 |
|
|
David Dick |
02e6795 |
* Thu Mar 19 2015 David Dick <ddick@cpan.org> - 0.83-1
|
|
David Dick |
02e6795 |
- Update to 0.83
|
|
David Dick |
02e6795 |
|
|
David Dick |
0524a95 |
* Sat Nov 08 2014 David Dick <ddick@cpan.org> - 0.81-1
|
|
David Dick |
0524a95 |
- Update to 0.81
|
|
David Dick |
0524a95 |
|
|
David Dick |
0d93f95 |
* Sat Oct 18 2014 David Dick <ddick@cpan.org> - 0.79-1
|
|
David Dick |
0ffa220 |
- Update to 0.79
|
|
David Dick |
0d93f95 |
|
|
David Dick |
8a52001 |
* Tue Sep 30 2014 David Dick <ddick@cpan.org> - 0.78-1
|
|
David Dick |
8a52001 |
- Update to 0.78
|
|
David Dick |
8a52001 |
|
|
|
101e4a8 |
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.77-3
|
|
|
101e4a8 |
- Perl 5.20 rebuild
|
|
|
101e4a8 |
|
|
|
cc7e3ed |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.77-2
|
|
|
cc7e3ed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
cc7e3ed |
|
|
David Dick |
e7d07f4 |
* Wed May 28 2014 David Dick <ddick@cpan.org> - 0.77-1
|
|
David Dick |
e7d07f4 |
- Update to 0.77
|
|
David Dick |
e7d07f4 |
|
|
David Dick |
bcf6866 |
* Sat Feb 01 2014 David Dick <ddick@cpan.org> - 0.76-1
|
|
David Dick |
bcf6866 |
- Initial release
|