Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37882631
en ru br
Репозитории ALT
5.1: 0.8.2-alt1
4.1: 0.8.2-alt1
4.0: 0.7.8-alt1
3.0: 0.5-alt1
www.altlinux.org/Changes

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

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

%def_with man
%def_with demos

%define teaname tile
Name: tcl-tile
Version: 0.7.8
Release: alt1
Summary: The Tile Widget Set
License: MIT
Group: Development/Tcl
URL: http://tktable.sourceforge.net
Source: http://dl.sf.net/tktable/%teaname-%version.tar.bz2

# Automatically added by buildreq on Mon Oct 09 2006

BuildRequires: libXt-devel tk-devel xorg-cf-files

%description
The Tile Widget Set is an experimental reimplementation of some of the
core Tk widgets. The primary purpose is to generate ideas for how to
build the next generation of Tk, when the asteroid strikes and we
prepare for the 9.0 release.
Features:
 - A revised and expanded version of the TIP #48 style engine
 - Native look and feel under Windows XP
 - Native L&F under other Windows versions
 - "Revitalized" look and feel under Unix
 - scrollbar, button, checkbutton, radiobutton, menubutton, label,
   frame, and labelframe widgets, plus a partial implementation of the
   scale widget
 - new notebook and progressbar widgets


%package devel
Summary: Headers for development with Tile Widget Set library
Group: Development/Tcl
Requires: %name = %version

%description devel
Headers for development with Tile Widget Set library.


%package doc
Summary: Documentation for the Tile Widget Set
Group: Development/Tcl
Requires: %name = %version

%description doc
Documentation for the Tile Widget Set.


%if_with man
%package man
Summary: Man pages for the Tile Widget Set
Group: Development/Tcl
Requires: %name = %version

%description man
Man pages for the Tile Widget Set.
%endif


%if_with demos
%package demos
Summary: Demos of the Tile Widget Set
Group: Development/Tcl
Requires: %name = %version

%description demos
Demos of the Tile Widget Set.
%endif


%prep
%setup -q -n %teaname-%version


%build
%configure --enable-shared --enable-load --disable-symbols
%make_build


%install
%makeinstall
install -d -m 0755 %buildroot{%_tcllibdir,%_datadir/tcl/%teaname%version,%_includedir/%teaname,%_docdir/%name-%version/html}
ln -s %name-%version %buildroot%_docdir/%teaname-%version
mv %buildroot/%_libdir/%teaname%version/*.so  %buildroot%_tcllibdir
mv %buildroot/%_libdir/%teaname%version/*.tcl %buildroot%_datadir/tcl/%teaname%version/
mv %buildroot/%_includedir/*.h %buildroot/%_includedir/%teaname/
%if_with man
install -d -m 0755 %buildroot{%_mandir/manntile,%_man3dir}
pushd doc
for f in *.n; do
   install -m 0644 "$f" %buildroot%_mandir/manntile/"${f}tile"
done
popd
install -m 0644 doc/*.3 %buildroot%_man3dir/
%endif
bzip2 --best --force --keep -- ChangeLog
bzip2 --best --force --keep -- generic/TODO
install -m 0644 *.txt license* doc/converting.txt generic/TODO.* ChangeLog.* %buildroot%_docdir/%name-%version/
install -m 0644 doc/html/* %buildroot%_docdir/%name-%version/html/
%if_with demos
install -d -m 0755 %buildroot%_datadir/tcl/%teaname%version/demos/themes/blue
install -m 0644 demos/*.tcl %buildroot%_datadir/tcl/%teaname%version/demos/
install -m 0644 demos/themes/*.tcl %buildroot%_datadir/tcl/%teaname%version/demos/themes/
install -m 0644 demos/themes/blue/* %buildroot%_datadir/tcl/%teaname%version/demos/themes/blue/
%endif
rmdir %buildroot/%_libdir/%teaname%version
rm -f %buildroot%_libdir/*.a
subst 's at $dir at %_tcllibdir at ' %buildroot%_datadir/tcl/%teaname%version/pkgIndex.tcl


%files
%dir %_docdir/%name-%version
%_docdir/%name-%version/*.txt
%_docdir/%name-%version/license*
%_tcllibdir/*
%_tcldatadir/%teaname%version


%files devel
%_includedir/%teaname


%files doc
%_docdir/%teaname-%version
%_docdir/%name-%version/html
%_docdir/%name-%version/converting.txt
%_docdir/%name-%version/TODO.*
%_docdir/%name-%version/ChangeLog.*


%if_with man
%files man
%_mandir/manntile/*
%_man3dir/*
%endif


%if_with demos
%files demos
%_tcldatadir/%teaname%version/demos
%endif


%changelog

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

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