%{?scl:%scl_package perl-IPC-SysV}
Name: %{?scl_prefix}perl-IPC-SysV
Version: 2.07
Release: 4%{?dist}
Summary: Object interface to System V IPC
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/IPC-SysV/
Source0: http://www.cpan.org/authors/id/M/MH/MHX/IPC-SysV-%{version}.tar.gz
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: %{?scl_prefix}perl
BuildRequires: %{?scl_prefix}perl-devel
BuildRequires: %{?scl_prefix}perl-generators
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker)
BuildRequires: %{?scl_prefix}perl(strict)
# Run-time:
BuildRequires: %{?scl_prefix}perl(Carp)
BuildRequires: %{?scl_prefix}perl(Class::Struct)
BuildRequires: %{?scl_prefix}perl(Config)
BuildRequires: %{?scl_prefix}perl(DynaLoader)
BuildRequires: %{?scl_prefix}perl(Exporter)
BuildRequires: %{?scl_prefix}perl(vars)
# Tests:
BuildRequires: %{?scl_prefix}perl(Test::More) >= 0.45
# Optional tests:
%if !%{defined perl_bootstrap} && !%{defined perl_small}
BuildRequires: %{?scl_prefix}perl(Pod::Coverage) >= 0.10
BuildRequires: %{?scl_prefix}perl(Test::Pod) >= 0.95
BuildRequires: %{?scl_prefix}perl(Test::Pod::Coverage) >= 1.08
%endif
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
Requires: %{?scl_prefix}perl(DynaLoader)
Conflicts: %{?scl_prefix}perl < 4:5.22.0-351
%{?perl_default_filter}
%description
This is an object interface for System V messages, semaphores, and
inter-process calls.
%prep
%setup -q -n IPC-SysV-%{version}
%build
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" && make %{?_smp_mflags}%{?scl:'}
%install
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
find $RPM_BUILD_ROOT -type f -name .packlist -delete
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
%{?scl:scl enable %{scl} '}make test%{?scl:'}
%files
%doc Changes README TODO
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/IPC*
%{_mandir}/man3/*
%changelog
* Mon Jul 11 2016 Petr Pisar <ppisar@redhat.com> - 2.07-4
- SCL
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.07-3
- Perl 5.24 re-rebuild of bootstrapped packages
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.07-2
- Perl 5.24 rebuild
* Tue May 10 2016 Petr Pisar <ppisar@redhat.com> - 2.07-1
- 2.07 bump
* Mon Feb 29 2016 Petr Pisar <ppisar@redhat.com> - 2.06-1
- 2.06 bump
* Mon Feb 15 2016 Petr Pisar <ppisar@redhat.com> 2.05-1
- Specfile autogenerated by cpanspec 1.78.