[perl-Config-Validator] Initial import (#798254).

mpaladin mpaladin at fedoraproject.org
Mon Mar 19 15:42:13 UTC 2012


commit 3c5d6f08b83fa90125d3cfa287563c999b502189
Author: mpaladin <massimo.paladin at gmail.com>
Date:   Mon Mar 19 16:41:52 2012 +0100

    Initial import (#798254).

 .gitignore                 |    1 +
 perl-Config-Validator.spec |   56 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d164d25 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Config-Validator-0.3.tar.gz
diff --git a/perl-Config-Validator.spec b/perl-Config-Validator.spec
new file mode 100644
index 0000000..a8721fd
--- /dev/null
+++ b/perl-Config-Validator.spec
@@ -0,0 +1,56 @@
+Name:           perl-Config-Validator
+Version:        0.3
+Release:        1%{?dist}
+Summary:        Schema based configuration validation
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Config-Validator/
+Source0:        http://search.cpan.org/CPAN/authors/id/L/LC/LCONS/Config-Validator-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Pod::Coverage) >= 0.18
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod) >= 1.22
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
+BuildRequires:  perl(URI::Escape)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module allows to perform schema based configuration validation.
+
+%prep
+%setup -q -n Config-Validator-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install DESTDIR=$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/*
+
+%check
+make test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README eg
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Feb 28 2012 Lionel Cons <lionel.cons at cern.ch> 0.3-1%{?dist}
+- Specfile autogenerated by cpanspec 1.78 and cleaned.
diff --git a/sources b/sources
index e69de29..3f856ce 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+166eb178a709e890853b3e08aa272c88  Config-Validator-0.3.tar.gz



More information about the perl-devel mailing list