From 463643b0815b40973b4aab823245d566d8eb3709 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: May 20 2013 12:09:46 +0000 Subject: import perl-Log-Message-0.08-2.el7.src.rpm --- diff --git a/.perl-Log-Message.metadata b/.perl-Log-Message.metadata new file mode 100644 index 0000000..473f4c1 --- /dev/null +++ b/.perl-Log-Message.metadata @@ -0,0 +1 @@ +2cf1944e8e9e075c75210fbfb792544b614e190a SOURCES/Log-Message-0.08.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Log-Message.spec b/SPECS/perl-Log-Message.spec new file mode 100644 index 0000000..55f0a84 --- /dev/null +++ b/SPECS/perl-Log-Message.spec @@ -0,0 +1,75 @@ +Name: perl-Log-Message +# Epoch to compete with perl.spec +Epoch: 1 +Version: 0.08 +Release: 2%{?dist} +Summary: Generic message storing mechanism +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Log-Message/ +Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Log-Message-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +# Run-time: +BuildRequires: perl(Carp) +%if 0%(perl -e 'print $] > 5.017') +BuildRequires: perl(deprecate) +%endif +BuildRequires: perl(FileHandle) +BuildRequires: perl(if) +BuildRequires: perl(Locale::Maketext::Simple) +BuildRequires: perl(Module::Load) +BuildRequires: perl(Params::Check) +BuildRequires: perl(vars) +# Tests: +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec) +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +%if 0%(perl -e 'print $] > 5.017') +Requires: perl(deprecate) +%endif + +%description +This package enables you to do generic message logging throughout programs and +projects. Every message will be logged with stack traces, time stamps and so +on. You can use built-in handlers immediately, or after the fact when you +inspect the error stack. It is highly configurable and let's you even provide +your own handlers for dealing with messages. + +%prep +%setup -q -n Log-Message-%{version} + +%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 README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon May 20 2013 Petr Pisar - 1:0.08-2 +- Correct a typo in dependencies + +* Mon Apr 29 2013 Petr Pisar - 1:0.08-1 +- 0.08 bump + +* Thu Apr 25 2013 Petr Pisar - 1:0.06-2 +- Open configuration file for reading explicitly (bug #955210) + +* Thu Jan 24 2013 Petr Pisar 1:0.06-1 +- Specfile autogenerated by cpanspec 1.78. +- Require deprecated module if needed