commit 0bcd0d8d70a966f16a3729a798e595b547adc3e4 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Fri Feb 8 08:47:33 2013 +0100 Reincarnate already died perl-Log-Message .gitignore | 1 + dead.package | 1 - perl-Log-Message.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 60 insertions(+), 1 deletions(-) --- diff --git a/.gitignore b/.gitignore index ee6d0fe..0cc47cc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Log-Message-0.01.tar.gz +/Log-Message-0.06.tar.gz diff --git a/perl-Log-Message.spec b/perl-Log-Message.spec new file mode 100644 index 0000000..dba6573 --- /dev/null +++ b/perl-Log-Message.spec @@ -0,0 +1,58 @@ +Name: perl-Log-Message +# Epoch to compete with perl.spec +Epoch: 1 +Version: 0.06 +Release: 1%{?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(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +# Run-time: +BuildRequires: perl(Carp) +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)) + +%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 +* Thu Jan 24 2013 Petr Pisar <ppisar@xxxxxxxxxx> 1:0.06-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources new file mode 100644 index 0000000..cd0ff90 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +c962d55a0d84a4ed1d82802fd9a530da Log-Message-0.06.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel