You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Log-Contextual/perl-Log-Contextual.spec

90 lines
2.9 KiB

Name: perl-Log-Contextual
Version: 0.006000
Release: 1%{?dist}
Summary: Simple logging interface with a contextual log
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Log-Contextual/
Source0: http://www.cpan.org/authors/id/F/FR/FREW/Log-Contextual-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(inc::Module::Install) >= 0.91
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Data::Dumper::Concise)
BuildRequires: perl(Exporter::Declare) >= 0.111
BuildRequires: perl(Exporter::Declare::Export::Generator)
BuildRequires: perl(File::Temp)
BuildRequires: perl(FindBin)
BuildRequires: perl(lib)
BuildRequires: perl(Log::Log4perl) >= 1.29
BuildRequires: perl(Moo) >= 1.003000
BuildRequires: perl(Moo::Role)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(warnings)
Requires: perl(Exporter::Declare) >= 0.111
Requires: perl(Moo) >= 1.003000
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Filter under-specified depenedencies
%global __requires_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Exporter::Declare\\)\\s*$
%global __requires_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Moo\\)\\s*$
%description
This module is a simple interface to extensible logging. It is bundled with
a really basic logger, Log::Contextual::SimpleLogger, but in general you
should use a real logger instead of that. For something more serious but
not overly complicated, try Log::Dispatchouli.
%prep
%setup -q -n Log-Contextual-%{version}
rm -r inc
sed -i -e '/^inc\// d' MANIFEST
find -type f -exec chmod -x {} +
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Tue Sep 10 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.006000-1
- 0.006000 bump
* Fri Aug 09 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.005005-1
- 0.005005 bump
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.005003-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Mar 22 2013 Petr Šabata <contyk@redhat.com> - 0.005003-1
- 0.005003 bump
* Mon Feb 18 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.005002-1
- 0.005002 bump
* Mon Feb 11 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.005001-1
- 0.005001 bump
* Wed Jan 30 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.004300-1
- 0.004300 bump
- Update BRs.
- Replace PERL_INSTALL_ROOT with DESTDIR.
* Tue Jul 24 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.004201-1
- Specfile autogenerated by cpanspec 1.78.