From 157afcff6b100dc837d9ae9fcd00a286c590ec40 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:54:39 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 0.04-3mamba;Sun Nov 11 2012] --- README.md | 2 ++ perl-XML-RegExp.spec | 69 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 perl-XML-RegExp.spec diff --git a/README.md b/README.md index dc69ca0..5382852 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-XML-RegExp +This package contains regular expressions for the following XML tokens: BaseChar, Ideographic, Letter, Digit, Extender, CombiningChar, NameChar, EntityRef, CharRef, Reference, Name, NmToken, and AttValue. + diff --git a/perl-XML-RegExp.spec b/perl-XML-RegExp.spec new file mode 100644 index 0000000..b2279a0 --- /dev/null +++ b/perl-XML-RegExp.spec @@ -0,0 +1,69 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-XML-RegExp +Version: 0.04 +Release: 3mamba +Summary: XML::RegExp - Regular expressions for XML tokens +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/XML-RegExp-%{version}.tar.gz +License: Artistic, GPL +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This package contains regular expressions for the following XML tokens: BaseChar, Ideographic, Letter, Digit, Extender, CombiningChar, NameChar, EntityRef, CharRef, Reference, Name, NmToken, and AttValue. + +%prep +%setup -q -n XML-RegExp-%{version} + +%build +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 +* Sun Nov 11 2012 Silvan Calarco 0.04-3mamba +- perl 5.16 mass rebuild + +* Sun Jul 01 2012 Silvan Calarco 0.04-2mamba +- specfile and maintainer updated + +* Mon Apr 02 2012 Automatic Build System 0.04-1mamba +- automatic version update by autodist + +* Wed Nov 05 2008 Silvan Calarco 0.03-4mamba +- automatic rebuild by autodist + +* Tue Jul 25 2006 Stefano Cotta Ramusino 0.03-3qilnx +- rebuild by autospec + +* Tue Oct 05 2004 Davide Madrisan 0.03-2qilnx +- specfile modified to match QiLinux standards + +* Tue Sep 14 2004 Matteo Bernasconi 0.03-1qilnx +- first build