2020-10-30 09:56:59 +00:00
|
|
|
---
|
|
|
|
#description_paragraphs: 3
|
2022-01-28 10:09:12 +00:00
|
|
|
description: |-
|
|
|
|
Tk::TableMatrix is a table/matrix widget extension to perl/tk
|
|
|
|
for displaying data in a table (or spreadsheet) format.
|
2020-10-30 09:56:59 +00:00
|
|
|
# override description from CPAN
|
2022-01-28 10:09:12 +00:00
|
|
|
summary: Table/Matrix Widget Extension to perl/tk
|
2020-10-30 09:56:59 +00:00
|
|
|
#no_testing: broken upstream
|
|
|
|
#sources:
|
|
|
|
# - source1
|
|
|
|
# - source2
|
|
|
|
#patches:
|
|
|
|
# foo.patch: -p1
|
|
|
|
# bar.patch:
|
|
|
|
preamble: |-
|
|
|
|
BuildRequires: perl-Tk-devel
|
2023-05-11 16:09:55 +00:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xproto)
|
2020-10-30 09:56:59 +00:00
|
|
|
post_prep: |-
|
2022-01-28 10:09:12 +00:00
|
|
|
if test "%{_lib}" = "lib64" ; then
|
|
|
|
sed -i -e "s,/lib>,/lib64>," -e "s,/lib\",/lib64\"," myConfig
|
2020-10-30 09:56:59 +00:00
|
|
|
fi
|
2022-01-28 10:09:12 +00:00
|
|
|
# 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
|
2020-10-30 09:56:59 +00:00
|
|
|
#post_build: |-
|
|
|
|
# rm unused.files
|
|
|
|
#post_install: |-
|
|
|
|
# sed on %{name}.files
|
2022-01-28 10:09:12 +00:00
|
|
|
license: (Artistic-1.0 OR GPL-1.0-or-later) AND TCL
|
2020-10-30 09:56:59 +00:00
|
|
|
#skip_noarch: 1
|
|
|
|
#custom_build: |-
|
|
|
|
#./Build build flags=%{?_smp_mflags} --myflag
|
|
|
|
#custom_test: |-
|
|
|
|
#startserver && make test
|
|
|
|
#ignore_requires: Bizarre::Module
|
2023-02-20 10:05:58 +00:00
|
|
|
skip_doc: debug.* myConfig Makefile
|
2022-01-28 10:09:12 +00:00
|
|
|
add_doc: demos license.terms.pTk license.terms.mTk
|
2022-02-03 12:51:49 +00:00
|
|
|
misc: |-
|
|
|
|
%exclude %{perl_vendorarch}/auto/Tk/pTk
|