Blob Blame History Raw
Name:           perl-Config-Generator
Version:        0.5
Release:        1%{?dist}
Summary:        Shared variables for the Config::Generator modules
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Config-Generator/
Source0:        http://www.cpan.org/authors/id/L/LC/LCONS/Config-Generator-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(Config::General)
BuildRequires:  perl(Config::Validator)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(JSON)
BuildRequires:  perl(No::Worries)
BuildRequires:  perl(Params::Validate)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(XML::Parser)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module contains all the global variables used by the
Config::Generator modules.

%prep
%setup -q -n Config-Generator-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

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/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README VERSION
%{perl_vendorlib}/*
%{_bindir}/yacg
%{_mandir}/man1/*
%{_mandir}/man3/*

%changelog
* Thu Feb 20 2014 Alexandre Beche <alexandre.beche@gmail.com> 0.5-1
- Specfile autogenerated by cpanspec 1.78.