1 %include /usr/lib/rpm/macros.perl
3 %define pnam LogFormat-Compiler
5 Summary: Apache::LogFormat::Compiler - Compile a log format string to perl-code
6 Name: perl-Apache-LogFormat-Compiler
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)
18 Compile a log format string to perl-code. For faster generation of
22 %setup -q -n %{pdir}-%{pnam}-%{version}
26 destdir=$RPM_BUILD_ROOT \
30 %{?with_tests:./Build test}
33 rm -rf $RPM_BUILD_ROOT
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
42 %dir %{perl_vendorlib}/%{pdir}/LogFormat
43 %{perl_vendorlib}/%{pdir}/LogFormat/*.pm