commit 86106001fa97d49c7365c24d81d03ce6e83e49a2 Author: Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Mon Mar 14 06:33:36 2011 +0100 Import. .gitignore | 1 + perl-Log-Any-Adapter.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 57 insertions(+), 0 deletions(-) --- 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 <corsepiu@xxxxxxxxxxxxxxxxx> 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 -- 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