[perl-Tree-XPathEngine] Initial import (#787199)

Petr Šabata psabata at fedoraproject.org
Fri Feb 3 15:10:22 UTC 2012


commit c9ebac94ae637e748db319cb2af104713f6cccb4
Author: Petr Šabata <contyk at redhat.com>
Date:   Fri Feb 3 16:07:07 2012 +0100

    Initial import (#787199)

 .gitignore                 |    1 +
 perl-Tree-XPathEngine.spec |   45 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d94fdf9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Tree-XPathEngine-0.05.tar.gz
diff --git a/perl-Tree-XPathEngine.spec b/perl-Tree-XPathEngine.spec
new file mode 100644
index 0000000..7d1949f
--- /dev/null
+++ b/perl-Tree-XPathEngine.spec
@@ -0,0 +1,45 @@
+Name:           perl-Tree-XPathEngine
+Version:        0.05
+Release:        1%{?dist}
+Summary:        Re-usable XPath engine
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Tree-XPathEngine/
+Source0:        http://www.cpan.org/authors/id/M/MI/MIROD/Tree-XPathEngine-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(base)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+# Optional tests
+BuildRequires:  perl(Test::Pod) >= 1.14
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module provides an XPath engine, that can be re-used by other
+modules/classes that implement trees.
+
+%prep
+%setup -q -n Tree-XPathEngine-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Feb 03 2012 Petr Šabata <contyk at redhat.com> 0.05-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..36ff2f9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a378a4c7c853b6c20d499b3a4e169efc  Tree-XPathEngine-0.05.tar.gz


More information about the scm-commits mailing list