forked from pool/perl-Spreadsheet-Read
Accepting request 1070514 from devel:languages:perl:autoupdate
- Remove nonstdperlpath.patch, fixed paths upstream, thanks Tux :)
- updated to 0.87
see /usr/share/doc/packages/perl-Spreadsheet-Read/Changes
0.87 - 22 Feb 2023, H.Merijn Brand
* Change default #! to /usr/bin/perl (Tinita)
* Improve ->sheets (safer and docs)
* Update to Spreadsheet::ReadGnumeric 0.2 (attributes and small fixes)
0.86 - 07 Feb 2023, H.Merijn Brand
* Add Gnumeric support (Bob Rogers, THANKS!)
- work in progress, use with care, feedback welcome
0.85 - 04 Jan 2023, H.Merijn Brand
* Suggest the preferred parser if none found
* It's 2022
* xlscat --box and improvements for -L
* Add balloons to ss2tk buttons
* Fix typo in help (Erix)
* It's 2023
OBS-URL: https://build.opensuse.org/request/show/1070514
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Spreadsheet-Read?expand=0&rev=40
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:19fc7bbca1aefec413a8de7cf82458a1adc986bf0c1d5849e71247ff301f9be2
|
|
||||||
size 244443
|
|
||||||
3
Spreadsheet-Read-0.87.tgz
Normal file
3
Spreadsheet-Read-0.87.tgz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:963c0d075235bc4a320fbad7e62d9e47d5ca147edee3662855fa3042613ff4af
|
||||||
|
size 271514
|
||||||
@@ -21,7 +21,7 @@ description: |-
|
|||||||
# - source2
|
# - source2
|
||||||
patches:
|
patches:
|
||||||
# Patch to fix non-standard perl path in source
|
# Patch to fix non-standard perl path in source
|
||||||
nonstdperlpath.patch: -p1
|
# nonstdperlpath.patch: -p1
|
||||||
preamble: |-
|
preamble: |-
|
||||||
BuildRequires: perl(Spreadsheet::ParseExcel) >= 0.34
|
BuildRequires: perl(Spreadsheet::ParseExcel) >= 0.34
|
||||||
BuildRequires: perl(Spreadsheet::ParseExcel::FmtDefault)
|
BuildRequires: perl(Spreadsheet::ParseExcel::FmtDefault)
|
||||||
|
|||||||
@@ -1,54 +0,0 @@
|
|||||||
diff -ur Spreadsheet-Read-0.79/scripts/ss2tk Spreadsheet-Read-0.79_fix/scripts/ss2tk
|
|
||||||
--- Spreadsheet-Read-0.79/scripts/ss2tk 2018-01-01 14:51:06.000000000 +0100
|
|
||||||
+++ Spreadsheet-Read-0.79_fix/scripts/ss2tk 2018-09-20 10:08:55.480707378 +0200
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-#!/pro/bin/perl
|
|
||||||
+#!/usr/bin/perl
|
|
||||||
|
|
||||||
# ss2tk: show SpreadSheet file in Tk::TableMatrix::Spreadsheet (*)
|
|
||||||
# (m)'17 [2017-07-03] Copyright H.M.Brand 2005-2021
|
|
||||||
diff -ur Spreadsheet-Read-0.79/scripts/ssdiff Spreadsheet-Read-0.79_fix/scripts/ssdiff
|
|
||||||
--- Spreadsheet-Read-0.79/scripts/ssdiff 2016-11-27 12:28:35.000000000 +0100
|
|
||||||
+++ Spreadsheet-Read-0.79_fix/scripts/ssdiff 2018-09-20 10:08:55.480707378 +0200
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-#!/pro/bin/perl
|
|
||||||
+#!/usr/bin/perl
|
|
||||||
|
|
||||||
use 5.14.0;
|
|
||||||
use warnings;
|
|
||||||
diff -ur Spreadsheet-Read-0.79/examples/ss-dups-tk.pl Spreadsheet-Read-0.79_fix/examples/ss-dups-tk.pl
|
|
||||||
--- Spreadsheet-Read-0.79/examples/ss-dups-tk.pl 2018-03-28 09:10:53.000000000 +0200
|
|
||||||
+++ Spreadsheet-Read-0.79_fix/examples/ss-dups-tk.pl 2018-09-20 10:08:55.480707378 +0200
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-#!/pro/bin/perl
|
|
||||||
+#!/usr/bin/perl
|
|
||||||
|
|
||||||
# ss-dup-tk.pl: Find dups in spreadsheet
|
|
||||||
# (m)'18 [28-03-2018] Copyright H.M.Brand 2005-2021
|
|
||||||
diff -ur Spreadsheet-Read-0.79/scripts/xlsx2csv Spreadsheet-Read-0.79_fix/scripts/xlsx2csv
|
|
||||||
--- Spreadsheet-Read-0.79/scripts/xlsx2csv 2018-08-29 10:28:43.000000000 +0200
|
|
||||||
+++ Spreadsheet-Read-0.79_fix/scripts/xlsx2csv 2018-09-20 10:08:55.480707378 +0200
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-#!/pro/bin/perl
|
|
||||||
+#!/usr/bin/perl
|
|
||||||
|
|
||||||
# xls2csv: Convert supported spreadsheet formats to CSV
|
|
||||||
# (m)'20 [2020-10-27] Copyright H.M.Brand 2008-2021
|
|
||||||
diff -ur Spreadsheet-Read-0.79/scripts/xlscat Spreadsheet-Read-0.79_fix/scripts/xlscat
|
|
||||||
--- Spreadsheet-Read-0.79/scripts/xlscat 2018-06-27 11:33:30.000000000 +0200
|
|
||||||
+++ Spreadsheet-Read-0.79_fix/scripts/xlscat 2018-09-20 10:08:55.480707378 +0200
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-#!/pro/bin/perl
|
|
||||||
+#!/usr/bin/perl
|
|
||||||
|
|
||||||
# xlscat: show supported spreadsheet file as Text
|
|
||||||
# xlsgrep: grep pattern
|
|
||||||
diff -ur Spreadsheet-Read-0.79/Read.pm Spreadsheet-Read-0.79_fix/Read.pm
|
|
||||||
--- Spreadsheet-Read-0.79/Read.pm 2018-08-29 10:38:35.000000000 +0200
|
|
||||||
+++ Spreadsheet-Read-0.79_fix/Read.pm 2018-09-20 10:08:55.480707378 +0200
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-#!/pro/bin/perl
|
|
||||||
+#!/usr/bin/perl
|
|
||||||
|
|
||||||
package Spreadsheet::Read;
|
|
||||||
|
|
||||||
@@ -1,3 +1,31 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 9 16:51:41 UTC 2023 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Remove nonstdperlpath.patch, fixed paths upstream, thanks Tux :)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 23 03:08:41 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.87
|
||||||
|
see /usr/share/doc/packages/perl-Spreadsheet-Read/Changes
|
||||||
|
|
||||||
|
0.87 - 22 Feb 2023, H.Merijn Brand
|
||||||
|
* Change default #! to /usr/bin/perl (Tinita)
|
||||||
|
* Improve ->sheets (safer and docs)
|
||||||
|
* Update to Spreadsheet::ReadGnumeric 0.2 (attributes and small fixes)
|
||||||
|
|
||||||
|
0.86 - 07 Feb 2023, H.Merijn Brand
|
||||||
|
* Add Gnumeric support (Bob Rogers, THANKS!)
|
||||||
|
- work in progress, use with care, feedback welcome
|
||||||
|
|
||||||
|
0.85 - 04 Jan 2023, H.Merijn Brand
|
||||||
|
* Suggest the preferred parser if none found
|
||||||
|
* It's 2022
|
||||||
|
* xlscat --box and improvements for -L
|
||||||
|
* Add balloons to ss2tk buttons
|
||||||
|
* Fix typo in help (Erix)
|
||||||
|
* It's 2023
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 29 21:20:51 UTC 2022 - Asterios Dramis <asterios.dramis@gmail.com>
|
Sat Jan 29 21:20:51 UTC 2022 - Asterios Dramis <asterios.dramis@gmail.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Spreadsheet-Read
|
# spec file for package perl-Spreadsheet-Read
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 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
|
||||||
@@ -18,14 +18,13 @@
|
|||||||
|
|
||||||
%define cpan_name Spreadsheet-Read
|
%define cpan_name Spreadsheet-Read
|
||||||
Name: perl-Spreadsheet-Read
|
Name: perl-Spreadsheet-Read
|
||||||
Version: 0.84
|
Version: 0.87
|
||||||
Release: 0
|
Release: 0
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Summary: Read the data from a spreadsheet
|
Summary: Meta-Wrapper for reading spreadsheet data
|
||||||
URL: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/%{cpan_name}-%{version}.tgz
|
Source0: https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/%{cpan_name}-%{version}.tgz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
Patch0: nonstdperlpath.patch
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
@@ -39,7 +38,7 @@ Requires: perl(File::Temp) >= 0.22
|
|||||||
Requires: perl(IO::Scalar)
|
Requires: perl(IO::Scalar)
|
||||||
Requires: perl(Test::More) >= 0.88
|
Requires: perl(Test::More) >= 0.88
|
||||||
Requires: perl(Test::NoWarnings)
|
Requires: perl(Test::NoWarnings)
|
||||||
Recommends: perl(Data::Peek) >= 0.50
|
Recommends: perl(Data::Peek) >= 0.52
|
||||||
Recommends: perl(File::Temp) >= 0.2311
|
Recommends: perl(File::Temp) >= 0.2311
|
||||||
Recommends: perl(IO::Scalar)
|
Recommends: perl(IO::Scalar)
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
@@ -68,7 +67,8 @@ preferred) or Text::CSV_PP (1.05 or up required).
|
|||||||
For SquirrelCalc there is a very simplistic built-in parser
|
For SquirrelCalc there is a very simplistic built-in parser
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{cpan_name}-%{version} -p1
|
%autosetup -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|||||||
Reference in New Issue
Block a user