From a3a84fcdcfbfd43f8039178d5b92a7dc05c803cc Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Tue, 21 Jan 2025 20:28:42 +1100 Subject: [PATCH] initial create of smeserver perl Scalar::List::Utils on Tue Jan 21 20:28:42 AEDT 2025 --- .gitattributes | 1 + .gitignore | 3 ++ Makefile | 21 ++++++++++++++ README.md | 22 ++++++++++++-- Scalar-List-Utils-1.68.tar.gz | 3 ++ contriborbase | 1 + perl-Scalar-List-Utils.spec | 54 +++++++++++++++++++++++++++++++++++ 7 files changed, 103 insertions(+), 2 deletions(-) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 Scalar-List-Utils-1.68.tar.gz create mode 100644 contriborbase create mode 100644 perl-Scalar-List-Utils.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..339195e --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: perl-Scalar-List-Utils +# $Id: Makefile,v 1.1 2016/02/04 12:24:52 vip-ire Exp $ +NAME := perl-Scalar-List-Utils +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/README.md b/README.md index 7bd3213..9eaec59 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,21 @@ -# perl-Scalar-List-Utils +# perl-Scalar-List-Utils (Scalar::List::Utils) -3rd Party (Maintained by Koozali) git repo for perl-Scalar-List-Utils smeserver \ No newline at end of file +SMEServer Koozali local git repo for perl-Scalar-List-Utils + +## Documentation +https://metacpan.org/pod/Scalar::List::Utils + +## Bugs +CPAN bug report are [here](https://rt.cpan.org/Public/Dist/Display.html?Name=Scalar-List-Utils) + +Show list of Koozali outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=perl-Scalar-List-Utils&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 +Scalar::List::Utils does nothing on its own. It is packaged with several +useful modules. +This package provides debug information for package perl-Scalar-List-Utils. +Debug information is useful when developing applications that use this +package or when debugging this package. +This package provides debug sources for package perl-Scalar-List-Utils. +Debug sources are useful when developing applications that use this +package or when debugging this package. diff --git a/Scalar-List-Utils-1.68.tar.gz b/Scalar-List-Utils-1.68.tar.gz new file mode 100644 index 0000000..d0de6a7 --- /dev/null +++ b/Scalar-List-Utils-1.68.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23317e4346fe8747f0167eccd1881d6369aa71023f014cd6f846988843295906 +size 181532 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-Scalar-List-Utils.spec b/perl-Scalar-List-Utils.spec new file mode 100644 index 0000000..c3b9a12 --- /dev/null +++ b/perl-Scalar-List-Utils.spec @@ -0,0 +1,54 @@ +Name: perl-Scalar-List-Utils +Version: 1.68 +Release: 1%{?dist} +Summary: Distribution of general-utility subroutines +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Scalar-List-Utils/ +Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/Scalar-List-Utils-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: perl >= 0:5.006 +BuildRequires: perl(ExtUtils::Manifest) +BuildRequires: perl(inc::Module::Install) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Scalar::List::Utils does nothing on its own. It is packaged with several +useful modules. + +%prep +%setup -q -n Scalar-List-Utils-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +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 -type f -name '*.bs' -size 0 -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 META.json README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Scalar* +%{_mandir}/man3/* + +%changelog +* Tue Jan 21 2025 Koozali 1.68-1 +- Specfile autogenerated by cpanspec 1.78.