From b8048dfe57d429844c7cddadd36602560267b7e7 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:55:36 +0100 Subject: [PATCH] automatic update by autodist [release 3.46-1mamba;Thu Mar 06 2014] --- README.md | 2 ++ perl-XML-Twig.spec | 89 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 perl-XML-Twig.spec diff --git a/README.md b/README.md index 766d4f8..6f2be3b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-XML-Twig +XML::Twig - a module used to process efficiently XML documents. + diff --git a/perl-XML-Twig.spec b/perl-XML-Twig.spec new file mode 100644 index 0000000..4fc44d7 --- /dev/null +++ b/perl-XML-Twig.spec @@ -0,0 +1,89 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-XML-Twig +Version: 3.46 +Release: 1mamba +Summary: XML::Twig - a module used to process efficiently XML documents +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.xmltwig.com +Source: http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/XML-Twig-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +BuildRequires: perl-XML-Parser +## AUTOBUILDREQ-END +BuildRequires: perl-YAML +BuildRequires: perl-IO-stringy +BuildRequires: perl-Test-Pod-Coverage +Requires: perl-Tie-IxHash +Requires: perl-HTML-Parser +Requires: expat +Provides: perl(xml_split::state) +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +XML::Twig - a module used to process efficiently XML documents. + +%prep +%setup -q -n XML-Twig-%{version} + +%build +echo "\ +y +y +y +y +y" | perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Thu Mar 06 2014 Automatic Build System 3.46-1mamba +- automatic update by autodist + +* Thu May 16 2013 Automatic Build System 3.44-1mamba +- automatic version update by autodist + +* Mon Dec 10 2012 Silvan Calarco 3.42-1mamba +- update to 3.42 + +* Sat Apr 17 2010 Automatic Build System 3.35-1mamba +- automatic update by autodist + +* Mon Jan 18 2010 Automatic Build System 3.34-1mamba +- automatic update by autodist + +* Thu Nov 06 2008 Silvan Calarco 3.32-2mamba +- automatic rebuild by autodist + +* Thu Nov 15 2007 Silvan Calarco 3.32-1mamba +- update to 3.32 + +* Wed Sep 06 2006 Davide Madrisan 3.25-2qilnx +- added several missing build/runtime package requirements + +* Fri May 26 2006 Silvan Calarco 3.25-1qilnx +- package created by autospec