From 91fca4cd9335cc2500cd9189bee4e1228b23a40a Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:40:26 +0100 Subject: [PATCH] automatic version update by autodist [release 1.4.13-1mamba;Fri Apr 05 2013] --- README.md | 2 ++ perl-Chipcard-PCSC.spec | 68 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 perl-Chipcard-PCSC.spec diff --git a/README.md b/README.md index b76d6fc..0f5c5cc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Chipcard-PCSC +Chipcard::PCSC - Smart card reader interface library. + diff --git a/perl-Chipcard-PCSC.spec b/perl-Chipcard-PCSC.spec new file mode 100644 index 0000000..7ca55dc --- /dev/null +++ b/perl-Chipcard-PCSC.spec @@ -0,0 +1,68 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Chipcard-PCSC +Version: 1.4.13 +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: http://ludovic.rousseau.free.fr/softwares/pcsc-perl/pcsc-perl-%{version}.tar.bz2 +License: Artistic, GPL +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: perl-devel >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Chipcard::PCSC - Smart card reader interface library. + +%prep + +%setup -q -n pcsc-perl-%{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 +* 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