26a5aa6
Name:           perl-Term-ReadLine-Gnu
1766170
Version:        1.24
3515aa1
Release:        6%{?dist}
26a5aa6
Summary:        Perl extension for the GNU Readline/History Library
26a5aa6
License:        GPL+ or Artistic
26a5aa6
URL:            http://search.cpan.org/dist/Term-ReadLine-Gnu/
26a5aa6
Source0:        http://www.cpan.org/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-%{version}.tar.gz
26a5aa6
BuildRequires:  perl(ExtUtils::MakeMaker)
26a5aa6
BuildRequires:  ncurses-devel
26a5aa6
BuildRequires:  readline-devel >= 2.1
26a5aa6
BuildRequires:  perl >= 5.7
26a5aa6
BuildRequires:  expect
26a5aa6
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
26a5aa6
Emmanuel Seyman 4352927
%{?perl_default_filter}
26a5aa6
26a5aa6
%description
26a5aa6
An implementation of Term::ReadLine using the GNU Readline/History Library.
26a5aa6
26a5aa6
26a5aa6
%prep
e1b4a06
%setup -q -n Term-ReadLine-Gnu-%{version}
26a5aa6
26a5aa6
26a5aa6
%build
26a5aa6
# Fix permissions and shebang paths at one shot
26a5aa6
find . -type f -exec chmod 0664 '{}' \; \
26a5aa6
       -exec sed 's,^#! */usr/local,#!%{_prefix},' -i '{}' \;
26a5aa6
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
26a5aa6
make %{?_smp_mflags}
26a5aa6
26a5aa6
26a5aa6
%install
26a5aa6
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
26a5aa6
26a5aa6
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
26a5aa6
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
26a5aa6
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
26a5aa6
26a5aa6
%{_fixperms} $RPM_BUILD_ROOT
26a5aa6
26a5aa6
%check
26a5aa6
# Expect is used so that we get a PTY, as if we were
26a5aa6
# in a real terminal, where readline works
26a5aa6
expect -c '
26a5aa6
	spawn make test
26a5aa6
	expect eof
26a5aa6
	exit [lindex [wait] 3]
26a5aa6
'
26a5aa6
26a5aa6
26a5aa6
%files
26a5aa6
%doc README
94dd894
%{_bindir}/perlsh
26a5aa6
%{perl_vendorarch}/auto/*
26a5aa6
%{perl_vendorarch}/Term*
94dd894
%{_mandir}/man1/perlsh.1.gz
26a5aa6
%{_mandir}/man3/*
26a5aa6
26a5aa6
26a5aa6
%changelog
3515aa1
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.24-6
3515aa1
- Perl 5.20 rebuild
3515aa1
bfad5b5
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.24-5
bfad5b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
bfad5b5
c0ba6bd
* Tue Jul 22 2014 Petr Pisar <ppisar@redhat.com> - 1.24-4
c0ba6bd
- Revert removal of rl_executing_key and rl_executing_keyseq because readline
c0ba6bd
  library have been fixed (bugs #1112614)
c0ba6bd
452eaa0
* Wed Jul 16 2014 Petr Pisar <ppisar@redhat.com> - 1.24-3
452eaa0
- Cope with removed rl_executing_key and rl_executing_keyseq (bug #1112614)
452eaa0
93b6129
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.24-2
93b6129
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
93b6129
1766170
* Sun Mar 30 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 1.24-1
1766170
- Update to 1.24
1766170
80f4c23
* Sun Mar 23 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 1.23-1
80f4c23
- Update to 1.23
80f4c23
94dd894
* Sun Mar 09 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 1.22-1
94dd894
- Update to 1.22
94dd894
275043a
* Sun Mar 02 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 1.21-1
275043a
- Update to 1.21
275043a
7779440
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-10
7779440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7779440
2e261f3
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.20-9
2e261f3
- Perl 5.18 rebuild
2e261f3
b0b45bd
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-8
b0b45bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b0b45bd
Emmanuel Seyman 4352927
* Sun Oct 28 2012 Emmanuel Seyman <emmanuel@seyman.fr> - 1.20-7
Emmanuel Seyman 4352927
- Clean up spec file
Emmanuel Seyman 4352927
- Add perl default filter
Emmanuel Seyman 4352927
f531e44
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-6
f531e44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f531e44
17ae9a4
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1.20-5
17ae9a4
- Perl 5.16 rebuild
17ae9a4
f70f6bc
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-4
f70f6bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f70f6bc
ff97380
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.20-3
ff97380
- Perl mass rebuild
ff97380
2b58731
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-2
2b58731
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2b58731
79372bc
* Sat Dec 04 2010 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> 1.20-1
79372bc
- Bump to a later release
79372bc
bbb26ae
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.19-4
bbb26ae
- Mass rebuild with perl-5.12.0
bbb26ae
91d3102
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.19-3
91d3102
- rebuild against perl 5.10.1
91d3102
511b585
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-2
511b585
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
511b585
e1b4a06
* Fri May 08 2009 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> 1.19-1
e1b4a06
- New upstream release
e1b4a06
49a661f
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17a-5
49a661f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
49a661f
aa44942
* Wed Jul 02 2008 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> 1.17a-4
aa44942
- Remote the workaround introduced in previous change
aa44942
- Disable Visual Bell test
aa44942
26a5aa6
* Tue Jul 01 2008 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> 1.17a-3
26a5aa6
- Patch around rt#56500 perl bug hoping for better tomorrows
26a5aa6
26a5aa6
* Sat Jun 28 2008 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> 1.17a-2
e1b4a06
- Run the test suite with a pseudo-terminal
26a5aa6
26a5aa6
* Fri Jun 27 2008 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> 1.17a-1
26a5aa6
- Specfile autogenerated by cpanspec 1.75.