c10069
Name:           perl-TermReadKey
c10069
Version:        2.37
c10069
Release:        2%{?dist}
c10069
Summary:        A perl module for simple terminal control
c10069
Group:          Development/Libraries
c10069
License:        (Copyright only) and (Artistic or GPL+)
c10069
URL:            http://search.cpan.org/~jstowe/TermReadKey/
c10069
Source0:        http://www.cpan.org/authors/id/J/JS/JSTOWE/TermReadKey-%{version}.tar.gz
c10069
# Build
c10069
BuildRequires:  coreutils
c10069
BuildRequires:  findutils
c10069
BuildRequires:  make
c10069
BuildRequires:  perl
c10069
BuildRequires:  perl-devel
c10069
BuildRequires:  perl-generators
c10069
BuildRequires:  perl(Carp)
c10069
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
c10069
# Runtime
c10069
BuildRequires:  perl(Config)
c10069
BuildRequires:  perl(Cwd)
c10069
BuildRequires:  perl(DynaLoader)
c10069
BuildRequires:  perl(Exporter)
c10069
BuildRequires:  perl(File::Basename)
c10069
BuildRequires:  perl(File::Spec)
c10069
BuildRequires:  perl(strict)
c10069
BuildRequires:  perl(vars)
c10069
BuildRequires:  perl(warnings)
c10069
# Tests only
c10069
BuildRequires:  perl(Fcntl)
c10069
BuildRequires:  perl(Test::More)
c10069
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
c10069
c10069
%{?perl_default_filter}
c10069
c10069
%description
c10069
Term::ReadKey is a compiled perl module dedicated to providing simple
c10069
control over terminal driver modes (cbreak, raw, cooked, etc.)
c10069
support for non-blocking reads, if the architecture allows, and some
c10069
generalized handy functions for working with terminals.  One of the
c10069
main goals is to have the functions as portable as possible, so you
c10069
can just plug in "use Term::ReadKey" on any architecture and have a
c10069
good likelyhood of it working.
c10069
c10069
%prep
c10069
%setup -q -n TermReadKey-%{version} 
c10069
c10069
%build
c10069
CFLAGS="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
c10069
make %{?_smp_mflags} OPTIMIZE="%{optflags}"
c10069
c10069
%install
c10069
make pure_install DESTDIR=%{buildroot}
c10069
find %{buildroot} -type f -name '*.bs' -a -size 0 -delete
c10069
chmod -R u+w %{buildroot}/*
c10069
c10069
%check
c10069
make test
c10069
c10069
%files
c10069
%doc Changes example README
c10069
%{perl_vendorarch}/*
c10069
%{perl_vendorarch}/auto/*
c10069
%{_mandir}/man3/*
c10069
c10069
%changelog
c10069
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.37-2
c10069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c10069
c10069
* Mon Oct 10 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.37-1
c10069
- 2.37 bump
c10069
c10069
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.33-5
c10069
- Perl 5.24 rebuild
c10069
c10069
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.33-4
c10069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c10069
c10069
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.33-3
c10069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c10069
c10069
* Tue Jun 09 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.33-2
c10069
- Perl 5.22 rebuild
c10069
c10069
* Fri Jun 05 2015 Petr Šabata <contyk@redhat.com> - 2.33-1
c10069
- 2.33 bump
c10069
c10069
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.32-6
c10069
- Perl 5.22 rebuild
c10069
c10069
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.32-5
c10069
- Perl 5.20 rebuild
c10069
c10069
* Mon Aug 18 2014 Petr Šabata <contyk@redhat.com> - 2.32-4
c10069
- Fix FTBFS
c10069
c10069
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.32-3
c10069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c10069
c10069
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.32-2
c10069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c10069
c10069
* Mon May 26 2014 Petr Šabata <contyk@redhat.com> - 2.32-1
c10069
- 2.32 bump
c10069
c10069
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.30-20
c10069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c10069
c10069
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 2.30-19
c10069
- Perl 5.18 rebuild
c10069
c10069
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.30-18
c10069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c10069
c10069
* Tue Aug 21 2012 Petr Pisar <ppisar@redhat.com> - 2.30-17
c10069
- Modernize spec file
c10069
- Specify all dependencies
c10069
- Change license to "(Copyright only) and (Artistic or GPL+)" because of
c10069
  ppport.h
c10069
c10069
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.30-16
c10069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c10069
c10069
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 2.30-15
c10069
- Perl 5.16 rebuild
c10069
c10069
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.30-14
c10069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c10069
c10069
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.30-13
c10069
- Perl mass rebuild
c10069
c10069
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.30-12
c10069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c10069
c10069
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.30-11
c10069
- 661697 rebuild for fixing problems with vendorach/lib
c10069
c10069
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.30-10
c10069
- Mass rebuild with perl-5.12.0
c10069
c10069
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 2.30-9
c10069
- rebuild against perl 5.10.1
c10069
c10069
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.30-8
c10069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c10069
c10069
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.30-7
c10069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c10069
c10069
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.30-6
c10069
- Rebuild for perl 5.10 (again)
c10069
c10069
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.30-5
c10069
- Autorebuild for GCC 4.3
c10069
c10069
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.36-4
c10069
- rebuild for new perl
c10069
c10069
* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 2.30-3
c10069
- fix various issues from package review:
c10069
- remove extra || : from %%check
c10069
- add dist tag to release
c10069
- remove BR: perl
c10069
- fix tabs and spacing
c10069
c10069
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.30-2
c10069
- correct license tag
c10069
- add BR: perl(ExtUtils::MakeMaker)
c10069
c10069
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
c10069
- rebuild
c10069
c10069
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.30-1.2.2
c10069
- bump again for double-long bug on ppc(64)
c10069
c10069
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.30-1.2.1
c10069
- rebuilt for new gcc4.1 snapshot and glibc changes
c10069
c10069
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 2.30-1.2
c10069
- rebuild for new perl-5.8.8
c10069
c10069
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
c10069
- rebuilt for new gcc
c10069
c10069
* Sat Apr 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.30-1
c10069
- Update to 2.30.
c10069
- spec cleanup (#153200)
c10069
c10069
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
c10069
- rebuilt
c10069
c10069
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
c10069
- rebuilt
c10069
c10069
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
c10069
- rebuilt
c10069
c10069
* Tue Jun 17 2003 Chip Turner <cturner@redhat.com> 2.20-12
c10069
- rebuild
c10069
c10069
* Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
c10069
- version bump and rebuild
c10069
c10069
* Wed Nov 20 2002 Chip Turner <cturner@redhat.com>
c10069
- rebuild
c10069
c10069
* Tue Sep 10 2002 Chip Turner <cturner@redhat.com>
c10069
- remove 'make test' as it seems to open a tty and hang
c10069
c10069
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
c10069
- automated release bump and build
c10069
c10069
* Tue Aug  6 2002 Chip Turner <cturner@localhost.localdomain>
c10069
- update to 2.20
c10069
c10069
* Wed Jan 30 2002 cturner@redhat.com
c10069
- Specfile autogenerated
c10069