|
|
368019 |
Name: perl-XML-SAX-Base
|
|
|
368019 |
Version: 1.08
|
|
|
368019 |
Release: 6%{?dist}
|
|
|
368019 |
Summary: Base class SAX drivers and filters
|
|
|
368019 |
License: GPL+ or Artistic
|
|
|
368019 |
Group: Development/Libraries
|
|
|
368019 |
URL: http://search.cpan.org/dist/XML-SAX-Base/
|
|
|
368019 |
Source0: http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-%{version}.tar.gz
|
|
|
368019 |
BuildArch: noarch
|
|
|
368019 |
BuildRequires: perl(base)
|
|
|
368019 |
BuildRequires: perl(Carp)
|
|
|
368019 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
368019 |
BuildRequires: perl(Test)
|
|
|
368019 |
BuildRequires: perl(Test::More) >= 0.88
|
|
|
368019 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
368019 |
Conflicts: perl-XML-SAX < 0.99-1
|
|
|
368019 |
|
|
|
368019 |
%description
|
|
|
368019 |
This module has a very simple task - to be a base class for Perl SAX drivers
|
|
|
368019 |
and filters. It's default behaviour is to pass the input directly to the
|
|
|
368019 |
output unchanged. It can be useful to use this module as a base class so
|
|
|
368019 |
you don't have to, for example, implement the characters() callback.
|
|
|
368019 |
|
|
|
368019 |
%prep
|
|
|
368019 |
%setup -q -n XML-SAX-Base-%{version}
|
|
|
368019 |
|
|
|
368019 |
%build
|
|
|
368019 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
368019 |
make %{?_smp_mflags}
|
|
|
368019 |
|
|
|
368019 |
%install
|
|
|
368019 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
368019 |
|
|
|
368019 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
368019 |
|
|
|
368019 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
368019 |
|
|
|
368019 |
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
|
|
|
368019 |
mv $RPM_BUILD_ROOT/%{perl_vendorlib}/XML/SAX/BuildSAXBase.pl $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
|
|
|
368019 |
|
|
|
368019 |
%check
|
|
|
368019 |
make test
|
|
|
368019 |
|
|
|
368019 |
%files
|
|
|
368019 |
%doc Changes META.json README BuildSAXBase.pl
|
|
|
368019 |
%{perl_vendorlib}/*
|
|
|
368019 |
%{_mandir}/man3/*
|
|
|
368019 |
|
|
|
368019 |
%changelog
|
|
|
368019 |
* Tue Nov 22 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.08-6
|
|
|
368019 |
- Update dependencies
|
|
|
368019 |
- Replace PERL_INSTALL_ROOT with DESTDIR
|
|
|
368019 |
- Update description and summary
|
|
|
368019 |
- Remove deleting empty directories
|
|
|
368019 |
- Remove dist.ini from %%doc
|
|
|
368019 |
|
|
|
368019 |
* Mon Aug 27 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.08-5
|
|
|
368019 |
- Specify all dependencies.
|
|
|
368019 |
|
|
|
368019 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-4
|
|
|
368019 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
368019 |
|
|
|
368019 |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.08-3
|
|
|
368019 |
- Perl 5.16 rebuild
|
|
|
368019 |
|
|
|
368019 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-2
|
|
|
368019 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
368019 |
|
|
|
368019 |
* Fri Oct 07 2011 Marcela Mašláňová <mmaslano@redhat.com> 1.08-1
|
|
|
368019 |
- Specfile autogenerated by cpanspec 1.78.
|