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