auto-import perl-PPI-1.112-1 on branch devel from perl-PPI-1.112-1.src.rpm

This commit is contained in:
Jose Pedro Oliveira 2006-05-02 12:38:07 +00:00
parent da4d3049ce
commit 3dc2ba81f9
3 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1 @@
PPI-1.112.tar.gz

68
perl-PPI.spec Normal file
View File

@ -0,0 +1,68 @@
Name: perl-PPI
Version: 1.112
Release: 1%{?dist}
Summary: Parse, Analyze and Manipulate Perl
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/PPI/
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/PPI-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Perl core modules
BuildRequires: perl(List::Util) >= 1.17
BuildRequires: perl(Storable) >= 2.14
# CPAN modules
BuildRequires: perl(Clone) >= 0.17
BuildRequires: perl(IO::Scalar) >= 2.105
BuildRequires: perl(File::Remove) >= 0.22
BuildRequires: perl(List::MoreUtils) >= 0.13
BuildRequires: perl(Params::Util) >= 0.10
BuildRequires: perl(Test::ClassAPI) >= 1.02
BuildRequires: perl(Test::SubCalls) >= 0.01
BuildRequires: perl(Test::Pod) >= 1.00
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Parse, Analyze and Manipulate Perl (without perl).
%prep
%setup -q -n PPI-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README inline2test.conf inline2test.tpl
%{perl_vendorlib}/PPI*
%{_mandir}/man3/*.3pm*
%changelog
* Tue Apr 25 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.112-1
- Update to 1.112.
* Sat Apr 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.111-1
- First build.

View File

@ -0,0 +1 @@
a629d953e0002813061c4308c64993f6 PPI-1.112.tar.gz