2024-07-29 19:30:09 +00:00
committed by Git OBS Bridge
parent acc6b5ec4f
commit acb7e1e000

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Spreadsheet-ParseExcel-Simple # spec file for package perl-Spreadsheet-ParseExcel-Simple
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,27 +12,28 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: perl-Spreadsheet-ParseExcel-Simple
Version: 1.04
Release: 1
License: CHECK(GPL+ or Artistic)
%define cpan_name Spreadsheet-ParseExcel-Simple %define cpan_name Spreadsheet-ParseExcel-Simple
Summary: A simple interface to Excel data Name: perl-Spreadsheet-ParseExcel-Simple
Url: http://search.cpan.org/dist/Spreadsheet-ParseExcel-Simple/ Version: 1.40.0
Group: Development/Libraries/Perl Release: 0
#Source: http://www.cpan.org/authors/id/T/TM/TMTM/Spreadsheet-ParseExcel-Simple-%{version}.tar.gz # 1.04 -> normalize -> 1.40.0
Source: %{cpan_name}-%{version}.tar.gz %define cpan_version 1.04
BuildRequires: perl(Spreadsheet::ParseExcel) >= 0.18 License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Summary: Simple interface to Excel data
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TM/TMTM/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Spreadsheet::ParseExcel) >= 0.18
Requires: perl(Spreadsheet::ParseExcel) >= 0.18 Requires: perl(Spreadsheet::ParseExcel) >= 0.18
BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: perl(Spreadsheet::ParseExcel::Simple) = %{version}
BuildArch: noarch Provides: perl(Spreadsheet::ParseExcel::Simple::_Sheet)
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -45,25 +46,21 @@ For anything more complex, you probably want to use Spreadsheet::ParseExcel
directly. directly.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %make_build
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist %perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes README test.xls %doc Changes README test.xls
%changelog %changelog