Репозитории ALT
Группа :: Разработка/Tcl
Пакет: tcl-tktreectrl
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# -*- rpm-spec -*- vim: set ft=spec:
# $Id: tcl-tktreectrl,v 1.8 2004/11/03 14:52:37 me Exp $
%define snapshot 20041009
%define teaname tktreectrl
Name: tcl-%teaname
Version: 1.1
Release: alt0.1
Summary: TkTreeCtrl is a multi-column hierarchical listbox widget for the Tk GUI toolkit
License: BSD
Group: Development/Tcl
Url: http://www.sf.net/projects/%teaname
%ifdef snapshot
# :pserver:anonymous at cvs.sourceforge.net/cvsroot/tktreectrl
Source: %name-%snapshot.tar.bz2
%else
Source: http://download.sourceforge.net/%teaname/%teaname%version.tar.bz2
%endif
Patch: %name-1.0-tea3.patch
Requires: tk >= 8.4.0-alt1
BuildRequires: autoconf_2.5 automake_1.6 rpm-build >= 4.0.4-alt41 tk-devel >= 8.4.0-alt1
%description
TkTreeCtrl is a multi-column hierarchical listbox widget for the Tk GUI toolkit
%prep
%setup -q %{?snapshot:-c}%{?!snapshot:-n%teaname}
%patch0 -p1
%build
%set_autoconf_version 2.5
%set_automake_version 1.6
%__chmod +x configure
%__aclocal
%__autoconf
%configure
%make_build
%install
%makeinstall
%__cat doc/man.macros doc/treectrl.n |grep -v '^.so man.macros' > treectrl.n
%__install -m0644 -D treectrl.n %buildroot%_mandir/mann/treectrl.n
%files
%doc ChangeLog doc/manual.txt demos
%_tcllibdir/libtreectrl%version.so
%_tcldatadir/treectrl%version
%_mandir/mann/*
%changelog
…
Полный changelog можно просмотреть здесь
# $Id: tcl-tktreectrl,v 1.8 2004/11/03 14:52:37 me Exp $
%define snapshot 20041009
%define teaname tktreectrl
Name: tcl-%teaname
Version: 1.1
Release: alt0.1
Summary: TkTreeCtrl is a multi-column hierarchical listbox widget for the Tk GUI toolkit
License: BSD
Group: Development/Tcl
Url: http://www.sf.net/projects/%teaname
%ifdef snapshot
# :pserver:anonymous at cvs.sourceforge.net/cvsroot/tktreectrl
Source: %name-%snapshot.tar.bz2
%else
Source: http://download.sourceforge.net/%teaname/%teaname%version.tar.bz2
%endif
Patch: %name-1.0-tea3.patch
Requires: tk >= 8.4.0-alt1
BuildRequires: autoconf_2.5 automake_1.6 rpm-build >= 4.0.4-alt41 tk-devel >= 8.4.0-alt1
%description
TkTreeCtrl is a multi-column hierarchical listbox widget for the Tk GUI toolkit
%prep
%setup -q %{?snapshot:-c}%{?!snapshot:-n%teaname}
%patch0 -p1
%build
%set_autoconf_version 2.5
%set_automake_version 1.6
%__chmod +x configure
%__aclocal
%__autoconf
%configure
%make_build
%install
%makeinstall
%__cat doc/man.macros doc/treectrl.n |grep -v '^.so man.macros' > treectrl.n
%__install -m0644 -D treectrl.n %buildroot%_mandir/mann/treectrl.n
%files
%doc ChangeLog doc/manual.txt demos
%_tcllibdir/libtreectrl%version.so
%_tcldatadir/treectrl%version
%_mandir/mann/*
%changelog
…
Полный changelog можно просмотреть здесь