%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-JSON Version: 4.10 Release: 2mamba Summary: JSON - JSON (JavaScript Object Notation) encoder/decoder Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.cpan.org Source: https://cpan.metacpan.org/modules/by-module/JSON/JSON-%{version}.tar.gz License: GPL, Artistic ## AUTOBUILDREQ-BEGIN BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: perl >= 2:5.36.0 Requires: perl >= %perl_major_ver Provides: perl(JSON::backportPP) Provides: perl(JSON::backportPP::Boolean) %description JSON - JSON (JavaScript Object Notation) encoder/decoder %prep %setup -q -n JSON-%{version} #%patch0 -p1 %build %{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %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 -f $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 README %changelog * Sat Apr 15 2023 Sdk Build System 4.10-2mamba - rebuilt with perl 5.36.0 * Sun Oct 09 2022 Automatic Build System 4.10-1mamba - automatic version update by autodist * Mon Aug 01 2022 Automatic Build System 4.09-1mamba - automatic version update by autodist * Mon Aug 01 2022 Automatic Build System 4.08-1mamba - automatic version update by autodist * Fri Jun 24 2022 Automatic Build System 4.07-1mamba - automatic version update by autodist * Sun May 22 2022 Automatic Build System 4.06-1mamba - automatic version update by autodist * Fri Jan 14 2022 Automatic Build System 4.05-1mamba - automatic version update by autodist * Fri Dec 17 2021 Automatic Build System 4.04-1mamba - automatic version update by autodist * Mon Nov 29 2021 Silvan Calarco 4.03-2mamba - provide perl(JSON::backportPP::Boolean) * Wed Feb 24 2021 Automatic Build System 4.03-1mamba - automatic version update by autodist * Sat May 24 2014 Automatic Build System 2.90-1mamba - automatic update by autodist * Thu Oct 24 2013 Automatic Build System 2.61-1mamba - automatic update by autodist * Mon Jun 10 2013 Automatic Build System 2.59-1mamba - automatic version update by autodist * Sun May 26 2013 Automatic Build System 2.58-1mamba - automatic update by autodist * Sat Apr 06 2013 Automatic Build System 2.57-1mamba - automatic version update by autodist * Mon Nov 12 2012 Silvan Calarco 2.53-3mamba - perl 5.16 mass rebuild * Thu Jun 09 2011 Silvan Calarco 2.53-2mamba - provide perl(JSON::backportPP) * Wed Jun 08 2011 Silvan Calarco 2.53-1mamba - package created by autospec