2006-05-02 12:38:07 +00:00
|
|
|
Name: perl-PPI
|
2006-09-23 09:48:29 +00:00
|
|
|
Version: 1.118
|
2006-09-10 18:23:51 +00:00
|
|
|
Release: 1%{?dist}
|
2006-05-02 12:38:07 +00:00
|
|
|
Summary: Parse, Analyze and Manipulate Perl
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
2007-11-28 18:33:04 +00:00
|
|
|
License: GPL+ or Artistic
|
2006-05-02 12:38:07 +00:00
|
|
|
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(File::Remove) >= 0.22
|
2006-06-04 17:31:33 +00:00
|
|
|
BuildRequires: perl(IO::String) >= 1.07
|
2006-05-02 12:38:07 +00:00
|
|
|
BuildRequires: perl(List::MoreUtils) >= 0.13
|
|
|
|
BuildRequires: perl(Params::Util) >= 0.10
|
|
|
|
BuildRequires: perl(Test::ClassAPI) >= 1.02
|
|
|
|
BuildRequires: perl(Test::SubCalls) >= 0.01
|
2006-09-10 18:23:51 +00:00
|
|
|
BuildRequires: perl(Test::Object) >= 0.06
|
2006-05-02 12:38:07 +00:00
|
|
|
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}
|
2006-09-10 18:23:51 +00:00
|
|
|
chmod -c 644 lib/PPI/Document/File.pm
|
2006-05-02 12:38:07 +00:00
|
|
|
|
|
|
|
%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
|
2006-09-23 09:48:29 +00:00
|
|
|
* Sat Sep 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.118-1
|
|
|
|
- Update to 1.118.
|
|
|
|
|
2006-09-10 18:23:51 +00:00
|
|
|
* Wed Sep 6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.117-1
|
|
|
|
- Update to 1.117.
|
|
|
|
|
2006-06-04 17:43:48 +00:00
|
|
|
* Sun Jun 4 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.115-2
|
|
|
|
- Removed the perl(IO::Scalar) build requirement.
|
|
|
|
|
2006-06-04 17:31:33 +00:00
|
|
|
* Sun Jun 4 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.115-1
|
|
|
|
- Update to 1.115.
|
|
|
|
|
2006-05-10 12:00:03 +00:00
|
|
|
* Wed May 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.113-1
|
|
|
|
- Update to 1.113.
|
|
|
|
|
2006-05-02 12:38:07 +00:00
|
|
|
* 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.
|