9
0

Accepting request 844859 from devel:languages:perl:autoupdate

- updated to 1.26
   see /usr/share/doc/packages/perl-Tk-TableMatrix/ChangeLog

OBS-URL: https://build.opensuse.org/request/show/844859
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Tk-TableMatrix?expand=0&rev=13
This commit is contained in:
2020-10-30 09:56:59 +00:00
committed by Git OBS Bridge
parent f7e3a54ed3
commit eaf389b3ec
6 changed files with 85 additions and 85 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:624dcd8b93acb833657f9c9d7d71cc1d026ed74d5711df7b32fc82b8813e8dba
size 218609

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf1e4dbe3399c375ab5f3861823d3a578c735db126416b2afd8e0632ed92abc7
size 410559

View File

@@ -1,25 +0,0 @@
Index: Tk-TableMatrix-1.22/myConfig
===================================================================
--- Tk-TableMatrix-1.22.orig/myConfig 2004-02-07 23:09:45.000000000 -0400
+++ Tk-TableMatrix-1.22/myConfig 2006-06-21 00:56:06.000000000 -0300
@@ -253,9 +253,9 @@ if ($win_arch eq 'x') {
}
if (!defined($xlib) && defined($X11))
{
- $xlib = &lX11(1,"$X11/lib")
+ $xlib = &lX11(1,"$X11/lib64")
}
- $xlib = &lX11(0,map("$_/lib",@xdirs)) unless (defined $xlib);
+ $xlib = &lX11(0,map("$_/lib64",@xdirs)) unless (defined $xlib);
# Special case for sun-machines
unless (defined $xlib)
@@ -277,7 +277,7 @@ if ($win_arch eq 'x') {
#
unless (defined $xlib)
{
- $xlib = &lX11(0,chooseX11(</usr/X11*/lib>),chooseX11(</usr/lib/X11*>),</usr/Xfree*/lib>,'/usr/X386/lib')
+ $xlib = &lX11(0,chooseX11(</usr/X11*/lib64>),chooseX11(</usr/lib/X11*>),</usr/Xfree*/lib>,'/usr/X386/lib')
}
#

40
cpanspec.yml Normal file
View File

@@ -0,0 +1,40 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
preamble: |-
BuildRequires: perl-Tk-devel
BuildRequires: xorg-x11
BuildRequires: xorg-x11-Xnest
BuildRequires: xorg-x11-Xvfb
BuildRequires: xorg-x11-devel
BuildRequires: xorg-x11-fonts-100dpi
BuildRequires: xorg-x11-fonts-75dpi
BuildRequires: xorg-x11-fonts-scalable
BuildRequires: dos2unix
post_prep: |-
if test "%_lib" = "lib64" ; then
sed -i -e "s,/lib>,/lib64>," -e "s,/lib\",/lib64\"," myConfig
fi
dos2unix README ChangeLog Changes demos/*
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
license: (GPL-1.0-or-later OR Artistic-1.0) AND Zlib
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
skip_doc: debug.* myConfig
add_doc: demos

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 29 11:03:12 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>
- updated to 1.26
see /usr/share/doc/packages/perl-Tk-TableMatrix/ChangeLog
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 29 18:31:24 UTC 2010 - coolo@novell.com Mon Nov 29 18:31:24 UTC 2010 - coolo@novell.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Tk-TableMatrix # spec file for package perl-Tk-TableMatrix
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 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,22 +12,32 @@
# 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/
# #
%define modname Tk-TableMatrix Name: perl-Tk-TableMatrix
Name: perl-%{modname} Version: 1.26
Version: 1.22
Release: 0 Release: 0
Summary: Perl-Tk-based Table Display module #Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later)
License: GPL/Artistic %define cpan_name Tk-TableMatrix
Summary: Tk::tkTable - a Spreadsheet/Table Widget
License: (GPL-1.0-or-later OR Artistic-1.0) AND Zlib
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Requires: perl = %{perl_version} perl-Tk URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/A/AS/ASB/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-Tk
BuildRequires: perl-Tk-devel
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Tk) >= 800.022
BuildRequires: perl(Tk::MMtry)
BuildRequires: perl(Tk::MMutil)
Requires: perl(Tk) >= 800.022
%{perl_requires}
# MANUAL BEGIN
BuildRequires: dos2unix
BuildRequires: perl-Tk-devel
BuildRequires: xorg-x11 BuildRequires: xorg-x11
BuildRequires: xorg-x11-Xnest BuildRequires: xorg-x11-Xnest
BuildRequires: xorg-x11-Xvfb BuildRequires: xorg-x11-Xvfb
@@ -35,67 +45,36 @@ BuildRequires: xorg-x11-devel
BuildRequires: xorg-x11-fonts-100dpi BuildRequires: xorg-x11-fonts-100dpi
BuildRequires: xorg-x11-fonts-75dpi BuildRequires: xorg-x11-fonts-75dpi
BuildRequires: xorg-x11-fonts-scalable BuildRequires: xorg-x11-fonts-scalable
Source: %{modname}-%{version}.tar.bz2 # MANUAL END
Patch: %{modname}-lib64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
Tk::TableMatrix is a table/matrix widget extension to perl/tk Tk::tkTable - a Spreadsheet/Table Widget
for displaying data in a table (or spreadsheet) format.
The basic features of the widget are:
* multi-line cells
* support for embedded windows (one per cell)
* row & column spanning
* variable width columns / height rows (interactively resizable)
* row and column titles
* multiple data sources ((perl hash|| perl callback) &| internal caching)
* supports standard Tk reliefs, fonts, colors, etc.
* x/y scrollbar support
* 'tag' styles per row, column or cell to change visual appearance
* in-cell editing - returns value back to data source
* support for disabled (read-only) tables or cells (via tags)
* multiple selection modes, with "active" cell
* multiple drawing modes to get optimal performance for larger tables
* optional 'flashes' when things update
* cell validation support
* Works everywhere Tk does (including Windows and Mac!)
Authors:
--------
John Cerney <j-cerney1@raytheon.com>
%prep %prep
%setup -q -n %{modname}-%{version} %setup -q -n %{cpan_name}-%{version}
chmod a-x COPYING README find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
# MANUAL BEGIN
if test "%_lib" = "lib64" ; then if test "%_lib" = "lib64" ; then
%patch -p1 sed -i -e "s,/lib>,/lib64>," -e "s,/lib\",/lib64\"," myConfig
fi fi
dos2unix README ChangeLog Changes demos/*
# MANUAL END
%build %build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make make %{?_smp_mflags}
%check %check
make test make test
%install %install
rm -rf %{buildroot} %perl_make_install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%clean %files -f %{name}.files
rm -rf %{buildroot} %defattr(-,root,root,755)
%doc ChangeLog Changes demos README
%files %license COPYING
%defattr(-, root, root)
%doc README Changes ChangeLog COPYING demos
%doc %{_mandir}/man?/*
%{perl_vendorarch}/Tk/TableMatrix
%{perl_vendorarch}/Tk/TableMatrix.pm
%{perl_vendorarch}/Tk/TableMatrix.pod
%{perl_vendorarch}/Tk/pTk
%{perl_vendorarch}/auto/Tk/TableMatrix
%{perl_vendorarch}/auto/Tk/pTk
%changelog %changelog