Sophie

Sophie

distrib > Fedora > 17 > x86_64 > by-pkgid > 01b684e411321d61648a44a0399cc26a > files > 2

perl-Config-ApacheFormat-1.2-1.fc17.src.rpm

Name:		perl-Config-ApacheFormat
Version:	1.2
Release:	1%{?dist}
Summary:	Use Apache format config files

Group:		Development/Libraries
License:	GPL+ or Artistic
URL:		http://search.cpan.org/dist/Config-ApacheFormat
Source0:	http://search.cpan.org/CPAN/authors/id/S/SA/SAMTREGAR/Config-ApacheFormat-%{version}.tar.gz


BuildArch:	noarch
BuildRequires:	perl(ExtUtils::MakeMaker)
BuildRequires:	perl(Scalar::Util)
BuildRequires:	perl(Test::More)
BuildRequires:	perl(File::Spec)
BuildRequires:	perl(Carp)
BuildRequires:	perl(Class::MethodMaker)
BuildRequires:	perl(Text::Balanced)


Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# (Data::Dumper is used only in runtime, not in tests)
Requires:	perl(Data::Dumper)



%description
This module is designed to parse a configuration file in the same syntax used by
the Apache web server (see http://httpd.apache.org for details). This allows you
to build applications which can be easily managed by experienced Apache admins.
Also, by using this module, you'll benefit from the support for nested blocks
with built-in parameter inheritance. This can greatly reduce the amount or
repeated information in your configuration files.


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


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


%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}/*


%check
make test


%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*


%changelog
* Wed Jan 23 2013 Normunds Neimanis <fedorapkg at rule.lv> 1.2-1
- Package for current Fedora