2007-01-16 00:39:10 +01:00
|
|
|
#
|
2012-01-04 08:01:39 +01:00
|
|
|
# spec file for package tix
|
2007-01-16 00:39:10 +01:00
|
|
|
#
|
2024-07-01 18:55:38 +02:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-16 00:39:10 +01:00
|
|
|
#
|
2009-06-18 18:08:18 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2024-07-01 18:55:38 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:39:10 +01:00
|
|
|
#
|
|
|
|
|
2008-04-06 09:08:02 +02:00
|
|
|
|
2007-06-07 13:16:30 +02:00
|
|
|
Name: tix
|
2012-01-04 08:01:39 +01:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: fdupes
|
2019-01-28 17:47:09 +01:00
|
|
|
BuildRequires: tcl-devel
|
2012-01-04 08:01:39 +01:00
|
|
|
BuildRequires: tk-devel
|
2019-01-28 17:47:09 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2008-04-06 09:08:02 +02:00
|
|
|
Version: 8.4.3
|
2012-01-04 08:01:39 +01:00
|
|
|
Release: 0
|
2007-06-07 13:16:30 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: Tools for tk
|
2012-01-04 08:01:39 +01:00
|
|
|
License: BSD-3-Clause
|
2007-06-07 13:16:30 +02:00
|
|
|
Group: Development/Libraries/Tcl
|
2008-04-06 09:08:02 +02:00
|
|
|
Source: Tix%version-src.tar.bz2
|
2007-06-07 13:16:30 +02:00
|
|
|
Patch0: %name.patch
|
2024-07-01 18:55:38 +02:00
|
|
|
Patch1: %name-c89.patch
|
|
|
|
Patch2: %name-implicit-int.patch
|
|
|
|
Patch3: %name-includes.patch
|
2019-01-28 17:47:09 +01:00
|
|
|
%requires_ge tk tcl
|
2024-07-01 18:55:38 +02:00
|
|
|
|
2007-01-16 00:39:10 +01:00
|
|
|
%description
|
|
|
|
The Tix library has, by far, the greatest collection of widgets for
|
|
|
|
programming with Tcl/Tk. Highlights include: hierarchical list box,
|
|
|
|
directory list/tree view, spreadsheet, tabular list box, combo box,
|
|
|
|
Motif style file select box, MS Windows style file select box, paned
|
|
|
|
window, note book, spin control widget and many more. With these new
|
|
|
|
widgets, your applications will look great and interact with your users
|
|
|
|
in intuitive ways.
|
|
|
|
|
|
|
|
%prep
|
2024-03-01 15:22:39 +01:00
|
|
|
%autosetup -p0 -n Tix%version
|
2007-06-07 13:16:30 +02:00
|
|
|
find docs -type f | xargs chmod a-x
|
2007-01-16 00:39:10 +01:00
|
|
|
|
|
|
|
%build
|
2008-04-06 09:08:02 +02:00
|
|
|
autoreconf
|
2013-06-20 16:43:04 +02:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -DUSE_INTERP_RESULT -fno-strict-aliasing"
|
|
|
|
%configure \
|
2007-06-07 13:16:30 +02:00
|
|
|
--with-tcl=%_libdir \
|
2013-06-20 16:43:04 +02:00
|
|
|
--with-tk=%_libdir
|
2007-06-07 13:16:30 +02:00
|
|
|
make
|
2007-01-16 00:39:10 +01:00
|
|
|
|
|
|
|
%install
|
2013-06-20 16:43:04 +02:00
|
|
|
make install DESTDIR=%buildroot libdir=%_libdir/tcl
|
2007-06-07 13:16:30 +02:00
|
|
|
MANN=%buildroot/%_mandir/mann
|
|
|
|
mkdir -p $MANN
|
|
|
|
pushd man
|
|
|
|
for f in *.n; do
|
|
|
|
sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' $f > $MANN/$f
|
|
|
|
done
|
|
|
|
popd
|
2007-01-16 00:39:10 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2007-06-07 13:16:30 +02:00
|
|
|
%doc ABOUT* README* ChangeLog license.terms index.html
|
2008-04-06 09:08:02 +02:00
|
|
|
%doc docs/Release* docs/*html docs/img docs/pdf/* demos
|
2007-01-16 00:39:10 +01:00
|
|
|
%doc %_mandir/*/*
|
2008-04-06 09:08:02 +02:00
|
|
|
%_libdir/tcl
|
2007-01-16 00:39:10 +01:00
|
|
|
|
2007-06-07 13:16:30 +02:00
|
|
|
%changelog
|