Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37826720
en ru br
Репозитории ALT
S:8.4.3-alt4
5.1: 8.4.3-alt1
4.1: 8.4.2-alt1
4.0: 8.2.0-alt4
3.0: 8.2.0-alt2
www.altlinux.org/Changes

Группа :: Разработка/Tcl
Пакет: tcl-tix

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# -*- rpm-spec -*-
# $Id: tcl-tix,v 1.5 2006/07/22 14:16:58 me Exp $

%define teaname tix
%define major 8.2
Name: tcl-%teaname
Version: %major.0
Release: alt4

Summary: A set of capable widgets for Tk
License: BSD
Group: Development/Tcl
Url: http://tix.sourceforge.net/

Source0: %teaname-%version.tar.bz2

Requires: tk >= 8.4.0-alt1
BuildRequires: python tk-devel >= 8.4.0-alt1
Provides: %teaname = 1:%version-%release
Obsoletes: %teaname

%package demos
Summary: A collection of programs to demonstrate the features of the Tix
Group: Development/Tcl
Requires: %name = %version-%release
Provides: %teaname-demos = 1:%version-%release
Obsoletes: %teaname-demos

%package devel
Summary: Header files and programming manual for Tix
Group: Development/Other
Requires: %name = %version-%release
Provides: %teaname-devel = 1:%version-%release
Obsoletes: %teaname-devel

%description
Tix (Tk Interface Extension), an add-on for the Tk widget set, is an
extensive set of over 40 widgets.  In general, Tix widgets are more
complex and more capable than the widgets provided in Tk.  Tix widgets
include a ComboBox, a Motif-style FileSelectBox, an MS Windows-style
FileSelectBox, a PanedWindow, a NoteBook, a hierarchical list, a
directory tree and a file manager.

Install the tix package if you want to try out more complicated widgets
for Tk.  You'll also need to have the tcl and tk packages installed.

%description demos
Tix (Tk Interface Extension), an add-on for the Tk widget set, is an
extensive set of over 40 widgets.  In general, Tix widgets are more
complex and more capable than the widgets provided in Tk.  Tix widgets
include a ComboBox, a Motif-style FileSelectBox, an MS Windows-style
FileSelectBox, a PanedWindow, a NoteBook, a hierarchical list, a
directory tree and a file manager.

This package contains a collection of programs to demonstrate
the features of the Tix widget set.

%description devel
Tix (Tk Interface Extension), an add-on for the Tk widget set, is an
extensive set of over 40 widgets.  In general, Tix widgets are more
complex and more capable than the widgets provided in Tk.  Tix widgets
include a ComboBox, a Motif-style FileSelectBox, an MS Windows-style
FileSelectBox, a PanedWindow, a NoteBook, a hierarchical list, a
directory tree and a file manager.

This package includes header files and programming manual for Tix.

%prep
%setup -q -n%teaname

%build
cd unix
%__chmod +x configure
%configure --enable-shared --enable-gcc --with-tcl=%_libdir --with-tk=%_libdir
%make_build

%install
%makeinstall -C unix libdir=%buildroot%_tcllibdir \
TIX_LIBRARY=%buildroot%_tcldatadir/%teaname%major
rm -f %buildroot%_bindir/tixwish*
ln -sf lib%teaname%major.so %buildroot%_tcllibdir/lib%teaname.so
%__install -p -m0644 -D generic/tix.h %buildroot%_includedir/tix.h
%__install -d -m0755 %buildroot%_docdir/%name-%version
cp -a docs/{html,FAQ.txt,Release-%version.txt} %buildroot%_docdir/%name-%version
cp -a demos %buildroot%_tcldatadir/%teaname%major/
cat <<EOF > %buildroot%_tcldatadir/%teaname%major/pkgIndex.tcl
package ifneeded Tix 8.2 [list load [file join \$dir .. .. .. %_lib tcl lib%teaname%major.so] Tix]
EOF

%files
%dir %_docdir/%name-%version
%_docdir/%name-%version/*.txt
%_tcllibdir/lib%teaname%major.so
%dir %_tcldatadir/%teaname%major
%_tcldatadir/%teaname%major/tclIndex
%_tcldatadir/%teaname%major/*.tcl
%_tcldatadir/%teaname%major/bitmaps
%_tcldatadir/%teaname%major/pref
%_mandir/mann/*

%files demos
%_tcldatadir/%teaname%major/demos

%files devel
%_includedir/*
%_tcllibdir/lib%teaname.so
%dir %_docdir/%name-%version
%_docdir/%name-%version/html

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin