Blame SPECS/perl-Term-Cap.spec

769c52
%{?scl:%scl_package perl-Term-Cap}
769c52
769c52
Name:           %{?scl_prefix}perl-Term-Cap
769c52
Version:        1.17
769c52
Release:        395%{?dist}
769c52
Summary:        Perl termcap interface
769c52
License:        GPL+ or Artistic
769c52
Group:          Development/Libraries
769c52
URL:            http://search.cpan.org/dist/Term-Cap/
769c52
Source0:        http://www.cpan.org/authors/id/J/JS/JSTOWE/Term-Cap-%{version}.tar.gz
769c52
BuildArch:      noarch
769c52
BuildRequires:  coreutils
769c52
BuildRequires:  findutils
769c52
BuildRequires:  make
769c52
BuildRequires:  %{?scl_prefix}perl-interpreter
769c52
BuildRequires:  %{?scl_prefix}perl-generators
769c52
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker)
769c52
# Run-time:
769c52
# ncurses for infocmp tool
769c52
BuildRequires:  ncurses
769c52
BuildRequires:  %{?scl_prefix}perl(Carp)
769c52
BuildRequires:  %{?scl_prefix}perl(strict)
769c52
BuildRequires:  %{?scl_prefix}perl(vars)
769c52
# Tests:
769c52
BuildRequires:  %{?scl_prefix}perl(Test::More)
769c52
# ncurses for infocmp tool
769c52
Requires:       ncurses
769c52
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
769c52
Requires:       %{?scl_prefix}perl(Carp)
769c52
Conflicts:      %{?scl_prefix}perl < 4:5.22.0-347
769c52
769c52
%description
769c52
These are low-level functions to extract and use capabilities from a terminal
769c52
capability (termcap) database.
769c52
769c52
%prep
769c52
%setup -q -n Term-Cap-%{version}
769c52
769c52
%build
769c52
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
769c52
769c52
%install
769c52
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
769c52
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
769c52
%{_fixperms} $RPM_BUILD_ROOT/*
769c52
769c52
%check
769c52
%{?scl:scl enable %{scl} '}make test%{?scl:'}
769c52
769c52
%files
769c52
%doc LICENSE
769c52
%doc Changes README
769c52
%{perl_vendorlib}/*
769c52
%{_mandir}/man3/*
769c52
769c52
%changelog
769c52
* Mon Dec 18 2017 Petr Pisar <ppisar@redhat.com> - 1.17-395
769c52
- SCL
769c52
769c52
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-394
769c52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
769c52
769c52
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.17-393
769c52
- Perl 5.26 rebuild
769c52
769c52
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-366
769c52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
769c52
769c52
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.17-365
769c52
- Increase release to favour standalone package
769c52
769c52
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-2
769c52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
769c52
769c52
* Wed Aug 26 2015 Petr Pisar <ppisar@redhat.com> - 1.17-1
769c52
- 1.17 bump
769c52
769c52
* Wed Jul 01 2015 Petr Pisar <ppisar@redhat.com> 1.16-1
769c52
- Specfile autogenerated by cpanspec 1.78.