perl 5.16 mass rebuild [release 0.04-3mamba;Sun Nov 11 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 09:54:39 +01:00
parent 1f3e3349ed
commit 157afcff6b
2 changed files with 71 additions and 0 deletions

View File

@ -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.

69
perl-XML-RegExp.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.04-3mamba
- perl 5.16 mass rebuild
* Sun Jul 01 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.04-2mamba
- specfile and maintainer updated
* Mon Apr 02 2012 Automatic Build System <autodist@mambasoft.it> 0.04-1mamba
- automatic version update by autodist
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.03-4mamba
- automatic rebuild by autodist
* Tue Jul 25 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.03-3qilnx
- rebuild by autospec
* Tue Oct 05 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.03-2qilnx
- specfile modified to match QiLinux standards
* Tue Sep 14 2004 Matteo Bernasconi <voyagernm@virgilio.it> 0.03-1qilnx
- first build