Репозитории ALT
Группа :: Разработка/Perl
Пакет: perl-Curses
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define dist Curses
Name: perl-%dist
Version: 1.14
Release: alt2
Summary: Terminal screen handling and optimization
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar.bz2
# Added by buildreq2 on Tue Jun 13 2006
BuildRequires: libncursesw-devel perl-devel
%description
Curses is the interface between Perl and ncurses(3) library.
The curses library routines are a terminal-independent method of updating
character screens with reasonable optimization. The ncurses (new curses)
library is a freely distributable replacement for the discontinued 4.4BSD
classic curses library.
%prep
%setup -q -n %dist-%version
%build
export CURSES_CFLAGS=-I%_includedir/ncursesw CURSES_LDFLAGS='-ltinfo -lncursesw' \
CURSES_PANEL_LDFLAGS=-lpanelw CURSES_MENU_LDFLAGS=-lmenuw CURSES_FORM_LDFLAGS=-lformw
%perl_vendor_build PANELS MENUS FORMS
# no tests provided, make sure Curses can be loaded
%__perl -Mblib -MCurses -e1
%install
%perl_vendor_install
%files
%doc HISTORY README demo*
%perl_vendor_archlib/Curses*
%perl_vendor_autolib/Curses*
%changelog
…
Полный changelog можно просмотреть здесь
Name: perl-%dist
Version: 1.14
Release: alt2
Summary: Terminal screen handling and optimization
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar.bz2
# Added by buildreq2 on Tue Jun 13 2006
BuildRequires: libncursesw-devel perl-devel
%description
Curses is the interface between Perl and ncurses(3) library.
The curses library routines are a terminal-independent method of updating
character screens with reasonable optimization. The ncurses (new curses)
library is a freely distributable replacement for the discontinued 4.4BSD
classic curses library.
%prep
%setup -q -n %dist-%version
%build
export CURSES_CFLAGS=-I%_includedir/ncursesw CURSES_LDFLAGS='-ltinfo -lncursesw' \
CURSES_PANEL_LDFLAGS=-lpanelw CURSES_MENU_LDFLAGS=-lmenuw CURSES_FORM_LDFLAGS=-lformw
%perl_vendor_build PANELS MENUS FORMS
# no tests provided, make sure Curses can be loaded
%__perl -Mblib -MCurses -e1
%install
%perl_vendor_install
%files
%doc HISTORY README demo*
%perl_vendor_archlib/Curses*
%perl_vendor_autolib/Curses*
%changelog
…
Полный changelog можно просмотреть здесь