Blob Blame History Raw
Name:           perl-Excel-Writer-XLSX
Version:        0.85
Release:        1%{?dist}
Summary:        Create a new file in the Excel 2007+ XLSX format
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Excel-Writer-XLSX/
Source0:        http://www.cpan.org/authors/id/J/JM/JMCNAMARA/Excel-Writer-XLSX-%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  coreutils
BuildRequires:  findutils
BuildRequires:  glibc-common
BuildRequires:  make
BuildRequires:  perl
BuildRequires:  perl(Archive::Zip) >= 1.3
BuildRequires:  perl(autouse)
BuildRequires:  perl(Carp)
BuildRequires:  perl(Date::Calc)
BuildRequires:  perl(Date::Manip)
BuildRequires:  perl(Encode)
BuildRequires:  perl(Exporter)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(File::Basename)
BuildRequires:  perl(File::Copy)
BuildRequires:  perl(File::Find)
BuildRequires:  perl(File::Temp) >= 0.19
BuildRequires:  perl(integer)
BuildRequires:  perl(IO::File)
BuildRequires:  perl(lib)
BuildRequires:  perl(List::Util)
BuildRequires:  perl(strict)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(utf8)
BuildRequires:  perl(warnings)
Requires:       perl(Archive::Zip) >= 1.3
Requires:       perl(File::Temp) >= 0.19
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%{?perl_default_filter}
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Archive::Zip\\)$
%global __requires_exclude %__requires_exclude|^perl\\(File::Temp\\)$
%description
The Excel::Writer::XLSX module can be used to create an Excel file in the
2007+ XLSX format.

%prep
%setup -q -n Excel-Writer-XLSX-%{version}
iconv --from=ISO-8859-1 --to=UTF-8 README > README.new
touch -r README.new README
mv README.new README

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
make pure_install DESTDIR=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%files
%doc Changes README examples
%{perl_vendorlib}/*
%{_mandir}/man3/*
%{_mandir}/man1/*
%{_bindir}/*

%changelog
* Mon Oct 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.85-1
- 0.85 bump

* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.84-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.84-2
- Perl 5.22 rebuild

* Thu Apr 28 2015 David Dick <ddick@cpan.org> - 0.84-1
- Update to 0.84

* Thu Mar 19 2015 David Dick <ddick@cpan.org> - 0.83-1
- Update to 0.83

* Sat Nov 08 2014 David Dick <ddick@cpan.org> - 0.81-1
- Update to 0.81

* Sat Oct 18 2014 David Dick <ddick@cpan.org> - 0.79-1
- Update to 0.79

* Tue Sep 30 2014 David Dick <ddick@cpan.org> - 0.78-1
- Update to 0.78

* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.77-3
- Perl 5.20 rebuild

* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.77-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Wed May 28 2014 David Dick <ddick@cpan.org> - 0.77-1
- Update to 0.77

* Sat Feb 01 2014 David Dick <ddick@cpan.org> - 0.76-1
- Initial release