]> git.pld-linux.org Git - packages/perl-Apache-LogFormat-Compiler.git/blame - perl-Apache-LogFormat-Compiler.spec
- x32 rebuild
[packages/perl-Apache-LogFormat-Compiler.git] / perl-Apache-LogFormat-Compiler.spec
CommitLineData
a2fb4338
ER
1#
2# Conditional build:
3%bcond_without tests # build without tests
4
e1aca193
AM
5%define pdir Apache
6%define pnam LogFormat-Compiler
a2fb4338 7%include /usr/lib/rpm/macros.perl
e1aca193
AM
8Summary: Apache::LogFormat::Compiler - Compile a log format string to perl-code
9Name: perl-Apache-LogFormat-Compiler
10Version: 0.13
81a5de5d 11Release: 2
e1aca193
AM
12License: Artistic
13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15# Source0-md5: fd04ee3f4c2164b7f7909d85f11e467a
a2fb4338 16URL: http://search.cpan.org/dist/Apache-LogFormat-Compiler/
e1aca193
AM
17BuildRequires: perl-devel >= 1:5.8.0
18BuildRequires: rpm-perlprov >= 3.0.3-26
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
a2fb4338 22Compile a log format string to Perl-code. For faster generation of
e1aca193
AM
23access_log lines.
24
25%prep
26%setup -q -n %{pdir}-%{pnam}-%{version}
27
28%build
29%{__perl} Build.PL \
30 destdir=$RPM_BUILD_ROOT \
31 installdirs=vendor
32./Build
33
34%{?with_tests:./Build test}
35
36%install
37rm -rf $RPM_BUILD_ROOT
38
39./Build install
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(644,root,root,755)
46%dir %{perl_vendorlib}/%{pdir}/LogFormat
47%{perl_vendorlib}/%{pdir}/LogFormat/*.pm
48%{_mandir}/man3/*.3*
This page took 0.116938 seconds and 4 git commands to generate.