]> git.pld-linux.org Git - packages/perl-Log-Dispatch-Config.git/blame - perl-Log-Dispatch-Config.spec
- tabs in preamble
[packages/perl-Log-Dispatch-Config.git] / perl-Log-Dispatch-Config.spec
CommitLineData
e977dbe9 1#
2# Conditional build:
3%bcond_without tests # do not perform "./Build test"
4#
5%include /usr/lib/rpm/macros.perl
c1321356 6%define pdir Log
7%define pnam Dispatch-Config
e977dbe9 8Summary: Log::Dispatch::Config - Log4j for Perl
915e1331 9Summary(pl.UTF-8): Log::Dispatch::Config - Log4j dla Perla
e977dbe9 10Name: perl-Log-Dispatch-Config
11Version: 1.01
58018c8f 12Release: 2
e977dbe9 13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17# Source0-md5: 9d9b7b5d3426819e6b6e14e91b867242
2c512d32 18BuildRequires: perl-devel >= 1:5.8.0
e977dbe9 19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
21BuildRequires: perl-AppConfig >= 1.52
22BuildRequires: perl-IO-stringy
23BuildRequires: perl-Log-Dispatch >= 2.00
24%endif
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29Log::Dispatch::Config is a subclass of Log::Dispatch and provides a
30way to configure Log::Dispatch object with configuration file
31(default, in AppConfig format). I mean, this is log4j for Perl, not
32with all API compatibility though.
33
3e9cb3d5
JR
34%description -l pl.UTF-8
35Log::Dispatch::Config jest to podklasa Log::Dispatch udostępniająca
36metodę konfiguracji obiektu Log::Dispatch za pomocą pliku
37konfiguracyjnego (domyślnie w formacie AppConfig). Oznacza to, że jest
607a51cf 38to log4j dla Perla, nie koniecznie zgodne ze wszystkimi API.
e977dbe9 39
40%prep
41%setup -q -n %{pdir}-%{pnam}-%{version}
42
43%build
44%{__perl} Makefile.PL \
45 INSTALLDIRS=vendor
46%{__make}
47
48%{?with_tests:%{__make} test}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc Changes
62%{perl_vendorlib}/Log/Dispatch/*
63%{_mandir}/man3/*
This page took 0.058986 seconds and 4 git commands to generate.