]> git.pld-linux.org Git - packages/perl-POE-Component-Logger.git/blame - perl-POE-Component-Logger.spec
- initial, works for me
[packages/perl-POE-Component-Logger.git] / perl-POE-Component-Logger.spec
CommitLineData
e95b98d3
MP
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir POE
7%define pnam Component-Logger
8Summary: perl(POE::Component::Logger)
9Name: perl-POE-Component-Logger
10Version: 1.00
11Release: 0.1
12License: same as perl
13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15URL: poe.perl.org
16BuildRequires: perl-devel >= 1:5.8.0
17BuildRequires: rpm-perlprov >= 4.1-13
18BuildRequires: perl-POE
19%if %{with tests}
20BuildRequires: perl-Log-Dispatch-Config
21%endif
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%define _noautoreq 'perl(anything_fake_or_conditional)'
26
27%description
28POE::Component::Logger, a poe logging class, uses Log::Dispatch::Config
29
30%prep
31%setup -q -n %{pdir}-%{pnam}-%{version}
32
33%build
34%{__perl} Makefile.PL \
35 INSTALLDIRS=vendor
36
37%{__make}
38
39%{?with_tests:%{__make} test}
40
41%install
42rm -rf $RPM_BUILD_ROOT
43
44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
52%doc Changes README
53%{perl_vendorlib}/POE/Component/Logger.pm
54%{_mandir}/man3/*
This page took 0.108805 seconds and 4 git commands to generate.