summaryrefslogtreecommitdiffstats
path: root/tktable/unix
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-10-27 18:27:18 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-10-27 18:27:18 (GMT)
commit949f96e29bfe0bd8710d775ce220e597064e2589 (patch)
treeae84b7ae710575f4debb610a126b1317a2247777 /tktable/unix
parent5b44fb0d6530c4ff66a446afb69933aa8ffd014f (diff)
parent32c31a3b172990fd736e0ed21bcab1e1d6ab6570 (diff)
downloadblt-949f96e29bfe0bd8710d775ce220e597064e2589.zip
blt-949f96e29bfe0bd8710d775ce220e597064e2589.tar.gz
blt-949f96e29bfe0bd8710d775ce220e597064e2589.tar.bz2
Merge commit '32c31a3b172990fd736e0ed21bcab1e1d6ab6570' as 'tktable'
Diffstat (limited to 'tktable/unix')
-rwxr-xr-xtktable/unix/tktable.spec56
1 files changed, 56 insertions, 0 deletions
diff --git a/tktable/unix/tktable.spec b/tktable/unix/tktable.spec
new file mode 100755
index 0000000..3ba135f
--- /dev/null
+++ b/tktable/unix/tktable.spec
@@ -0,0 +1,56 @@
+# RPM specfile provided by Jean-Luc Fontaine
+# $Id: tktable.spec,v 1.1.1.1 2011/03/01 20:00:38 joye Exp $
+
+%define version 2.10
+%define directory /usr
+
+Summary: table/matrix widget extension to Tcl/Tk.
+Name: tktable
+Version: %{version}
+Release: 1
+Copyright: public domain
+Group: Development/Languages/Tcl
+Source: http://prdownloads.sourceforge.net/tktable/Tktable%{version}.tar.gz
+URL: http://tktable.sourceforge.net/
+Packager: Jean-Luc Fontaine <jfontain@free.fr>
+BuildRequires: XFree86-libs >= 4, XFree86-devel >= 4, tk >= 8.3.1
+AutoReqProv: no
+Requires: tk >= 8.3.1
+Buildroot: /var/tmp/%{name}%{version}
+
+%description
+Tktable provides a table/matrix widget for Tk programs. Features:
+multi-line cells, embedded windows, variable width columns/height rows
+(interactively resizable), scrollbar support, tag styles per row,
+column or cell, in-cell editing, works on UNIX, Windows and MacIntosh,
+Unicode support with Tk 8.1 and above.
+
+%prep
+
+%setup -q -c
+
+%build
+cd Tktable%{version}
+./configure --with-tcl=%{directory}/lib --with-tk=%{directory}/lib
+make TBL_CFLAGS=-O2
+
+%install
+cd Tktable%{version}
+DIRECTORY=$RPM_BUILD_ROOT%{directory}/lib/%{name}%{version}
+install -d $DIRECTORY
+install libTktable%{version}.so $DIRECTORY/
+install -m 644 pkgIndex.tcl library/tkTable.tcl library/tktable.py $DIRECTORY
+install -d $RPM_BUILD_ROOT%{directory}/man/mann
+install -m 644 doc/tkTable.n $RPM_BUILD_ROOT%{directory}/man/mann
+install -m 644 ChangeLog README.txt README.blt license.txt ..
+install -d ../doc
+install -m 644 doc/tkTable.html ../doc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc ChangeLog README.txt README.blt license.txt doc/tkTable.html
+%{directory}/lib/%{name}%{version}
+%{directory}/man/mann/tkTable.n.gz