[perl-CPANPLUS-Dist-Build] Reincarnate already death package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 2b0d1e9aa40079f90ce7799aa915d2cc0f202e92
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Wed Jun 12 08:34:07 2013 +0200

    Reincarnate already death package

 .gitignore                    |    1 +
 dead.package                  |    2 -
 perl-CPANPLUS-Dist-Build.spec |  119 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 4 files changed, 121 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index db551a9..1729e7c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 CPANPLUS-Dist-Build-0.05.tar.gz
+/CPANPLUS-Dist-Build-0.70.tar.gz
diff --git a/perl-CPANPLUS-Dist-Build.spec b/perl-CPANPLUS-Dist-Build.spec
new file mode 100644
index 0000000..a4d6f13
--- /dev/null
+++ b/perl-CPANPLUS-Dist-Build.spec
@@ -0,0 +1,119 @@
+Name:           perl-CPANPLUS-Dist-Build
+Version:        0.70
+Release:        1%{?dist}
+Summary:        Module::Build extension for CPANPLUS
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/CPANPLUS-Dist-Build/
+Source0:        http://www.cpan.org/authors/id/B/BI/BINGOS/CPANPLUS-Dist-Build-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+%if %{defined perl_bootstrap}
+BuildRequires:  perl(base)
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.59
+BuildRequires:  perl(ExtUtils::MM_Unix)
+BuildRequires:  perl(Fcntl)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+%else
+BuildRequires:  perl(inc::Module::Install)
+BuildRequires:  perl(Module::Install::AutoLicense)
+# Module::Install::GithubMeta is optional and not usefull
+%endif
+BuildRequires:  perl(strict)
+# Run-time:
+BuildRequires:  perl(Config)
+BuildRequires:  perl(constant)
+# This is a plug-in for CPANPLUS, specify reverse dependency here
+BuildRequires:  perl(CPANPLUS) >= 0.84
+BuildRequires:  perl(CPANPLUS::Error)
+BuildRequires:  perl(CPANPLUS::Internals::Constants)
+BuildRequires:  perl(Cwd)
+%if 0%(perl -e 'print $] > 5.017')
+BuildRequires:  perl(deprecate)
+%endif
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(FileHandle)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(if)
+BuildRequires:  perl(IPC::Cmd) >= 0.42
+BuildRequires:  perl(Locale::Maketext::Simple)
+BuildRequires:  perl(Module::Build) >= 0.32
+BuildRequires:  perl(Module::Load::Conditional) >= 0.30
+BuildRequires:  perl(Params::Check) >= 0.26
+BuildRequires:  perl(vars)
+BuildRequires:  perl(version)
+BuildRequires:  perl(warnings)
+# Tests:
+BuildRequires:  perl(CPANPLUS::Configure)
+BuildRequires:  perl(CPANPLUS::Backend)
+BuildRequires:  perl(CPANPLUS::Internals::Utils)
+BuildRequires:  perl(CPANPLUS::Module::Author::Fake)
+BuildRequires:  perl(CPANPLUS::Module::Fake)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(ExtUtils::Installed)
+BuildRequires:  perl(ExtUtils::Packlist)
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Module::Build::ConfigData)
+BuildRequires:  perl(Test::More) >= 0.47
+# Optional tests:
+%if !%{defined perl_bootstrap}
+BuildRequires:  perl(Test::Pod) >= 1.00
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.00
+%endif
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+# This is a plug-in for CPANPLUS, specify reverse dependency here
+Requires:       perl(CPANPLUS) >= 0.84
+%if 0%(perl -e 'print $] > 5.017')
+Requires:       perl(deprecate)
+%endif
+Requires:       perl(Exporter)
+Requires:       perl(IPC::Cmd) >= 0.42
+Requires:       perl(Module::Build) >= 0.32
+Requires:       perl(Module::Load::Conditional) >= 0.30
+Requires:       perl(Params::Check) >= 0.26
+
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((IPC::Cmd|Module::Load::Conditional|Params::Check)\\)$
+
+%description
+CPANPLUS::Dist::Build is a distribution class for Module::Build related
+modules. With this package, you can create, install and uninstall
+Module::Build-based perl modules by calling CPANPLUS::Dist methods.
+
+%prep
+%setup -q -n CPANPLUS-Dist-Build-%{version}
+%if !%{defined perl_bootstrap}
+# Remove bundled modules only if non-core modules are available becuase this
+# is a core module.
+rm -r ./inc/*
+sed -i -e '/^\/inc\//d' MANIFEST
+%endif
+
+%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 LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Jun 10 2013 Petr Pisar <ppisar@xxxxxxxxxx> 0.70-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
new file mode 100644
index 0000000..ad39a1b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+9324b77c9b545bb86e404fe75527523e  CPANPLUS-Dist-Build-0.70.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





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux