]> git.pld-linux.org Git - packages/perl-Apache-LogFormat-Compiler.git/commitdiff
- initial auto/th/perl-Apache-LogFormat-Compiler-0.13-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 10 Oct 2013 10:50:56 +0000 (12:50 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 10 Oct 2013 10:50:56 +0000 (12:50 +0200)
perl-Apache-LogFormat-Compiler.spec [new file with mode: 0644]

diff --git a/perl-Apache-LogFormat-Compiler.spec b/perl-Apache-LogFormat-Compiler.spec
new file mode 100644 (file)
index 0000000..eb8ee2a
--- /dev/null
@@ -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*
This page took 0.082166 seconds and 4 git commands to generate.