Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37042394
en ru br
ALT Linux repos
S:1.44-alt2
5.0: 1.24-alt1
4.1: 1.14-alt2
4.0: 1.14-alt2
3.0: 1.12-alt1

Group :: Development/Perl
RPM: perl-Curses

 Main   Changelog   Spec   Patches   Sources   Download   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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin