forked from pool/perl-Tk-TableMatrix
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:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:624dcd8b93acb833657f9c9d7d71cc1d026ed74d5711df7b32fc82b8813e8dba
|
||||
size 218609
|
||||
3
Tk-TableMatrix-1.26.tar.gz
Normal file
3
Tk-TableMatrix-1.26.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cf1e4dbe3399c375ab5f3861823d3a578c735db126416b2afd8e0632ed92abc7
|
||||
size 410559
|
||||
@@ -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
40
cpanspec.yml
Normal 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
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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)
|
||||
# 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-%{modname}
|
||||
Version: 1.22
|
||||
Name: perl-Tk-TableMatrix
|
||||
Version: 1.26
|
||||
Release: 0
|
||||
Summary: Perl-Tk-based Table Display module
|
||||
License: GPL/Artistic
|
||||
#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later)
|
||||
%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
|
||||
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-Tk
|
||||
BuildRequires: perl-Tk-devel
|
||||
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-Xnest
|
||||
BuildRequires: xorg-x11-Xvfb
|
||||
@@ -35,67 +45,36 @@ BuildRequires: xorg-x11-devel
|
||||
BuildRequires: xorg-x11-fonts-100dpi
|
||||
BuildRequires: xorg-x11-fonts-75dpi
|
||||
BuildRequires: xorg-x11-fonts-scalable
|
||||
Source: %{modname}-%{version}.tar.bz2
|
||||
Patch: %{modname}-lib64.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# MANUAL END
|
||||
|
||||
%description
|
||||
Tk::TableMatrix is a table/matrix widget extension to perl/tk
|
||||
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>
|
||||
Tk::tkTable - a Spreadsheet/Table Widget
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
chmod a-x COPYING README
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
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
|
||||
%patch -p1
|
||||
sed -i -e "s,/lib>,/lib64>," -e "s,/lib\",/lib64\"," myConfig
|
||||
fi
|
||||
dos2unix README ChangeLog Changes demos/*
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%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
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc ChangeLog Changes demos README
|
||||
%license COPYING
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user