Group :: Desenvolvimento/Perl
RPM: perl-Curses
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define dist Curses
Name: perl-%dist
Version: 1.24
Release: alt1
Summary: Terminal screen handling and optimization
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar
Patch: %name-%version-%release.patch
# Automatically added by buildreq on Tue Dec 16 2008
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
%patch -p1
%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
…
Todas as alterações você pod ver aqui
Name: perl-%dist
Version: 1.24
Release: alt1
Summary: Terminal screen handling and optimization
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar
Patch: %name-%version-%release.patch
# Automatically added by buildreq on Tue Dec 16 2008
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
%patch -p1
%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
…
Todas as alterações você pod ver aqui