diff --git a/.perl-XML-SAX-Base.metadata b/.perl-XML-SAX-Base.metadata new file mode 100644 index 0000000..1d83835 --- /dev/null +++ b/.perl-XML-SAX-Base.metadata @@ -0,0 +1 @@ +5ae6a06e465daa65e1a69d1a6977299084fe9aef SOURCES/XML-SAX-Base-1.08.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-XML-SAX-Base.spec b/SPECS/perl-XML-SAX-Base.spec new file mode 100644 index 0000000..7963b31 --- /dev/null +++ b/SPECS/perl-XML-SAX-Base.spec @@ -0,0 +1,70 @@ +Name: perl-XML-SAX-Base +Version: 1.08 +Release: 6%{?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(base) +BuildRequires: perl(Carp) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test) +BuildRequires: perl(Test::More) >= 0.88 +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 Perl SAX 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 DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_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 META.json README BuildSAXBase.pl +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Nov 22 2012 Jitka Plesnikova - 1.08-6 +- Update dependencies +- Replace PERL_INSTALL_ROOT with DESTDIR +- Update description and summary +- Remove deleting empty directories +- Remove dist.ini from %%doc + +* Mon Aug 27 2012 Jitka Plesnikova - 1.08-5 +- Specify all dependencies. + +* Fri Jul 20 2012 Fedora Release Engineering - 1.08-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 11 2012 Petr Pisar - 1.08-3 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.08-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Oct 07 2011 Marcela Mašláňová 1.08-1 +- Specfile autogenerated by cpanspec 1.78.