Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37404937
en ru br
Репозитории ALT
S:2.5.3-alt2
4.0: 2.4z-alt2
3.0: 2.4z-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: tcl-blt

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

# -*- rpm-spec -*-
# $Id: tcl-blt,v 1.10 2006/07/19 22:31:47 me Exp $

%define teaname blt
%define major 2.4

Name: tcl-%teaname
Version: %{major}z
Release: alt2

Summary: A Tk toolkit extension, including widgets, geometry managers etc.
Copyright: MIT
Group: System/Libraries
Url: http://blt.sourceforge.net/

Source: http://prdownloads.sourceforge.net/sourceforge/%teaname/BLT%version.tar.bz2

Patch0: blt2.4z-patch-2.gz
Patch1: %teaname-2.4-alt-misc.patch

Provides: blt = %version-%release
Obsoletes: blt

Requires: tk >= 8.4.0-alt1
BuildRequires: autoconf_2.13 tk-devel >= 8.4.0-alt1 xorg-x11-devel

%package devel
Summary: development files for %teaname toolkit.
Group: Development/Other
Requires: %name = %version-%release

%package demos
Summary: demos for %teaname toolkit.
Group: Development/Other
Requires: %name = %version-%release

%description
BLT is an extension to the Tk toolkit. BLT's most useful feature is the
provision of more widgets for Tk, but it also provides more geometry managers
and miscellaneous other commands.

%description devel
BLT is an extension to the Tk toolkit. BLT's most useful feature is the
provision of more widgets for Tk, but it also provides more geometry managers
and miscellaneous other commands.

If you are programming with %teaname toolkit, you should install %name-devel.

%description demos
BLT is an extension to the Tk toolkit. BLT's most useful feature is the
provision of more widgets for Tk, but it also provides more geometry managers
and miscellaneous other commands.

This package contains a collection of programs to demonstrate
the features of the %teaname.

%prep
%setup -q %{?snapshot:-c}%{!?snapshot:-n %teaname%version}
%patch0 -p1
%patch1 -p1

%build
%set_autoconf_version 2.13
%__autoconf
%configure
%make_build

%install
%make_install INSTALL_ROOT=%buildroot install
%__ln_s tcl/libBLT24.so %buildroot%_libdir/libBLT.so
%__ln_s tcl/libBLTlite24.so %buildroot%_libdir/libBLTlite.so
%__mv -f examples/*.tcl %buildroot%_tcldatadir/%teaname%major/demos
%__subst 's|^\#!../src/bltwish|\#!%_bindir/wish|' \
%buildroot%_tcldatadir/%teaname%major/demos/*.tcl
%__subst 's|^\#!/usr/local/bin|\#!%_bindir|' \
%buildroot%_tcldatadir/%teaname%major/demos/scripts/page.tcl

# bitmap.n is in tcl now

# graph.n is in tcllib as well
# tabset.n is in itcl as well
# watch.n is in itcl as well
rm -f %buildroot%_mandir/mann/{bitmap,graph,tabset,watch}.n*

%files
%doc NEWS PROBLEMS README
%_tcllibdir/libBLT24.so
%_tcllibdir/libBLTlite24.so
%dir %_tcldatadir/%teaname%major
%_tcldatadir/%teaname%major/dd_protocols
%_tcldatadir/%teaname%major/*.tcl
%_tcldatadir/%teaname%major/*.pro
%_tcldatadir/%teaname%major/*.xbm
%_tcldatadir/%teaname%major/tclIndex
%_mandir/mann/*

%files devel
%doc html/*.html
%_includedir/*
%_libdir/libBLT.so
%_libdir/libBLTlite.so
%_man3dir/*

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

%changelog

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

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