%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-Chipcard-PCSC Version: 1.4.16 Release: 1mamba Summary: Chipcard::PCSC - Smart card reader interface library Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://ludovic.rousseau.free.fr/softwares/pcsc-perl/ Source: https://cpan.metacpan.org/authors/id/W/WH/WHOM/Chipcard-PCSC-v%{version}.tar.gz License: Artistic, GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libperl BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: perl >= 2:5.36.0 BuildRequires: perl-devel >= %perl_major_ver Requires: perl >= %perl_major_ver %description Chipcard::PCSC - Smart card reader interface library. %prep %setup -q -n Chipcard-PCSC-v%{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 find %{buildroot} -name *.so -exec chmod u+w {} \; %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" rm -f .packlist %files -f .packlist %defattr(-,root,root) %changelog * Mon Apr 22 2024 Silvan Calarco 1.4.16-1mamba - update to 1.4.16 * Sun Apr 16 2023 Sdk Build System 1.4.14-3mamba - rebuilt with perl 5.36.0 * Wed Nov 09 2016 Silvan Calarco 1.4.14-2mamba - rebuilt with perl 5.24 * Sun Dec 06 2015 Automatic Build System 1.4.14-1mamba - automatic update by autodist * Fri Apr 05 2013 Automatic Build System 1.4.13-1mamba - automatic version update by autodist * Mon Nov 12 2012 Silvan Calarco 1.4.12-2mamba - perl 5.16 mass rebuild * Fri Apr 15 2011 Silvan Calarco 1.4.12-1mamba - update to 1.4.12 * Fri Apr 15 2011 Silvan Calarco 1.4.10-1mamba - update to 1.4.10 * Thu Jan 28 2010 Silvan Calarco 1.4.7-1mamba - package created by autospec