Initial build.

This commit is contained in:
Marcela Mašláňová 2011-10-14 14:05:08 +02:00
parent 9a2ba924c9
commit 48205a8c5e
3 changed files with 51 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/XML-SAX-Base-1.08.tar.gz

49
perl-XML-SAX-Base.spec Normal file
View File

@ -0,0 +1,49 @@
Name: perl-XML-SAX-Base
Version: 1.08
Release: 1%{?dist}
Summary: Base class SAX Drivers and Filters
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/XML-SAX-Base/
Source0: http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Conflicts: perl-XML-SAX < 0.99-1
%description
This module has a very simple task - to be a base class for PerlSAX drivers
and filters. It's default behaviour is to pass the input directly to the
output unchanged. It can be useful to use this module as a base class so
you don't have to, for example, implement the characters() callback.
%prep
%setup -q -n XML-SAX-Base-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
mv $RPM_BUILD_ROOT/%{perl_vendorlib}/XML/SAX/BuildSAXBase.pl $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
%check
make test
%files
%doc Changes dist.ini META.json README BuildSAXBase.pl
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Oct 07 2011 Marcela Mašláňová <mmaslano@redhat.com> 1.08-1
- Specfile autogenerated by cpanspec 1.78.

View File

@ -0,0 +1 @@
38c8c3247dfd080712596118d70dbe32 XML-SAX-Base-1.08.tar.gz