commit f6073a8f36c6a82de074485744cb7feffe76f3c0 Author: Normunds Neimanis <fedorapkg,lv> Date: Fri Feb 15 16:09:14 2013 +0200 Initial import (#904328). .gitignore | 1 + perl-Config-ApacheFormat.spec | 64 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 66 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..d75c1bf 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Config-ApacheFormat-1.2.tar.gz diff --git a/perl-Config-ApacheFormat.spec b/perl-Config-ApacheFormat.spec new file mode 100644 index 0000000..3e29d31 --- /dev/null +++ b/perl-Config-ApacheFormat.spec @@ -0,0 +1,64 @@ +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 diff --git a/sources b/sources index e69de29..c4e8228 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3fea1c5a44f2b73a44cef830dbacce5e Config-ApacheFormat-1.2.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