Christopher Meng 756a4f9
%global pkgname Log-Handler
Christopher Meng 756a4f9
Christopher Meng 22ff536
Name:           perl-Log-Handler
2667f55
Version:        0.88
aebdaac
Release:        7%{?dist}
Christopher Meng 756a4f9
Summary:        Log messages to several outputs
Christopher Meng 756a4f9
License:        GPL+ or Artistic
62727fa
Url:            https://metacpan.org/release/Log-Handler
62727fa
Source0:        https://cpan.metacpan.org/modules/by-module/Log/%{pkgname}-%{version}.tar.gz
59a84d1
BuildRequires:  coreutils
59a84d1
BuildRequires:  make
03fede9
BuildRequires:  perl-interpreter
f2ca229
BuildRequires:  perl-generators
2667f55
BuildRequires:  perl(base)
Christopher Meng 756a4f9
BuildRequires:  perl(Carp)
59a84d1
BuildRequires:  perl(Config::General)
59a84d1
BuildRequires:  perl(Config::Properties)
59a84d1
BuildRequires:  perl(constant)
Christopher Meng 756a4f9
BuildRequires:  perl(Data::Dumper)
bc13f88
BuildRequires:  perl(DBI)
2667f55
BuildRequires:  perl(Email::Date)
Christopher Meng 756a4f9
BuildRequires:  perl(ExtUtils::MakeMaker)
Christopher Meng 756a4f9
BuildRequires:  perl(Fcntl)
Christopher Meng 756a4f9
BuildRequires:  perl(File::Spec)
2667f55
# IO::Socket::INET
2667f55
BuildRequires:  perl(Net::SMTP)
Christopher Meng 756a4f9
BuildRequires:  perl(Params::Validate)
2667f55
BuildRequires:  perl(POSIX)
59a84d1
BuildRequires:  perl(strict)
Christopher Meng 756a4f9
BuildRequires:  perl(Sys::Hostname)
Christopher Meng 756a4f9
BuildRequires:  perl(Time::HiRes)
Christopher Meng 756a4f9
BuildRequires:  perl(UNIVERSAL)
59a84d1
BuildRequires:  perl(warnings)
2667f55
# YAML
2667f55
# Tests only
2667f55
BuildRequires:  perl(Test::More)
Christopher Meng 756a4f9
BuildRequires:  perl(Test::Pod)
Christopher Meng 756a4f9
BuildRequires:  perl(Test::Pod::Coverage)
2667f55
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Christopher Meng 756a4f9
BuildArch:      noarch
Christopher Meng 756a4f9
59a84d1
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_docdir}/
59a84d1
Christopher Meng 756a4f9
%description
Christopher Meng 756a4f9
This module is a object oriented handler for logging, tracing and debugging. 
Christopher Meng 756a4f9
It is very easy to use and provides a simple interface for multiple output 
Christopher Meng 756a4f9
objects with lots of configuration parameters. You can easily filter the 
Christopher Meng 756a4f9
amount of logged information on a per-output base, define priorities, create 
Christopher Meng 756a4f9
patterns to format the messages and reload the complete logging machine.
Christopher Meng 756a4f9
Christopher Meng 756a4f9
%prep
Christopher Meng 756a4f9
%setup -qn %{pkgname}-%{version} 
Christopher Meng 756a4f9
Christopher Meng 756a4f9
%build
2667f55
perl Makefile.PL NO_PERLLOCAL=1 NO_PACKLIST=1 INSTALLDIRS=vendor
4840266
%make_build
Christopher Meng 756a4f9
Christopher Meng 756a4f9
%install
4840266
%make_install
Christopher Meng 756a4f9
%{_fixperms} %{buildroot}/*
Christopher Meng 756a4f9
Christopher Meng 756a4f9
%check
Christopher Meng 756a4f9
make test
Christopher Meng 756a4f9
Christopher Meng 756a4f9
%files
59a84d1
%license LICENSE
59a84d1
%doc ChangeLog README examples
Christopher Meng 756a4f9
%{perl_vendorlib}/*
Christopher Meng 756a4f9
%{_mandir}/man3/*
Christopher Meng 756a4f9
Christopher Meng 756a4f9
%changelog
aebdaac
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.88-7
aebdaac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
aebdaac
e5dca5e
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.88-6
e5dca5e
- Perl 5.28 rebuild
e5dca5e
3817c99
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.88-5
3817c99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3817c99
6dc3e01
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.88-4
6dc3e01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6dc3e01
c5b0f77
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.88-3
c5b0f77
- Perl 5.26 rebuild
c5b0f77
7a8cb43
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.88-2
7a8cb43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7a8cb43
2667f55
* Tue Aug 09 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.88-1
2667f55
- 0.88 bump
2667f55
96d6457
* Thu May 19 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.87-3
96d6457
- Perl 5.24 re-rebuild of bootstrapped packages
96d6457
94f02ae
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.87-2
94f02ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
94f02ae
59a84d1
* Tue Sep 22 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.87-1
59a84d1
- 0.87 bump
59a84d1
c18b5ce
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.84-3
c18b5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c18b5ce
f2ee36e
* Tue Jun 09 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.84-2
f2ee36e
- Perl 5.22 rebuild
f2ee36e
4840266
* Thu Oct 30 2014 Christopher Meng <rpm@cicku.me> - 0.84-1
4840266
- Update to 0.84
4840266
a1f7769
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.82-3
a1f7769
- Perl 5.20 rebuild
a1f7769
3862af7
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-2
3862af7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3862af7
c8ea1d0
* Tue Dec 10 2013 Christopher Meng <rpm@cicku.me> - 0.82-1
c8ea1d0
- Update to 0.82
c8ea1d0
Christopher Meng 22ff536
* Sun Nov 03 2013 Christopher Meng <rpm@cicku.me> - 0.81-1
c8ea1d0
- Update to 0.81
Christopher Meng 22ff536
faf0f1d
* Mon Aug 05 2013 Petr Pisar <ppisar@redhat.com> - 0.78-3
faf0f1d
- Perl 5.18 rebuild
faf0f1d
b475b4b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.78-2
b475b4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b475b4b
Christopher Meng 756a4f9
* Sun Mar 17 2013 Christopher Meng <rpm@cicku.me> - 0.78-1
Christopher Meng 756a4f9
- Initial Package.