From ef4d94512e8355a650d89a8d15d38e13649bf215 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Tue, 21 Jan 2025 19:58:58 +1100 Subject: [PATCH] initial create of smeserver perl Module::Build on Tue Jan 21 19:58:58 AEDT 2025 --- .gitattributes | 1 + .gitignore | 3 ++ Makefile | 21 ++++++++ Module-Build-0.4234.tar.gz | 3 ++ README.md | 19 +++++++- contriborbase | 1 + perl-Module-Build.spec | 99 ++++++++++++++++++++++++++++++++++++++ 7 files changed, 145 insertions(+), 2 deletions(-) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 Module-Build-0.4234.tar.gz create mode 100644 contriborbase create mode 100644 perl-Module-Build.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f087b42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1534ba5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.rpm +*.log +*spec-20* diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4f74b90 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: perl-Module-Build +# $Id: Makefile,v 1.1 2016/02/04 12:24:52 vip-ire Exp $ +NAME := perl-Module-Build +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/Module-Build-0.4234.tar.gz b/Module-Build-0.4234.tar.gz new file mode 100644 index 0000000..9784d52 --- /dev/null +++ b/Module-Build-0.4234.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66aeac6127418be5e471ead3744648c766bd01482825c5b66652675f2bc86a8f +size 311666 diff --git a/README.md b/README.md index cece175..4a13447 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,18 @@ -# perl-Module-Build +# perl-Module-Build (Module::Build) -3rd Party (Maintained by Koozali) git repo for perl-Module-Build smeserver \ No newline at end of file +SMEServer Koozali local git repo for perl-Module-Build + +## Documentation +https://metacpan.org/pod/Module::Build + +## Bugs +CPAN bug report are [here](https://rt.cpan.org/Public/Dist/Display.html?Name=Module-Build) + +Show list of Koozali outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=perl-Module-Build&product=SME%20Server%2011.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED) + +## Description +Module::Build is a system for building, testing, and installing Perl +modules. It is meant to be an alternative to ExtUtils::MakeMaker. +Developers may alter the behavior of the module through subclassing. It +also does not require a make on your system - most of the Module::Build +code is pure-perl and written in a very cross-platform way. diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..80affab --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +sme11 diff --git a/perl-Module-Build.spec b/perl-Module-Build.spec new file mode 100644 index 0000000..b18f39f --- /dev/null +++ b/perl-Module-Build.spec @@ -0,0 +1,99 @@ +Name: perl-Module-Build +Version: 0.4234 +Release: 1%{?dist} +Summary: Build and install Perl modules +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Module-Build/ +Source0: http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl >= 0:5.006001 +BuildRequires: perl(ExtUtils::Manifest) +BuildRequires: perl(inc::Module::Install) +BuildRequires: perl(CPAN::Meta) >= 2.142060 +BuildRequires: perl(CPAN::Meta::YAML) >= 0.003 +BuildRequires: perl(Cwd) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(ExtUtils::CBuilder) >= 0.27 +BuildRequires: perl(ExtUtils::Install) >= 0.3 +BuildRequires: perl(ExtUtils::Manifest) >= 1.54 +BuildRequires: perl(ExtUtils::Mkbootstrap) +BuildRequires: perl(ExtUtils::ParseXS) >= 2.21 +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Compare) +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) >= 0.82 +BuildRequires: perl(File::Temp) >= 0.15 +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Module::Metadata) >= 1.000002 +BuildRequires: perl(Parse::CPAN::Meta) >= 1.4401 +BuildRequires: perl(Perl::OSType) >= 1 +BuildRequires: perl(TAP::Harness) >= 3.29 +BuildRequires: perl(Test::More) >= 0.49 +BuildRequires: perl(Text::Abbrev) +BuildRequires: perl(Text::ParseWords) +BuildRequires: perl(version) >= 0.87 +Requires: perl(CPAN::Meta) >= 2.142060 +Requires: perl(Cwd) +Requires: perl(Data::Dumper) +Requires: perl(ExtUtils::CBuilder) >= 0.27 +Requires: perl(ExtUtils::Install) >= 0.3 +Requires: perl(ExtUtils::Manifest) >= 1.54 +Requires: perl(ExtUtils::Mkbootstrap) +Requires: perl(ExtUtils::ParseXS) >= 2.21 +Requires: perl(File::Basename) +Requires: perl(File::Compare) +Requires: perl(File::Copy) +Requires: perl(File::Find) +Requires: perl(File::Path) +Requires: perl(File::Spec) >= 0.82 +Requires: perl(Getopt::Long) +Requires: perl(Module::Metadata) >= 1.000002 +Requires: perl(Perl::OSType) >= 1 +Requires: perl(TAP::Harness) >= 3.29 +Requires: perl(Text::Abbrev) +Requires: perl(Text::ParseWords) +Requires: perl(version) >= 0.87 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Module::Build is a system for building, testing, and installing Perl +modules. It is meant to be an alternative to ExtUtils::MakeMaker. +Developers may alter the behavior of the module through subclassing. It +also does not require a make on your system - most of the Module::Build +code is pure-perl and written in a very cross-platform way. + +%prep +%setup -q -n Module-Build-%{version} + +%build +%{__perl} Build.PL --installdirs=vendor +./Build + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes contrib LICENSE META.json README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Jan 21 2025 Koozali 0.4234-1 +- Specfile autogenerated by cpanspec 1.78.