[perl-Log-Any-Adapter-Dispatch] Import.
corsepiu
corsepiu at fedoraproject.org
Mon Mar 28 04:56:11 UTC 2011
commit 5c48b841d1d1e5729ee689a9b8815048c1183ccc
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Mon Mar 28 06:55:49 2011 +0200
Import.
.gitignore | 1 +
perl-Log-Any-Adapter-Dispatch.spec | 53 ++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0e47f8d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Log-Any-Adapter-Dispatch-0.06.tar.gz
diff --git a/perl-Log-Any-Adapter-Dispatch.spec b/perl-Log-Any-Adapter-Dispatch.spec
new file mode 100644
index 0000000..4489e15
--- /dev/null
+++ b/perl-Log-Any-Adapter-Dispatch.spec
@@ -0,0 +1,53 @@
+Name: perl-Log-Any-Adapter-Dispatch
+Version: 0.06
+Release: 1%{?dist}
+Summary: Log::Any::Adapter::Dispatch Perl module
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Log-Any-Adapter-Dispatch/
+Source0: http://www.cpan.org/authors/id/J/JS/JSWARTZ/Log-Any-Adapter-Dispatch-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Log::Any::Adapter)
+BuildRequires: perl(Log::Dispatch) >= 2.26
+BuildRequires: perl(Test::More)
+Requires: perl(Log::Dispatch) >= 2.26
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This Log::Any adapter uses Log::Dispatch for logging.
+
+%prep
+%setup -q -n Log-Any-Adapter-Dispatch-%{version}
+
+%build
+# --skipdeps causes ExtUtils::AutoInstall not to try auto-installing
+%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sun Feb 06 2011 Ralf Corsépius <corsepiu at fedoraproject.org> 0.06-1
+- Initial Fedora package.
diff --git a/sources b/sources
index e69de29..f73343a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0e9ab09ed5d55922bdd6cccd065a4b4a Log-Any-Adapter-Dispatch-0.06.tar.gz
More information about the scm-commits
mailing list