From dabf6bec706d1dfbbfb90fec732be7f609f9ed58 Mon Sep 17 00:00:00 2001 From: tigro Date: Fri, 22 Nov 2024 13:13:32 +0300 Subject: [PATCH] import pcsc-perl-1.4.14-24.el9 --- .gitignore | 1 + .pcsc-perl.metadata | 1 + SOURCES/pcsc-perl-1.4.14.tar.bz2.asc | 17 ++ SPECS/pcsc-perl.spec | 301 +++++++++++++++++++++++++++ 4 files changed, 320 insertions(+) create mode 100644 .gitignore create mode 100644 .pcsc-perl.metadata create mode 100644 SOURCES/pcsc-perl-1.4.14.tar.bz2.asc create mode 100644 SPECS/pcsc-perl.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..46d39ed --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/pcsc-perl-1.4.14.tar.bz2 diff --git a/.pcsc-perl.metadata b/.pcsc-perl.metadata new file mode 100644 index 0000000..46c9636 --- /dev/null +++ b/.pcsc-perl.metadata @@ -0,0 +1 @@ +dd1fd3a7272c8221e16c3e83160e23fba1c4e494 SOURCES/pcsc-perl-1.4.14.tar.bz2 diff --git a/SOURCES/pcsc-perl-1.4.14.tar.bz2.asc b/SOURCES/pcsc-perl-1.4.14.tar.bz2.asc new file mode 100644 index 0000000..cee3e41 --- /dev/null +++ b/SOURCES/pcsc-perl-1.4.14.tar.bz2.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAABCAAGBQJWTfd4AAoJEHihtN/o+cV+aakP/A+eL/1LkC/krBroBZRmlOrw +89XHlR7mQtJT7Q3/cDRX1jyxwm4LEGxTtVf5VdadeHheAWFryJpcF9Ui8999rIyz +3DggC/XZuDFG1J+HBTmpHILR+c+CcLBd6RHv9KK2YF5hpcrRa+DfeahtvNiTEDwR +Lz0Vfw72pE0PYvXKX8Jugn0M92C1U6OWY6ofAWHrjv4iiTWmnk7Hh0bsRaUhXZ8l +m2Z7CYEtvQ4rm3LZzYQla2FCzlUo8JQ8i+VX42FaUNpAGku+rQPr3oXuylUUHi/B +LjRYt343NYzq145mn1iAwXgoWVJlI8z56eLCoo5i9lgbEuF13NYUoLapQM8n8Puc +z5esmR0C/kgAwU4yUmUdRSeBZFrC9IVfgkSxTv8/aix+OF+LU5SMa6tMAHQ9E+JP +S/KuRLrPsoszGIiSdegE/XY66OaxuOnVzv/K8Mjjs2R0BUSp1FUodM6MhvD/FVaY +8vunrnMybL5ctjRFfpV1QPBFfNENEmujbaxcKPhMq2Jah81eDTNScd471UkaYI0i +fHDEnHMrKBgvZooUEKCoLZBJsrHY9nifbvsa5ZZeCXfNsG+wfvfJidh7gvda+1nb +VfFJ3g1XJ6vmjtMzqC4iLrC3k5IqH+SawF17zqWVXqx9AmkfWHIa6i0mTPZ/hBEO +zUWPoliu7YhB6yc7V0hO +=NBNV +-----END PGP SIGNATURE----- diff --git a/SPECS/pcsc-perl.spec b/SPECS/pcsc-perl.spec new file mode 100644 index 0000000..aa21694 --- /dev/null +++ b/SPECS/pcsc-perl.spec @@ -0,0 +1,301 @@ +%define pcscver 1.3.0 +%define pcsclib libpcsclite.so.1 +%if 0%{?__isa_bits} == 64 +%define mark64 ()(64bit) +%endif + +Name: pcsc-perl +Version: 1.4.14 +Release: 24%{?dist} +Summary: Perl interface to the PC/SC smart card library + +License: GPLv2+ +URL: http://ludovic.rousseau.free.fr/softwares/%{name}/ +Source0: %{url}%{name}-%{version}.tar.bz2 +Source1: %{url}%{name}-%{version}.tar.bz2.asc + +BuildRequires: gcc +BuildRequires: coreutils +BuildRequires: glibc-common +BuildRequires: grep +BuildRequires: make +BuildRequires: pcsc-lite-devel >= %{pcscver} +BuildRequires: perl-interpreter +BuildRequires: perl-devel +BuildRequires: perl-generators +BuildRequires: perl(Config) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +Requires: %{pcsclib}%{?mark64} +Provides: perl-pcsc = %{version}-%{release} + +%description +This library allows to communicate with a smart card using PC/SC +interface (pcsc-lite) from a Perl script. + +%prep +%setup -q +chmod 644 examples/* # avoid dependencies +f=Changelog ; iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f + + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" DEFINE=-Wall +make %{?_smp_mflags} + + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check +# tests need configured readers etc +if ! grep -qF 'dlopen("%{pcsclib}"' PCSCperl.h ; then # sanity check + echo "ERROR: pcsc lib name mismatch in PCSCperl.h/dependencies" ; exit 1 +fi + + +%files +%license LICENCE +%doc Changelog README examples/ +%{perl_vendorarch}/auto/Chipcard/ +%{perl_vendorarch}/Chipcard/ +%{_mandir}/man3/Chipcard::PCSC*.3* + + +%changelog +* Fri Nov 22 2024 Arkady L. Shane - 1.4.14-24 +- Rebuilt for MSVSphere 9.5 + +* Thu Jul 20 2023 Fedora Release Engineering - 1.4.14-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jul 11 2023 Jitka Plesnikova - 1.4.14-23 +- Perl 5.38 rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 1.4.14-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 1.4.14-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon May 30 2022 Jitka Plesnikova - 1.4.14-20 +- Perl 5.36 rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 1.4.14-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 1.4.14-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 1.4.14-17 +- Perl 5.34 rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1.4.14-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 1.4.14-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 22 2020 Jitka Plesnikova - 1.4.14-14 +- Perl 5.32 rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 1.4.14-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 1.4.14-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 30 2019 Jitka Plesnikova - 1.4.14-11 +- Perl 5.30 rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.4.14-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.4.14-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 1.4.14-8 +- Perl 5.28 rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 1.4.14-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.4.14-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.4.14-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 1.4.14-4 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.4.14-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 1.4.14-2 +- Perl 5.24 rebuild + +* Fri Mar 11 2016 Petr Pisar - 1.4.14-1 +- 1.4.14 bump + +* Thu Feb 04 2016 Fedora Release Engineering - 1.4.13-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Sep 14 2015 Marcin Juszkiewicz - 1.4.13-5 +- Fix use of __isa_bits macro + +* Mon Sep 14 2015 Marcin Juszkiewicz - 1.4.13-4 +- Use __isa_bits macro instead of list of 64-bit architectures + +* Thu Jun 18 2015 Fedora Release Engineering - 1.4.13-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 03 2015 Jitka Plesnikova - 1.4.13-2 +- Perl 5.22 rebuild + +* Thu Apr 30 2015 Jitka Plesnikova - 1.4.13-1 +- 1.4.13 bump + +* Wed Aug 27 2014 Jitka Plesnikova - 1.4.12-11 +- Perl 5.20 rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 1.4.12-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Jun 06 2014 Fedora Release Engineering - 1.4.12-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 1.4.12-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 1.4.12-7 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.4.12-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 1.4.12-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jun 08 2012 Petr Pisar - 1.4.12-4 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.4.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jun 20 2011 Marcela Mašláňová - 1.4.12-2 +- Perl mass rebuild + +* Tue Jun 7 2011 Tomas Mraz - 1.4.12-1 +- New upstream version + +* Tue Feb 08 2011 Fedora Release Engineering - 1.4.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Sep 7 2010 Tomas Mraz - 1.4.10-1 +- New upstream version + +* Tue Jun 01 2010 Marcela Maslanova - 1.4.8-3 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 1.4.8-2 +- rebuild against perl 5.10.1 + +* Fri Sep 25 2009 Tomas Mraz - 1.4.8-1 +- New upstream version + +* Sat Jul 25 2009 Fedora Release Engineering - 1.4.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.4.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Mar 27 2008 Ville Skyttä - 1.4.7-1 +- 1.4.7. + +* Thu Mar 06 2008 Tom "spot" Callaway - 1.4.6-4 +- Rebuild for new perl + +* Tue Feb 19 2008 Fedora Release Engineering - 1.4.6-3 +- Autorebuild for GCC 4.3 + +* Tue Aug 7 2007 Ville Skyttä - 1.4.6-2 +- Apply #defines patch only when building with pcsc-lite < 1.4.0. +- License: GPLv2+ + +* Tue Apr 17 2007 Ville Skyttä - 1.4.6-1 +- 1.4.6 + PCSCperl.h #defines fixes. +- BuildRequire perl(ExtUtils::MakeMaker). + +* Sun Dec 24 2006 Ville Skyttä - 1.4.4-3 +- Eliminate file based dependencies. + +* Thu Nov 2 2006 Ville Skyttä - 1.4.4-2 +- Rebuild with pcsc-lite 1.3.2 for extended APDU support. + +* Tue Aug 15 2006 Ville Skyttä - 1.4.4-1 +- 1.4.4. + +* Wed May 17 2006 Ville Skyttä - 1.4.3-1 +- 1.4.3. + +* Mon Mar 6 2006 Ville Skyttä - 1.4.1-1 +- 1.4.1. +- Don't hardcode required pcsc-lite-libs version, use shared lib file instead. +- Convert docs to UTF-8. + +* Wed Feb 15 2006 Ville Skyttä - 1.3.1-8 +- Rebuild, cosmetics. + +* Sun May 22 2005 Jeremy Katz - 1.3.1-7 +- rebuild on all arches + +* Thu May 19 2005 Ville Skyttä - 1.3.1-6 +- Provide perl-pcsc, fixate required pcsc-lite version to 1.2.0. + +* Wed Apr 6 2005 Michael Schwendt - 1.3.1-5 +- rebuilt + +* Fri Jan 7 2005 Ville Skyttä - 0:1.3.1-4 +- Honor $RPM_OPT_FLAGS, remove (some) extra include dirs from build (#1281). +- Improve summary and description. + +* Wed May 12 2004 Ville Skyttä - 0:1.3.1-0.fdr.3 +- BuildRequire perl >= 1:5.6.1 for vendor install dir support. +- Use pure_install to avoid perllocal.pod workarounds. + +* Sun Apr 25 2004 Ville Skyttä - 0:1.3.1-0.fdr.2 +- Require perl(:MODULE_COMPAT_*). + +* Fri Apr 2 2004 Ville Skyttä - 0:1.3.1-0.fdr.1 +- Update to 1.3.1. + +* Sun Feb 8 2004 Ville Skyttä - 0:1.3.0-0.fdr.2 +- Reduce directory ownership bloat. + +* Wed Dec 17 2003 Ville Skyttä - 0:1.3.0-0.fdr.1 +- Update to 1.3.0. + +* Sun Sep 14 2003 Ville Skyttä - 0:1.2.2-0.fdr.4 +- More spec cleanups. + +* Wed Aug 27 2003 Ville Skyttä - 0:1.2.2-0.fdr.3 +- Spec cleanups, install into vendor dirs. + +* Fri Jul 4 2003 Ville Skyttä - 0:1.2.2-0.fdr.2 +- Fix dir ownerships, non-root strip during build. + +* Thu May 29 2003 Ville Skyttä - 0:1.2.2-0.fdr.1 +- Update to 1.2.2. +- Drop patch and hacks, already applied/fixed upstream. + +* Sun May 25 2003 Ville Skyttä - 0:1.2.1-0.fdr.1 +- Update to 1.2.1. +- Fix build and runtime dependencies. + +* Thu May 22 2003 Ville Skyttä - 0:1.2.0-0.fdr.1 +- First build.