Репозитории ALT
Группа :: Разработка/Perl
Пакет: perl-Term-ReadLine-Gnu
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define dist Term-ReadLine-Gnu
Name: perl-%dist
Version: 1.15
Release: alt1.1
Summary: Perl interface to the GNU Readline library
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: %dist-%version.tar.bz2
Source1: perl-5.8.1-Term-ReadLine.pm
Source2: perl-5.8.1-Term-ReadLine.t
# try to open /dev/tty before using it
Patch0: perl-Term-ReadLine-1.01-alt-findConsole.patch
# disable Tk test that produces extra build deps
Patch1: %name-1.14-alt-disable-tk-test.patch
# avoid circular dependencies
%add_findreq_skiplist */Term/ReadLine/Gnu/XS.pm
# Automatically added by buildreq on Sun Oct 24 2004
BuildRequires: libreadline-devel perl-devel
# package renamed
Provides: perl-Term-Readline-Gnu = %version
Obsoletes: perl-Term-Readline-Gnu <= %version
# Term/ReadLine.pm moved here from perl bundle
Requires: perl-base >= 1:5.8.1
%description
Term::ReadLine::Gnu is an implementation of the interface to the GNU
Readline library. This module gives you input line editing facility,
input history management facility, word completion facility, etc.
%prep
%setup -q -n %dist-%version
%__install -p -m644 %SOURCE1 ReadLine.pm
%__install -p -m644 %SOURCE2 t/ReadLine.t
%patch0 -p1
%patch1 -p1
%__mkdir_p lib/Term/ReadLine
%__mv ReadLine.pm lib/Term
%__mv Gnu.pm Gnu lib/Term/ReadLine
%__mv Makefile.PL Makefile.PL.orig
%__cat <<\__EOF__ >|./Makefile.PL
# ALT Makefile.PL for %name
# see also Makefile.PL.orig
use ExtUtils::MakeMaker;
WriteMakefile qw(
NAME Term::ReadLine::Gnu
VERSION_FROM lib/Term/ReadLine/Gnu.pm
DEFINE -DHAVE_STRING_H
LIBS -lreadline
);
__EOF__
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README eg
%perl_vendor_archlib/Term*
%perl_vendor_autolib/Term*
%perl_vendor_man3dir/Term*
%changelog
…
Полный changelog можно просмотреть здесь
Name: perl-%dist
Version: 1.15
Release: alt1.1
Summary: Perl interface to the GNU Readline library
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: %dist-%version.tar.bz2
Source1: perl-5.8.1-Term-ReadLine.pm
Source2: perl-5.8.1-Term-ReadLine.t
# try to open /dev/tty before using it
Patch0: perl-Term-ReadLine-1.01-alt-findConsole.patch
# disable Tk test that produces extra build deps
Patch1: %name-1.14-alt-disable-tk-test.patch
# avoid circular dependencies
%add_findreq_skiplist */Term/ReadLine/Gnu/XS.pm
# Automatically added by buildreq on Sun Oct 24 2004
BuildRequires: libreadline-devel perl-devel
# package renamed
Provides: perl-Term-Readline-Gnu = %version
Obsoletes: perl-Term-Readline-Gnu <= %version
# Term/ReadLine.pm moved here from perl bundle
Requires: perl-base >= 1:5.8.1
%description
Term::ReadLine::Gnu is an implementation of the interface to the GNU
Readline library. This module gives you input line editing facility,
input history management facility, word completion facility, etc.
%prep
%setup -q -n %dist-%version
%__install -p -m644 %SOURCE1 ReadLine.pm
%__install -p -m644 %SOURCE2 t/ReadLine.t
%patch0 -p1
%patch1 -p1
%__mkdir_p lib/Term/ReadLine
%__mv ReadLine.pm lib/Term
%__mv Gnu.pm Gnu lib/Term/ReadLine
%__mv Makefile.PL Makefile.PL.orig
%__cat <<\__EOF__ >|./Makefile.PL
# ALT Makefile.PL for %name
# see also Makefile.PL.orig
use ExtUtils::MakeMaker;
WriteMakefile qw(
NAME Term::ReadLine::Gnu
VERSION_FROM lib/Term/ReadLine/Gnu.pm
DEFINE -DHAVE_STRING_H
LIBS -lreadline
);
__EOF__
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README eg
%perl_vendor_archlib/Term*
%perl_vendor_autolib/Term*
%perl_vendor_man3dir/Term*
%changelog
…
Полный changelog можно просмотреть здесь