Chris Weyl c2f5471
Name:       perl-rpm-build-perl 
58e7342
Version:    0.82
3878da6
Release:    2%{?dist}
b831af9
# README: GPLv2+
b831af9
# perl.prov: LGPLv2+
Chris Weyl c2f5471
License:    GPLv2+
Chris Weyl c2f5471
Group:      Development/Libraries
b831af9
Summary:    Perl compiler back-end to extract Perl dependencies 
Chris Weyl c2f5471
Url:        http://search.cpan.org/dist/rpm-build-perl
b831af9
Source:     http://search.cpan.org/CPAN/authors/id/A/AT/ATOURBIN/rpm-build-perl-%{version}.tar.gz 
b831af9
BuildRequires:  perl(ExtUtils::MakeMaker) 
b831af9
# Run-time
b831af9
BuildRequires:  perl(B)
b831af9
BuildRequires:  perl(Carp)
b831af9
BuildRequires:  perl(constant)
b831af9
BuildRequires:  perl(Encode)
b831af9
BuildRequires:  perl(Exporter)
b831af9
BuildRequires:  perl(File::Spec::Functions)
b831af9
BuildRequires:  perl(version)
58e7342
BuildRequires:  perl(XSLoader)
b831af9
# Tests
b1017c2
BuildRequires:  perl(Data::Dumper)
b831af9
BuildRequires:  perl(Test::More)
b831af9
BuildRequires:  perl(Try::Tiny)
b831af9
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
b831af9
Requires:       perl(Carp)
b831af9
Requires:       perl(Encode)
b831af9
Requires:       perl(version)
b831af9
58e7342
%{?perl_default_filter}
58e7342
b831af9
# Do not export private modules
b831af9
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(fake\\)
Chris Weyl c2f5471
Chris Weyl c2f5471
%description
b831af9
B::PerlReq is a back-end module for the Perl compiler that extracts
Chris Weyl c2f5471
dependencies from Perl source code, based on the internal compiled
Chris Weyl c2f5471
structure that Perl itself creates after parsing a program. The output of
Chris Weyl c2f5471
B::PerlReq is suitable for automatic dependency tracking (e.g. for RPM
Chris Weyl c2f5471
packaging).
Chris Weyl c2f5471
Chris Weyl c2f5471
%package scripts
Chris Weyl c2f5471
Summary:    Perl RPM prov/req scripts
Chris Weyl c2f5471
Group:      Development/Libraries
58e7342
BuildArch:  noarch
Chris Weyl c2f5471
Requires:   %{name} = %{version}-%{release}
Chris Weyl c2f5471
Chris Weyl c2f5471
%description scripts
Chris Weyl c2f5471
The provides/requires scripts packaged along with perl-rpm-build-perl.
Chris Weyl c2f5471
Chris Weyl c2f5471
%prep
Chris Weyl c2f5471
%setup -q -n rpm-build-perl-%{version}
Chris Weyl c2f5471
Chris Weyl c2f5471
%build
Chris Weyl c2f5471
%{__perl} Makefile.PL INSTALLDIRS=vendor
Chris Weyl c2f5471
make %{?_smp_mflags}
Chris Weyl c2f5471
Chris Weyl c2f5471
%install
58e7342
make pure_install DESTDIR=%{buildroot}
Chris Weyl c2f5471
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
Chris Weyl c2f5471
%{_fixperms} %{buildroot}/*
Chris Weyl c2f5471
Chris Weyl c2f5471
%check
Chris Weyl c2f5471
make test
Chris Weyl c2f5471
Chris Weyl c2f5471
%files
Chris Weyl c2f5471
%doc README* Changes perl5-alt-rpm-macros macros.env
58e7342
%{perl_vendorarch}/*
Chris Weyl c2f5471
%{_mandir}/man3/*.3*
Chris Weyl c2f5471
Chris Weyl c2f5471
%files scripts
Chris Weyl c2f5471
%{_bindir}/*
Chris Weyl c2f5471
%{_mandir}/man1/*.1*
Chris Weyl c2f5471
Chris Weyl c2f5471
%changelog
3878da6
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-2
3878da6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3878da6
58e7342
* Mon Oct 01 2012 Petr Pisar <ppisar@redhat.com> - 0.82-1
58e7342
- 0.82 bump
58e7342
8fb2d28
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-3
8fb2d28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8fb2d28
6c34473
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.80-2
6c34473
- Perl 5.16 rebuild
b1017c2
- Specify all dependencies
ae94465
- Adapt tests to perl 5.16 (RT #77778)
6c34473
b831af9
* Fri Jan 27 2012 Petr Pisar <ppisar@redhat.com> - 0.80-1
b831af9
- 0.80 bump
b831af9
8975a3e
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.74-2
8975a3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8975a3e
f7df317
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.74-1
2b15009
- update to 0.74, clean spec, fix tests for 5.14.1
f7df317
963f0da
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.72-4
963f0da
- Perl mass rebuild
963f0da
6fc6676
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.72-3
6fc6676
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6fc6676
d3195a5
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.72-2
d3195a5
- 661697 rebuild for fixing problems with vendorach/lib
d3195a5
07cbabb
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.72-1
07cbabb
- Mass rebuild with perl-5.12.0 & update
391e36f
3b0de5d
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.6.8-4
3b0de5d
- rebuild against perl 5.10.1
3b0de5d
9c5d62c
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-3
9c5d62c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9c5d62c
f92e9de
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-2
f92e9de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f92e9de
Chris Weyl c2f5471
* Wed Nov 19 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.6.8-1
Chris Weyl c2f5471
- update for submission
Chris Weyl c2f5471
- split scripts off into their own package
Chris Weyl c2f5471
Chris Weyl c2f5471
* Tue Nov 18 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.6.8-0.1
Chris Weyl c2f5471
- initial RPM packaging
Chris Weyl c2f5471
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)