- do it right ;(
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Spreadsheet-WriteExcel-FromXML?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
5815f17108
commit
42dd686745
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:91fec1c179bfbd89fc763d91b12282a250a352f384953953c32a033efb7862a2
|
||||
size 10525
|
||||
oid sha256:683f049c1d846c98390d02950d747110eb4ad98dd26351df43a85bb08dee3dfe
|
||||
size 10503
|
||||
|
@@ -1,5 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 22 05:28:22 UTC 2011 - coolo@opensuse.org
|
||||
|
||||
- do it right ;(
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 21 13:34:03 UTC 2010 - rpms@ilmi.fi
|
||||
|
||||
- Added to devel:languages:perl
|
||||
|
||||
|
||||
|
@@ -1,48 +1,70 @@
|
||||
#
|
||||
# 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
|
||||
# List of additional build dependencies
|
||||
#BuildRequires: gcc-c++ libxml2-devel
|
||||
Version: 1.1
|
||||
Release: 1
|
||||
License: Artistic license
|
||||
Source: Spreadsheet-WriteExcel-FromXML-1.1.tar.gz
|
||||
Group: Development/Libraries/Perl
|
||||
License: No license, undistributable
|
||||
%define cpan_name Spreadsheet-WriteExcel-FromXML
|
||||
Summary: Create Excel Spreadsheet from XML
|
||||
Requires: perl = %{perl_version}
|
||||
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.
|
||||
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 Spreadsheet-WriteExcel-FromXML-%version
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
perl Makefile.PL
|
||||
make
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
|
||||
make DESTDIR=%buildroot install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
|
||||
rm -rf %{buildroot}/var/adm/perl-modules
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf %buildroot
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorarch}/auto/Spreadsheet
|
||||
%{perl_vendorlib}/Spreadsheet
|
||||
# /var/adm/perl-modules/perl-Spreadsheet-WriteExcel-FromXML
|
||||
# %doc Changes INSTALL MANIFEST README doc examples charts
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes FromXML.dtd README
|
||||
|
||||
%changelog
|
||||
|
||||
|
Reference in New Issue
Block a user