forked from pool/perl-Tk-TableMatrix
Accepting request 947793 from home:adra:branches:devel:languages:perl
Updated License to (Artistic-1.0 OR GPL-1.0-or-later) AND TCL, Updated build requirements OBS-URL: https://build.opensuse.org/request/show/947793 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Tk-TableMatrix?expand=0&rev=14
This commit is contained in:
26
cpanspec.yml
26
cpanspec.yml
@@ -1,8 +1,10 @@
|
|||||||
---
|
---
|
||||||
#description_paragraphs: 3
|
#description_paragraphs: 3
|
||||||
#description: |-
|
description: |-
|
||||||
|
Tk::TableMatrix is a table/matrix widget extension to perl/tk
|
||||||
|
for displaying data in a table (or spreadsheet) format.
|
||||||
# override description from CPAN
|
# override description from CPAN
|
||||||
#summary: override summary from CPAN
|
summary: Table/Matrix Widget Extension to perl/tk
|
||||||
#no_testing: broken upstream
|
#no_testing: broken upstream
|
||||||
#sources:
|
#sources:
|
||||||
# - source1
|
# - source1
|
||||||
@@ -12,24 +14,22 @@
|
|||||||
# bar.patch:
|
# bar.patch:
|
||||||
preamble: |-
|
preamble: |-
|
||||||
BuildRequires: perl-Tk-devel
|
BuildRequires: perl-Tk-devel
|
||||||
BuildRequires: xorg-x11
|
|
||||||
BuildRequires: xorg-x11-Xnest
|
|
||||||
BuildRequires: xorg-x11-Xvfb
|
|
||||||
BuildRequires: xorg-x11-devel
|
BuildRequires: xorg-x11-devel
|
||||||
BuildRequires: xorg-x11-fonts-100dpi
|
|
||||||
BuildRequires: xorg-x11-fonts-75dpi
|
|
||||||
BuildRequires: xorg-x11-fonts-scalable
|
|
||||||
BuildRequires: dos2unix
|
|
||||||
post_prep: |-
|
post_prep: |-
|
||||||
if test "%_lib" = "lib64" ; then
|
if test "%{_lib}" = "lib64" ; then
|
||||||
sed -i -e "s,/lib>,/lib64>," -e "s,/lib\",/lib64\"," myConfig
|
sed -i -e "s,/lib>,/lib64>," -e "s,/lib\",/lib64\"," myConfig
|
||||||
fi
|
fi
|
||||||
dos2unix README ChangeLog Changes demos/*
|
# Fix rpmlint warning "wrong-file-end-of-line-encoding"
|
||||||
|
sed -i 's/\r$//' ChangeLog Changes README demos/*
|
||||||
|
|
||||||
|
# Copy license
|
||||||
|
cp -a pTk/license.terms license.terms.pTk
|
||||||
|
cp -a pTk/mTk/license.terms license.terms.mTk
|
||||||
#post_build: |-
|
#post_build: |-
|
||||||
# rm unused.files
|
# rm unused.files
|
||||||
#post_install: |-
|
#post_install: |-
|
||||||
# sed on %{name}.files
|
# sed on %{name}.files
|
||||||
license: (GPL-1.0-or-later OR Artistic-1.0) AND Zlib
|
license: (Artistic-1.0 OR GPL-1.0-or-later) AND TCL
|
||||||
#skip_noarch: 1
|
#skip_noarch: 1
|
||||||
#custom_build: |-
|
#custom_build: |-
|
||||||
#./Build build flags=%{?_smp_mflags} --myflag
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
@@ -37,4 +37,4 @@ license: (GPL-1.0-or-later OR Artistic-1.0) AND Zlib
|
|||||||
#startserver && make test
|
#startserver && make test
|
||||||
#ignore_requires: Bizarre::Module
|
#ignore_requires: Bizarre::Module
|
||||||
skip_doc: debug.* myConfig
|
skip_doc: debug.* myConfig
|
||||||
add_doc: demos
|
add_doc: demos license.terms.pTk license.terms.mTk
|
||||||
|
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 20 23:16:40 UTC 2022 - Asterios Dramis <asterios.dramis@gmail.com>
|
||||||
|
|
||||||
|
- Updated License to "(Artistic-1.0 OR GPL-1.0-or-later) AND TCL".
|
||||||
|
- Added perl(ExtUtils::MakeMaker) build requirement.
|
||||||
|
- Removed dos2unix, xorg-x11, xorg-x11-Xnest, xorg-x11-Xvfb,
|
||||||
|
xorg-x11-fonts-100dpi, xorg-x11-fonts-75dpi and
|
||||||
|
xorg-x11-fonts-scalable build requirements (not needed anymore).
|
||||||
|
- Run spec cleaner.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 29 11:03:12 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>
|
Thu Oct 29 11:03:12 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Tk-TableMatrix
|
# spec file for package perl-Tk-TableMatrix
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2022 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
|
||||||
@@ -16,53 +16,51 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define cpan_name Tk-TableMatrix
|
||||||
Name: perl-Tk-TableMatrix
|
Name: perl-Tk-TableMatrix
|
||||||
Version: 1.26
|
Version: 1.26
|
||||||
Release: 0
|
Release: 0
|
||||||
#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later)
|
#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later)
|
||||||
%define cpan_name Tk-TableMatrix
|
License: (Artistic-1.0 OR GPL-1.0-or-later) AND TCL
|
||||||
Summary: Tk::tkTable - a Spreadsheet/Table Widget
|
Summary: Table/Matrix Widget Extension to perl/tk
|
||||||
License: (GPL-1.0-or-later OR Artistic-1.0) AND Zlib
|
|
||||||
Group: Development/Libraries/Perl
|
|
||||||
URL: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/A/AS/ASB/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/A/AS/ASB/%{cpan_name}-%{version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.52
|
||||||
BuildRequires: perl(Tk) >= 800.022
|
BuildRequires: perl(Tk) >= 800.022
|
||||||
BuildRequires: perl(Tk::MMtry)
|
BuildRequires: perl(Tk::MMtry)
|
||||||
BuildRequires: perl(Tk::MMutil)
|
BuildRequires: perl(Tk::MMutil)
|
||||||
Requires: perl(Tk) >= 800.022
|
Requires: perl(Tk) >= 800.022
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
# MANUAL BEGIN
|
# MANUAL BEGIN
|
||||||
BuildRequires: dos2unix
|
|
||||||
BuildRequires: perl-Tk-devel
|
BuildRequires: perl-Tk-devel
|
||||||
BuildRequires: xorg-x11
|
|
||||||
BuildRequires: xorg-x11-Xnest
|
|
||||||
BuildRequires: xorg-x11-Xvfb
|
|
||||||
BuildRequires: xorg-x11-devel
|
BuildRequires: xorg-x11-devel
|
||||||
BuildRequires: xorg-x11-fonts-100dpi
|
|
||||||
BuildRequires: xorg-x11-fonts-75dpi
|
|
||||||
BuildRequires: xorg-x11-fonts-scalable
|
|
||||||
# MANUAL END
|
# MANUAL END
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Tk::tkTable - a Spreadsheet/Table Widget
|
Tk::TableMatrix is a table/matrix widget extension to perl/tk
|
||||||
|
for displaying data in a table (or spreadsheet) format.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%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
|
||||||
# MANUAL BEGIN
|
# MANUAL BEGIN
|
||||||
if test "%_lib" = "lib64" ; then
|
if test "%{_lib}" = "lib64" ; then
|
||||||
sed -i -e "s,/lib>,/lib64>," -e "s,/lib\",/lib64\"," myConfig
|
sed -i -e "s,/lib>,/lib64>," -e "s,/lib\",/lib64\"," myConfig
|
||||||
fi
|
fi
|
||||||
dos2unix README ChangeLog Changes demos/*
|
# Fix rpmlint warning "wrong-file-end-of-line-encoding"
|
||||||
|
sed -i 's/\r$//' ChangeLog Changes README demos/*
|
||||||
|
|
||||||
|
# Copy license
|
||||||
|
cp -a pTk/license.terms license.terms.pTk
|
||||||
|
cp -a pTk/mTk/license.terms license.terms.mTk
|
||||||
# MANUAL END
|
# MANUAL END
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@@ -73,8 +71,7 @@ make test
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc ChangeLog Changes demos README
|
%doc ChangeLog Changes demos README
|
||||||
%license COPYING
|
%license COPYING license.terms.mTk license.terms.pTk
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user