[packages/perl-Module-CPANfile] new, version 1.0001

glen glen at pld-linux.org
Sun Nov 3 17:14:00 CET 2013


commit b4c5bf9740a47ba114461f8f197693e3f205443f
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 3 18:13:32 2013 +0200

    new, version 1.0001
    
    based on fedora package
    a5587292c1645224a910ce979574577a4f0010b5

 perl-Module-CPANfile.spec | 71 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)
---
diff --git a/perl-Module-CPANfile.spec b/perl-Module-CPANfile.spec
new file mode 100644
index 0000000..3c020ee
--- /dev/null
+++ b/perl-Module-CPANfile.spec
@@ -0,0 +1,71 @@
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+
+%include	/usr/lib/rpm/macros.perl
+Summary:	Parse cpanfile
+Name:		perl-Module-CPANfile
+Version:	1.0001
+Release:	1
+License:	GPL+ or Artistic
+Group:		Development/Libraries
+Source0:	http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Module-CPANfile-%{version}.tar.gz
+# Source0-md5:	d1fa25121f0409182a21b2ef89ab58e0
+URL:		http://search.cpan.org/dist/Module-CPANfile/
+BuildRequires:	perl(CPAN::Meta) >= 2.12091
+BuildRequires:	perl(CPAN::Meta::Feature) >= 2.12091
+BuildRequires:	perl(CPAN::Meta::Prereqs) >= 2.12091
+BuildRequires:	perl(Carp)
+BuildRequires:	perl(Cwd)
+BuildRequires:	perl(Data::Dumper)
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:	perl(base)
+BuildRequires:	perl(strict)
+BuildRequires:	perl(warnings)
+%if %{with tests}
+BuildRequires:	perl(Exporter)
+BuildRequires:	perl(POSIX)
+BuildRequires:	perl(Test::More) >= 0.88
+%endif
+Requires:	perl(CPAN::Meta) >= 2.12091
+Requires:	perl(CPAN::Meta::Feature) >= 2.12091
+Requires:	perl(CPAN::Meta::Prereqs) >= 2.12091
+Requires:	perl(Data::Dumper)
+Requires:	perl(Pod::Usage)
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Module::CPANfile is a tool to handle cpanfile format to load
+application specific dependencies, not just for CPAN distributions.
+
+%prep
+%setup -q -n Module-CPANfile-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make}
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} pure_install \
+	PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Module/CPANfile/.packlist
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes LICENSE README
+%attr(755,root,root) %{_bindir}/mymeta-cpanfile
+%{_mandir}/man1/mymeta-cpanfile*
+%{_mandir}/man3/Module::CPANfile.3pm*
+%{_mandir}/man3/cpanfile-faq.3pm*
+%{_mandir}/man3/cpanfile.3pm*
+%{perl_vendorlib}/Module/CPANfile.pm
+%{perl_vendorlib}/Module/CPANfile
+%{perl_vendorlib}/cpanfile-faq.pod
+%{perl_vendorlib}/cpanfile.pod
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Module-CPANfile.git/commitdiff/b4c5bf9740a47ba114461f8f197693e3f205443f



More information about the pld-cvs-commit mailing list