Files
perl-Spreadsheet-WriteExcel…/perl-Spreadsheet-WriteExcel-FromXML.spec

71 lines
2.2 KiB
RPMSpec

#
# spec file for package perl-Spreadsheet-WriteExcel-FromXML (Version 1.1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Spreadsheet-WriteExcel-FromXML
Version: 1.1
Release: 1
License: No license, undistributable
%define cpan_name Spreadsheet-WriteExcel-FromXML
Summary: Create Excel Spreadsheet from XML
Url: http://search.cpan.org/dist/Spreadsheet-WriteExcel-FromXML/
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/B/BW/BWMCADAMS/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(OLE::Storage_Lite) >= 0.11
BuildRequires: perl(Spreadsheet::WriteExcel) >= 0.41
BuildRequires: perl(XML::Parser) >= 2.31
BuildRequires: perl(IO::Scalar)
Requires: perl(OLE::Storage_Lite) >= 0.11
Requires: perl(Spreadsheet::WriteExcel) >= 0.41
Requires: perl(XML::Parser) >= 2.31
Requires: perl(IO::Scalar)
%{perl_requires}
%description
This module uses Spreadsheet::WriteExcel to turn a simple XML data file
into a binary Excel XLS file.
See also the FromXML.dtd file in the distribution.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes FromXML.dtd README
%changelog