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..95d6bf3 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: perl-XML-Parser +# $Id: Makefile,v 1.1 2016/02/04 12:24:52 vip-ire Exp $ +NAME := perl-XML-Parser +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 f67b3b8..1a0e9ec 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,27 @@ -# perl-XML-Parser +# perl-XML-Parser (XML::Parser) -3rd Party (Maintained by Koozali) git repo for perl-XML-Parser smeserver \ No newline at end of file +SMEServer Koozali local git repo for perl-XML-Parser + +## Documentation +https://metacpan.org/pod/XML::Parser + +## Bugs +CPAN bug report are [here](https://rt.cpan.org/Public/Dist/Display.html?Name=XML-Parser) + +Show list of Koozali outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=perl-XML-Parser&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 +This module provides ways to parse XML documents. It is built on top of +XML::Parser::Expat, which is a lower level interface to James Clark's expat +library. Each call to one of the parsing methods creates a new instance of +XML::Parser::Expat which is then used to parse the document. Expat options +may be provided when the XML::Parser object is created. These options are +then passed on to the Expat object on each parse call. They can also be +given as extra arguments to the parse methods, in which case they override +options given at XML::Parser creation time. +This package provides debug information for package perl-XML-Parser. +Debug information is useful when developing applications that use this +package or when debugging this package. +This package provides debug sources for package perl-XML-Parser. +Debug sources are useful when developing applications that use this +package or when debugging this package. diff --git a/XML-Parser-2.47.tar.gz b/XML-Parser-2.47.tar.gz new file mode 100644 index 0000000..50a48cf --- /dev/null +++ b/XML-Parser-2.47.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad4aae643ec784f489b956abe952432871a622d4e2b5c619e8855accbfc4d1d8 +size 279029 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-XML-Parser.spec b/perl-XML-Parser.spec new file mode 100644 index 0000000..0850e33 --- /dev/null +++ b/perl-XML-Parser.spec @@ -0,0 +1,63 @@ +Name: perl-XML-Parser +Version: 2.47 +Release: 1%{?dist} +Summary: Perl module for parsing XML documents +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/XML-Parser/ +Source0: http://www.cpan.org/authors/id/T/TO/TODDR/XML-Parser-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: perl >= 0:5.004050 +BuildRequires: perl(ExtUtils::Manifest) +BuildRequires: perl(inc::Module::Install) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(LWP::UserAgent) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +Requires: perl(LWP::UserAgent) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module provides ways to parse XML documents. It is built on top of +XML::Parser::Expat, which is a lower level interface to James Clark's expat +library. Each call to one of the parsing methods creates a new instance of +XML::Parser::Expat which is then used to parse the document. Expat options +may be provided when the XML::Parser object is created. These options are +then passed on to the Expat object on each parse call. They can also be +given as extra arguments to the parse methods, in which case they override +options given at XML::Parser creation time. + +%prep +%setup -q -n XML-Parser-%{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 LICENSE META.json README README.md +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/XML* +%{_mandir}/man3/* + +%changelog +* Tue Jan 21 2025 Koozali 2.47-1 +- Specfile autogenerated by cpanspec 1.78.