[perl-Log-Contextual] Initial import

Jitka Plesnikova jplesnik at fedoraproject.org
Wed Feb 6 14:24:27 UTC 2013


commit b21200335bf9d8123a18fd2571aa2233cb1b6664
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date:   Wed Feb 6 15:18:02 2013 +0100

    Initial import

 .gitignore               |    1 +
 perl-Log-Contextual.spec |   63 ++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 3 files changed, 65 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c911494 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Log-Contextual-0.004300.tar.gz
diff --git a/perl-Log-Contextual.spec b/perl-Log-Contextual.spec
new file mode 100644
index 0000000..074355c
--- /dev/null
+++ b/perl-Log-Contextual.spec
@@ -0,0 +1,63 @@
+Name:           perl-Log-Contextual
+Version:        0.004300
+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(inc::Module::Install) >= 0.91
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Data::Dumper::Concise)
+BuildRequires:  perl(Exporter::Declare) >= 0.105
+BuildRequires:  perl(Exporter::Declare::Export::Generator)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Log::Log4perl) >= 1.29
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Test::More)
+Requires:       perl(Exporter::Declare) >= 0.105
+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*$
+
+%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
+* Wed Jan 30 2013 Jitka Plesnikova <jplesnik at redhat.com> - 0.004300-1
+- 0.004300 bump
+- Update BRs.
+- Replace PERL_INSTALL_ROOT with DESTDIR.
+
+* Tue Jul 24 2012 Jitka Plesnikova <jplesnik at redhat.com> - 0.004201-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..6f01ef0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f31d346eec8f45d1de2289ae48ffeed2  Log-Contextual-0.004300.tar.gz



More information about the perl-devel mailing list