2024-01-06 09:27:53 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-PPIx-Regexp
|
2024-01-06 09:27:53 +01:00
|
|
|
Version: 0.086
|
2024-01-06 09:27:53 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: PPIx::Regexp - Represent a regular expression of some sort
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
2024-01-06 09:27:53 +01:00
|
|
|
URL: https://www.cpan.org
|
2024-01-06 09:27:53 +01:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/W/WY/WYANT/PPIx-Regexp-%{version}.tar.gz
|
|
|
|
License: GPL, Artistic
|
|
|
|
BuildRequires: perl(List::MoreUtils)
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl(PPI::Document)
|
|
|
|
BuildRequires: perl(Task::Weaken)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
Requires: perl(PPI::Document)
|
|
|
|
Requires: perl(Task::Weaken)
|
|
|
|
|
|
|
|
%description
|
|
|
|
The purpose of the PPIx-Regexp package is to parse regular expressions in a manner similar to the
|
|
|
|
way the PPI package parses Perl. This class forms the root of the parse tree, playing a role similar to
|
|
|
|
PPI::Document.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n PPIx-Regexp-%{version}
|
|
|
|
|
|
|
|
chmod -x eg/*
|
|
|
|
sed -i '1 s|/usr/local/bin/perl|/usr/bin/perl|' eg/*
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
|
|
|
%make %{?_smp_mflags}
|
|
|
|
%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}"
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc LICENSES
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 09:27:53 +01:00
|
|
|
* Sat Dec 17 2022 Automatic Build System <autodist@mambasoft.it> 0.086-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:27:53 +01:00
|
|
|
* Sun Apr 17 2022 Automatic Build System <autodist@mambasoft.it> 0.085-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:27:53 +01:00
|
|
|
* Sun Apr 03 2022 Automatic Build System <autodist@mambasoft.it> 0.084-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:27:53 +01:00
|
|
|
* Fri Mar 18 2022 Automatic Build System <autodist@mambasoft.it> 0.083-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:27:53 +01:00
|
|
|
* Mon Jan 10 2022 Automatic Build System <autodist@mambasoft.it> 0.082-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:27:53 +01:00
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 0.078-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun May 03 2020 Automatic Build System <autodist@mambasoft.it> 0.071-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:27:53 +01:00
|
|
|
* Thu Nov 23 2017 Automatic Build System <autodist@mambasoft.it> 0.053-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:27:53 +01:00
|
|
|
* Thu Oct 26 2017 Automatic Build System <autodist@mambasoft.it> 0.052_01-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:27:53 +01:00
|
|
|
* Thu Sep 01 2016 Automatic Build System <autodist@mambasoft.it> 0.050-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:27:53 +01:00
|
|
|
* Fri Feb 05 2016 Automatic Build System <autodist@mambasoft.it> 0.047-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:27:53 +01:00
|
|
|
* Tue Jun 09 2015 Automatic Build System <autodist@mambasoft.it> 0.040-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:27:53 +01:00
|
|
|
* Fri Apr 03 2015 Automatic Build System <autodist@mambasoft.it> 0.039-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:27:53 +01:00
|
|
|
* Wed Mar 11 2015 Automatic Build System <autodist@mambasoft.it> 0.038-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:27:53 +01:00
|
|
|
* Wed Dec 10 2014 Automatic Build System <autodist@mambasoft.it> 0.037-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:27:53 +01:00
|
|
|
* Thu Nov 06 2014 Automatic Build System <autodist@mambasoft.it> 0.036_01-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:27:53 +01:00
|
|
|
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 0.036-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:27:53 +01:00
|
|
|
* Sat Nov 16 2013 Automatic Build System <autodist@mambasoft.it> 0.035-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu May 16 2013 Automatic Build System <autodist@mambasoft.it> 0.034-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Mar 01 2013 Automatic Build System <autodist@mambasoft.it> 0.033-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jan 23 2013 Automatic Build System <autodist@mambasoft.it> 0.030-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jan 19 2013 Automatic Build System <autodist@mambasoft.it> 0.029-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jan 11 2013 Automatic Build System <autodist@mambasoft.it> 0.028_02-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Nov 19 2012 Automatic Build System <autodist@mambasoft.it> 0.028-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.021-2mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Sat Nov 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.021-1mamba
|
|
|
|
- update to 0.021
|
|
|
|
|
|
|
|
* Fri Feb 18 2011 gil <puntogil@libero.it> 0.018-1mamba
|
|
|
|
- package created by autospec
|