commit 3c5d6f08b83fa90125d3cfa287563c999b502189 Author: mpaladin <massimo.paladin@xxxxxxxxx> 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@xxxxxxx> 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 -- 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