[packages/perl-Apache-LogFormat-Compiler] - initial
arekm
arekm at pld-linux.org
Thu Oct 10 12:51:08 CEST 2013
commit e1aca1936abbca8003d1e9ca65ea8a9b40f05c36
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Oct 10 12:50:56 2013 +0200
- initial
perl-Apache-LogFormat-Compiler.spec | 44 +++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
---
diff --git a/perl-Apache-LogFormat-Compiler.spec b/perl-Apache-LogFormat-Compiler.spec
new file mode 100644
index 0000000..eb8ee2a
--- /dev/null
+++ b/perl-Apache-LogFormat-Compiler.spec
@@ -0,0 +1,44 @@
+%include /usr/lib/rpm/macros.perl
+%define pdir Apache
+%define pnam LogFormat-Compiler
+%bcond_without tests
+Summary: Apache::LogFormat::Compiler - Compile a log format string to perl-code
+Name: perl-Apache-LogFormat-Compiler
+Version: 0.13
+Release: 1
+License: Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: fd04ee3f4c2164b7f7909d85f11e467a
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 3.0.3-26
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Compile a log format string to perl-code. For faster generation of
+access_log lines.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+ destdir=$RPM_BUILD_ROOT \
+ installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{perl_vendorlib}/%{pdir}/LogFormat
+%{perl_vendorlib}/%{pdir}/LogFormat/*.pm
+%{_mandir}/man3/*.3*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Apache-LogFormat-Compiler.git/commitdiff/e1aca1936abbca8003d1e9ca65ea8a9b40f05c36
More information about the pld-cvs-commit
mailing list