File perl-TermReadLine-Gnu.spec of Package perl-TermReadLine-Gnu

# spec file for package perl-TermReadLine-Gnu (Version 1.16)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           perl-TermReadLine-Gnu
BuildRequires:  perl readline-devel
BuildRequires:  perl-macros
Version:        1.16
Release:        113
Requires:       readline
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        GPLv2+
Summary:        Perl extension for the GNU Readline/History Library
Source:         Term-ReadLine-Gnu-%{version}.tar.bz2
Patch:          Term-ReadLine-Gnu-%{version}.dif
Patch1:         Term-ReadLine-Gnu-1.16-no_release.dif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

This is an implementation of Term::ReadLine using the GNU
Readline/History Library. This package also has the interface with the
almost all functions and variables which are documented in the GNU
Readline/History Library Manual.

    Hiroo Hayashi <>

%setup -n Term-ReadLine-Gnu-%{version}
%patch1 -p1

make %{?_smp_mflags}

if perl -E "open(IN,\"</dev/tty\") || die;" ; then
make test || true

make DESTDIR=$RPM_BUILD_ROOT install_vendor


%doc %{_mandir}/man?/*

openSUSE Build Service is sponsored by