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