From 09075dc7657e11a9082635dec7805a9a8612c1f1 Mon Sep 17 00:00:00 2001 From: Brian Read Date: Fri, 14 Jul 2023 16:02:43 +0100 Subject: [PATCH] initial commit of file from CVS for perl-multidimensional on Fri 14 Jul 16:02:43 BST 2023 --- .gitattributes | 1 + .gitignore | 3 ++ Makefile | 21 +++++++++++ README.md | 10 +++++- contriborbase | 1 + multidimensional-0.009.tar.gz | 3 ++ perl-multidimensional.spec | 65 +++++++++++++++++++++++++++++++++++ 7 files changed, 103 insertions(+), 1 deletion(-) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 contriborbase create mode 100644 multidimensional-0.009.tar.gz create mode 100644 perl-multidimensional.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..083d47b --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: perl-multidimensional +# $Id: Makefile,v 1.1 2018/12/21 05:06:28 jpp Exp $ +NAME := perl-multidimensional +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 9c3c27b..0c29f1e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # perl-multidimensional -3rd Party (Maintained by Koozali) git repo for perl-multidimensional smeserver \ No newline at end of file +3rd Party (Maintained by Koozali) git repo for perl-multidimensional smeserver + +## Description + +
*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.* +*Once it has been checked, then this comment will be deleted* +
+ +Perl-Multidimensional is a Perl module which provides support for multidimensional array and hash data structures, allowing for efficient manipulation of complex data structures. It makes it easier to store, retrieve, and manipulate data in multi-dimensional array and hash structures. It also provides functions for common operations such as sorting, searching, and looping over the data. diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..ef36a67 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +sme10 diff --git a/multidimensional-0.009.tar.gz b/multidimensional-0.009.tar.gz new file mode 100644 index 0000000..b329784 --- /dev/null +++ b/multidimensional-0.009.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d259cf29de9f098ed8a42ca56e7b79e1130506bd7814a247a0f5769fb1322b78 +size 11427 diff --git a/perl-multidimensional.spec b/perl-multidimensional.spec new file mode 100644 index 0000000..1464979 --- /dev/null +++ b/perl-multidimensional.spec @@ -0,0 +1,65 @@ +Name: perl-multidimensional +Version: 0.009 +Release: 1%{?org_tag}%{?dist} +Summary: Disables multidmensional array emulation +License: CHECK(Distributable) +Group: Development/Libraries +URL: http://search.cpan.org/dist/multidimensional/ +Source0: http://localhost/cpan//authors/id/I/IL/ILMARI/multidimensional-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: perl(ExtUtils::Depends) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.3 +BuildRequires: perl(ExtUtils::ParseXS) +BuildRequires: perl(ExtUtils::Manifest) +BuildRequires: perl(B::Hooks::OP::Check) >= 0.19 +BuildRequires: perl(CPAN::Meta) >= 2.112580 +BuildRequires: perl(Lexical::SealRequireHints) >= 0.005 +BuildRequires: perl(Test::More) +Requires: perl(B::Hooks::OP::Check) >= 0.19 +Requires: perl(CPAN::Meta) >= 2.112580 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Autoreq: no + +%description +Perl's multidimensional array emultaion stems from the days before the +language had references, but these days it mostly serves to bite you when +you typo a hash slice by using the $ sigil instead of @. + +%prep +%setup -q -n multidimensional-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install PERL_INSTALL_ROOT=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc Changes dist.ini LICENSE META.json README weaver.ini +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/multidimensional* +%{_mandir}/man3/* + +%changelog +* Fri Jul 14 2023 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + +* Sun Dec 11 2011 Gavin Carr 0.009-1 +- Specfile autogenerated by cpanspec 1.79.