[perl-Apache-LogFormat-Compiler] Initial import (#1008300).

corsepiu corsepiu at fedoraproject.org
Tue Sep 17 16:03:19 UTC 2013


commit 84cd9fd03525b1434a271a576e2c4f3cc31f31f2
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Tue Sep 17 18:03:04 2013 +0200

    Initial import (#1008300).

 .gitignore                          |    1 +
 perl-Apache-LogFormat-Compiler.spec |   53 +++++++++++++++++++++++++++++++++++
 sources                             |    1 +
 3 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2d842a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Apache-LogFormat-Compiler-0.13.tar.gz
diff --git a/perl-Apache-LogFormat-Compiler.spec b/perl-Apache-LogFormat-Compiler.spec
new file mode 100644
index 0000000..bbcfdad
--- /dev/null
+++ b/perl-Apache-LogFormat-Compiler.spec
@@ -0,0 +1,53 @@
+Name:           perl-Apache-LogFormat-Compiler
+Version:        0.13
+Release:        1%{?dist}
+Summary:        Compile a log format string to perl-code
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Apache-LogFormat-Compiler/
+Source0:        http://www.cpan.org/authors/id/K/KA/KAZEBURO/Apache-LogFormat-Compiler-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl >= 0:5.008005
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(HTTP::Request::Common)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More) >= 0.98
+BuildRequires:  perl(Test::Requires)
+BuildRequires:  perl(Try::Tiny) >= 0.12
+BuildRequires:  perl(URI::Escape) >= 1.60
+BuildRequires:  perl(Time::Local)
+BuildRequires:  perl(warnings)
+
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Compile a log format string to perl-code. For faster generation of
+access_log lines.
+
+%prep
+%setup -q -n Apache-LogFormat-Compiler-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc Changes LICENSE
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Sep 16 2013 Ralf Corsépius <corsepiu at fedoraproject.org> 0.13-1
+- Initial fedora package.
diff --git a/sources b/sources
index e69de29..4bb3778 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fd04ee3f4c2164b7f7909d85f11e467a  Apache-LogFormat-Compiler-0.13.tar.gz


More information about the scm-commits mailing list