]> git.pld-linux.org Git - packages/perl-POE-Component-Logger.git/blob - perl-POE-Component-Logger.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-POE-Component-Logger.git] / perl-POE-Component-Logger.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    POE
6 %define         pnam    Component-Logger
7 Summary:        POE::Component::Logger - a POE logging class
8 Summary(pl.UTF-8):      POE::Component::Logger - klasa logująca dla POE
9 Name:           perl-POE-Component-Logger
10 Version:        1.00
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  b36cfad2d2d446103cbcf671270681ff
17 URL:            http://poe.perl.org/
18 BuildRequires:  perl-POE
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 %if %{with tests}
22 BuildRequires:  perl-Log-Dispatch-Config
23 %endif
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 A highly flexible logger component for POE that uses Log::Dispatch and
29 Log::Dispatch::Config for ultimate flexibility and power.
30
31 %description -l pl.UTF-8
32 Bardzo elastyczny komponent logujący dla POE, używający Log::Dispatch
33 i Log::Dispatch::Config dla maksymalnej elastyczności i mocy.
34
35 %prep
36 %setup -q -n %{pdir}-%{pnam}-%{version}
37
38 %build
39 %{__perl} Makefile.PL \
40         INSTALLDIRS=vendor
41
42 %{__make}
43
44 %{?with_tests:%{__make} test}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Changes README
58 %{perl_vendorlib}/POE/Component/Logger.pm
59 %{_mandir}/man3/*
This page took 0.12479 seconds and 4 git commands to generate.