6d77042
Name:           perl-IO-Interactive
3e9bfd6
Version:        1.021
a18c7cb
Release:        2%{?dist}
6d77042
Summary:        Utilities for interactive I/O
a18c7cb
# LICENSE:                  "the same terms as perl itself" and Artistic 2.0
a18c7cb
# license_clarification:    Artistic 2.0 (brian d foy's explanation)
a18c7cb
# lib/IO/Interactive.pm:    "the same terms as Perl itself"
a18c7cb
# IO-Ineractive-1.021 added the ambiguous LICENSE file, because there are
a18c7cb
# still files referring to Perl, but not referring Artistic 2.0, I keep the
a18c7cb
# (GPL+ or Artistic) part in the License tag.
3e9bfd6
# <https://github.com/briandfoy/io-interactive/issues/2>
3e9bfd6
License:        (GPL+ or Artistic) and (Artistic 2.0)
6d77042
Group:          Development/Libraries
6d77042
URL:            http://search.cpan.org/dist/IO-Interactive/
6d77042
Source0:        http://www.cpan.org/authors/id/B/BD/BDFOY/IO-Interactive-%{version}.tar.gz
a18c7cb
Source1:        license_clarification
6d77042
BuildArch:      noarch
3e9bfd6
BuildRequires:  coreutils
3e9bfd6
BuildRequires:  findutils
3e9bfd6
BuildRequires:  make
6d77042
BuildRequires:  perl
3e9bfd6
BuildRequires:  perl(:VERSION) >= 5.8
3e9bfd6
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.64
3e9bfd6
BuildRequires:  perl(File::Spec)
3e9bfd6
BuildRequires:  perl(File::Spec::Functions)
6d77042
BuildRequires:  perl(strict)
3e9bfd6
# Test::Manifest not used
6d77042
BuildRequires:  perl(warnings)
6d77042
# Run-time:
6d77042
BuildRequires:  perl(Carp)
6d77042
BuildRequires:  perl(IO::Handle)
6d77042
# Tests:
3e9bfd6
BuildRequires:  perl(Test::More) >= 0.94
6d77042
# Optional tests:
6d77042
BuildRequires:  perl(Test::Pod) >= 1.14
6d77042
BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
6d77042
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
3e9bfd6
Requires:       perl(Carp)
6d77042
6d77042
%description
6d77042
This module provides utility subroutines that make it easier to develop
6d77042
interactive applications.
6d77042
6d77042
%prep
6d77042
%setup -q -n IO-Interactive-%{version}
a18c7cb
cp %{SOURCE1} .
6d77042
6d77042
%build
6d77042
perl Makefile.PL INSTALLDIRS=vendor
6d77042
make %{?_smp_mflags}
6d77042
6d77042
%install
6d77042
make pure_install DESTDIR=$RPM_BUILD_ROOT
6d77042
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
6d77042
%{_fixperms} $RPM_BUILD_ROOT/*
6d77042
6d77042
%check
6d77042
make test
6d77042
6d77042
%files
3e9bfd6
%license LICENSE
a18c7cb
%doc Changes examples license_clarification README.pod
6d77042
%{perl_vendorlib}/*
6d77042
%{_mandir}/man3/*
6d77042
6d77042
%changelog
a18c7cb
* Fri Jan 29 2016 Petr Pisar <ppisar@redhat.com> - 1.021-2
a18c7cb
- License clarification added
a18c7cb
3e9bfd6
* Thu Jan 28 2016 Petr Pisar <ppisar@redhat.com> - 1.021-1
3e9bfd6
- 1.021 bump
3e9bfd6
- License changed to ((GPL+ or Artistic) and (Artistic 2.0))
3e9bfd6
adef028
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.6-5
adef028
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
adef028
2fee6b6
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.0.6-4
2fee6b6
- Perl 5.22 rebuild
2fee6b6
0c4468e
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.0.6-3
0c4468e
- Perl 5.20 rebuild
0c4468e
e6b106f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.6-2
e6b106f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e6b106f
6d77042
* Thu Mar 27 2014 Petr Pisar <ppisar@redhat.com> 0.0.6-1
6d77042
- Specfile autogenerated by cpanspec 1.78.