Репозитории ALT
Группа :: Разработка/Perl
Пакет: perl-Curses
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# BEGIN SourceDeps(oneline):
BuildRequires: libncurses-devel
# END SourceDeps(oneline)
%define _unpackaged_files_terminate_build 1
%define dist Curses
Name: perl-%dist
Version: 1.44
Release: alt2
Summary: Terminal screen handling and optimization
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/G/GI/GIRAFFED/%{dist}-%{version}.tar.gz
# Automatically added by buildreq on Fri Oct 07 2011
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'
export 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* Artistic Copying ChangeLog
%perl_vendor_archlib/Curses*
%perl_vendor_autolib/Curses*
%changelog
…
Полный changelog можно просмотреть здесь
BuildRequires: libncurses-devel
# END SourceDeps(oneline)
%define _unpackaged_files_terminate_build 1
%define dist Curses
Name: perl-%dist
Version: 1.44
Release: alt2
Summary: Terminal screen handling and optimization
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/G/GI/GIRAFFED/%{dist}-%{version}.tar.gz
# Automatically added by buildreq on Fri Oct 07 2011
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'
export 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* Artistic Copying ChangeLog
%perl_vendor_archlib/Curses*
%perl_vendor_autolib/Curses*
%changelog
…
Полный changelog можно просмотреть здесь