[perl-XML-SAX-Base] Initial build.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 48205a8c5eb121a938922160ee5b68a1495deecd
Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx>
Date:   Fri Oct 14 14:05:08 2011 +0200

    Initial build.

 .gitignore             |    1 +
 perl-XML-SAX-Base.spec |   49 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..204abae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/XML-SAX-Base-1.08.tar.gz
diff --git a/perl-XML-SAX-Base.spec b/perl-XML-SAX-Base.spec
new file mode 100644
index 0000000..c48e7cd
--- /dev/null
+++ b/perl-XML-SAX-Base.spec
@@ -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@xxxxxxxxxx> 1.08-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..eb4af83 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+38c8c3247dfd080712596118d70dbe32  XML-SAX-Base-1.08.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux