[perl-Shipwright] Initial import

cheeselee cheeselee at fedoraproject.org
Thu Apr 7 02:33:30 UTC 2011


commit 317e84e4ec3f56694282f0b4240d0ba79156e894
Author: Robin Lee <cheeselee at fedoraproject.org>
Date:   Thu Apr 7 10:33:14 2011 +0800

    Initial import

 .gitignore           |    1 +
 perl-Shipwright.spec |   85 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 87 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7a4a6b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Shipwright-2.4.24.tar.gz
diff --git a/perl-Shipwright.spec b/perl-Shipwright.spec
new file mode 100644
index 0000000..5aaaec7
--- /dev/null
+++ b/perl-Shipwright.spec
@@ -0,0 +1,85 @@
+Name:           perl-Shipwright
+Version:        2.4.24
+Release:        1%{?dist}
+Summary:        Build and Manage Self-contained Software Bundle
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Shipwright/
+Source0:        http://search.cpan.org/CPAN/authors/id/S/SU/SUNNAVY/Shipwright-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl >= 1:5.8.8
+BuildRequires:  perl(Algorithm::Dependency::Ordered)
+BuildRequires:  perl(Algorithm::Dependency::Source::HoA)
+BuildRequires:  perl(App::CLI)
+BuildRequires:  perl(Archive::Extract)
+BuildRequires:  perl(Archive::Tar)
+BuildRequires:  perl(Class::Accessor::Fast)
+BuildRequires:  perl(CPAN)
+BuildRequires:  perl(CPAN::DistnameInfo)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Copy::Recursive)
+BuildRequires:  perl(File::Slurp)
+BuildRequires:  perl(File::Which)
+BuildRequires:  perl(IO::Uncompress::Bunzip2)
+BuildRequires:  perl(IO::Uncompress::RawInflate) >= 2.012
+BuildRequires:  perl(IPC::Cmd)
+BuildRequires:  perl(IPC::Run3)
+BuildRequires:  perl(List::MoreUtils)
+BuildRequires:  perl(Log::Log4perl)
+BuildRequires:  perl(LWP::UserAgent)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Module::CoreList)
+BuildRequires:  perl(Module::Info)
+BuildRequires:  perl(UNIVERSAL::require)
+BuildRequires:  perl(version)
+BuildRequires:  perl(YAML::Tiny)
+Requires:       perl(Algorithm::Dependency::Ordered)
+Requires:       perl(Algorithm::Dependency::Source::HoA)
+Requires:       perl(Archive::Tar)
+Requires:       perl(IO::Uncompress::Bunzip2)
+Requires:       perl(IO::Uncompress::RawInflate) >= 2.012
+Requires:       perl(LWP::UserAgent)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+# a wrong Requires
+%filter_from_requires /perl(that)/d
+%{?perl_default_filter}
+
+%description
+Shipwright is a tool to help you bundle your software with all its dependencies,
+regardless of whether they are CPAN modules or non-Perl modules from elsewhere.
+Shipwright makes the bundle work easy.
+
+%prep
+%setup -q -n Shipwright-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+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 %{?_smp_mflags}
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS Changes README TODO
+%{_bindir}/shipwright*
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Apr  6 2011 Robin Lee <cheeselee at fedoraproject.org> - 2.4.24-1
+- Update to 2.4.24
+- Initial import (#690359)
+
+* Thu Mar 24 2011 Robin Lee <cheeselee at fedoraproject.org> - 2.4.23-1
+- Initial packaging with help of cpanspec 1.78
diff --git a/sources b/sources
index e69de29..d17641f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8de809cc237df96ba22b4cae35b84ce8  Shipwright-2.4.24.tar.gz



More information about the perl-devel mailing list