Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37555614
en ru br
ALT Linux repositórios
S:2.5.3-alt2
4.0: 2.4z-alt2
3.0: 2.4z-alt1

Group :: Sistema/Bibliotecas
RPM: tcl-blt

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define teaname blt
%define major 2.5

Name: tcl-%teaname
Version: 2.5.3
Release: alt2

Summary: A Tk toolkit extension, including widgets, geometry managers etc.
License: MIT
Group: System/Libraries
Url: http://pdqi.com/w/pw/pdqi/Wize/Blt

Source: %name-%version.tar

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

Requires: tk >= 8.4.0-alt1
BuildRequires: imake xorg-cf-files xorg-xproto-devel libX11-devel
BuildRequires: libXt-devel tcl-devel tk-devel

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

%package demos
BuildArch: noarch
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 -n %teaname%major

%build
%__autoconf
%configure --with-blt=%_tcldatadir --with-tcl=%_libdir --with-tk=%_libdir --libdir=%_tcllibdir
%make_build

%install
%make_install INSTALL_ROOT=%buildroot install
rm -f %buildroot%_tcllibdir/*.a
%__ln_s tcl/libBLT25.so %buildroot%_libdir/libBLT.so
%__ln_s tcl/libBLTlite25.so %buildroot%_libdir/libBLTlite.so
%__subst 's|^\#!../src/bltwish|\#!%_bindir/wish|' \
%buildroot%_docdir/%teaname%major/demos/*.tcl
rm -rf %buildroot%_bindir

# 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
%_docdir/%teaname%major/NEWS
%_docdir/%teaname%major/PROBLEMS
%_docdir/%teaname%major/README
%_tcllibdir/libBLT25.so
%_tcllibdir/libBLTlite25.so
%dir %_tcldatadir/%teaname%major
%_tcldatadir/%teaname%major/*
%_mandir/mann/*

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

%files demos
%dir %_docdir/%teaname%major/demos
%_docdir/%teaname%major/demos/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009