From 86106001fa97d49c7365c24d81d03ce6e83e49a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org>
Date: Mon, 14 Mar 2011 06:33:36 +0100
Subject: Import.

---
 .gitignore                |  1 +
 perl-Log-Any-Adapter.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                   |  1 +
 3 files changed, 57 insertions(+)
 create mode 100644 perl-Log-Any-Adapter.spec

diff --git a/.gitignore b/.gitignore
index e69de29..9a3f9d1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Log-Any-Adapter-0.03.tar.gz
diff --git a/perl-Log-Any-Adapter.spec b/perl-Log-Any-Adapter.spec
new file mode 100644
index 0000000..d8a4840
--- /dev/null
+++ b/perl-Log-Any-Adapter.spec
@@ -0,0 +1,55 @@
+Name:           perl-Log-Any-Adapter
+Version:        0.03
+Release:        1%{?dist}
+Summary:        Tell Log::Any where to send its logs
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Log-Any-Adapter/
+Source0:        
http://www.cpan.org/authors/id/J/JS/JSWARTZ/Log-Any-Adapter-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Log::Any) >= 0.10
+BuildRequires:  perl(Scope::Guard)
+BuildRequires:  perl(Test::More)
+Requires:       perl(Log::Any) >= 0.10
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+
+%description
+The Log-Any-Adapter distribution implements Log::Any class methods to
+specify where logs should be sent. It is a separate distribution so as to
+keep Log::Any itself as simple and unchanging as possible.
+
+%prep
+%setup -q -n Log-Any-Adapter-%{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 <corse...@fedoraproject.org> 0.03-1
+- Initial Fedora package.
diff --git a/sources b/sources
index e69de29..f25298f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+41655899a7a5e34650f5d4f784b05151  Log-Any-Adapter-0.03.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Log-Any-Adapter.git/commit/?h=el6&id=86106001fa97d49c7365c24d81d03ce6e83e49a2
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to