902965
%global dropdir %(pkg-config libpcsclite --variable usbdropdir 2>/dev/null)
902965
%global pcsc_lite_ver 1.8.9
902965
%global upstream_build 4238
902965
902965
Name:           pcsc-lite-ccid
902965
Version:        1.4.29
ac8550
Release:        5.1%{?dist}
902965
Summary:        Generic USB CCID smart card reader driver
902965
902965
Group:          System Environment/Libraries
902965
License:        LGPLv2+
902965
URL:            http://pcsclite.alioth.debian.org/ccid.html
902965
Source0:        https://alioth.debian.org/frs/download.php/file/%{upstream_build}/ccid-%{version}.tar.bz2
902965
Source1:	ccid-%{version}.tar.bz2.asc
902965
Source2:	gpgkey-F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E.gpg
902965
Patch0:		ccid-1.4.26-omnikey-3121.patch
902965
Patch1:		ccid-1.4.29-maxreaders.patch
902965
Patch2:         ccid-1.4.29-add-ccid-1.4.32-readers.patch
902965
902965
BuildRequires:  perl-interpreter
902965
BuildRequires:  perl-Getopt-Long
902965
BuildRequires:  libusb1-devel
902965
BuildRequires:  pcsc-lite-devel >= %{pcsc_lite_ver}
902965
BuildRequires:  gnupg2 gcc
902965
Requires(post): systemd
902965
Requires(postun): systemd
902965
Requires:       pcsc-lite%{?_isa} >= %{pcsc_lite_ver}
902965
Provides:       pcsc-ifd-handler
902965
# Provide upgrade path from 'ccid' package
902965
Obsoletes:      ccid < 1.4.0-3
902965
Provides:       ccid = %{version}-%{release}
902965
902965
%description
902965
Generic USB CCID (Chip/Smart Card Interface Devices) driver for use with the
902965
PC/SC Lite daemon.
902965
902965
902965
%prep
902965
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
902965
%setup -q -n ccid-%{version}
902965
%patch0 -p1 -b .omnikey
902965
%patch1 -p0 -b .maxreaders
902965
%patch2 -p1 -b .ccid-1-4-32
902965
902965
%build
902965
%configure --enable-twinserial
902965
make %{?_smp_mflags}
902965
902965
902965
%install
902965
make install DESTDIR=$RPM_BUILD_ROOT
902965
cp -p src/openct/LICENSE LICENSE.openct
902965
902965
902965
%post
902965
/bin/systemctl try-restart pcscd.service >/dev/null 2>&1 || :
902965
902965
%postun
902965
/bin/systemctl try-restart pcscd.service >/dev/null 2>&1 || :
902965
902965
902965
%files
902965
%doc AUTHORS ChangeLog COPYING LICENSE.openct README
902965
%{dropdir}/ifd-ccid.bundle/
902965
%{dropdir}/serial/
902965
%config(noreplace) %{_sysconfdir}/reader.conf.d/libccidtwin
902965
902965
902965
%changelog
ac8550
* Thu Jun 17 2021 Bob Relyea <rrelyea@redhat.com> - 1.4.29-5.1
ac8550
- rebuild to retrigger CI
ac8550
ac8550
* Thu Jun 17 2021 Bob Relyea <rrelyea@redhat.com> - 1.4.29-5
ac8550
- Increase readers from 32 to 48.
ac8550
902965
* Thu Jun 11 2020 Bob Relyea <rrelyea@redhat.com> - 1.4.29-4
902965
- update the reader list from new readers added to upstream ccid 1.4.32
902965
902965
* Fri Sep 7 2018 Bob Relyea <rrelyea@redhat.com> - 1.4.29-3.1
902965
- Test gating
902965
902965
* Fri Sep 7 2018 Bob Relyea <rrelyea@redhat.com> - 1.4.29-3
902965
- fix broken dist variable in spec file.
902965
902965
* Fri Aug 24 2018 Bob Relyea <rrelyea@redhat.com> - 1.4.29-2
902965
- Increase readers from 16 to 32.
902965
902965
* Wed Feb 21 2018 Jakub Jelen <jjelen@redhat.com> - 1.4.29-1
902965
- New upstream release (#1547482)
902965
902965
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.28-2
902965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
902965
902965
* Fri Oct 20 2017 Jakub Jelen <jjelen@redhat.com> - 1.4.28-1
902965
- New upstream release (#1504404)
902965
902965
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.27-3
902965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
902965
902965
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.27-2
902965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
902965
902965
* Mon May 22 2017 Jakub Jelen <jjelen@redhat.com> - 1.4.27-1
902965
- New upstream release (#1453026)
902965
902965
* Thu Mar 02 2017 Jakub Jelen <jjelen@redhat.com> - 1.4.26-3
902965
- Return support for OMNIKEY CardMan 3121 long writes (#1420024)
902965
902965
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.26-2
902965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
902965
902965
* Mon Jan  9 2017 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.4.26-1
902965
- Updated to 1.4.26
902965
902965
* Mon Nov 21 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.4.25-1
902965
- Updated to 1.4.25
902965
902965
* Tue Jun 21 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.4.24-1
902965
- Updated to 1.4.24
902965
902965
* Mon Apr 25 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.4.23-1
902965
- Updated to 1.4.23 (#1328849, #1330087)
902965
- Added gpg verification of package as part of build process
902965
902965
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.22-2
902965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
902965
902965
* Mon Jan 11 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.4.22-1
902965
- Updated to 1.4.22
902965
902965
* Thu Nov 12 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.4.21-1
902965
- Updated to 1.4.21
902965
902965
* Wed Aug  5 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.4.20-1
902965
- Updated to 1.4.20
902965
902965
* Fri Jul 10 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.4.19-1
902965
- Updated to 1.4.19 (#1241842)
902965
902965
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.18-2
902965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
902965
902965
* Thu Sep 18 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.4.18-1
902965
- Update to 1.4.18
902965
902965
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.17-2
902965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
902965
902965
* Thu Jun 12 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.4.17-1
902965
- Update to 1.4.17
902965
902965
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.13-2
902965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
902965
902965
* Sun Oct 20 2013 Kalev Lember <kalevlember@gmail.com> - 1.4.13-1
902965
- Update to 1.4.13
902965
- Tighten pcsc-lite deps with %%{?_isa}
902965
902965
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.11-2
902965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
902965
902965
* Wed Jun 12 2013 Kalev Lember <kalevlember@gmail.com> - 1.4.11-1
902965
- Update to 1.4.11
902965
902965
* Wed Apr 17 2013 Kalev Lember <kalevlember@gmail.com> - 1.4.10-1
902965
- Update to 1.4.10
902965
902965
* Thu Feb 28 2013 Kalev Lember <kalevlember@gmail.com> - 1.4.9-1
902965
- Update to 1.4.9
902965
902965
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-2
902965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
902965
902965
* Sun Oct 07 2012 Kalev Lember <kalevlember@gmail.com> - 1.4.8-1
902965
- Update to 1.4.8
902965
902965
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.7-2
902965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
902965
902965
* Tue Jun 26 2012 Kalev Lember <kalevlember@gmail.com> - 1.4.7-1
902965
- Update to 1.4.7
902965
902965
* Sat Apr 07 2012 Kalev Lember <kalevlember@gmail.com> - 1.4.6-1
902965
- Update to 1.4.6
902965
902965
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5-2
902965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
902965
902965
* Fri Oct 14 2011 Kalev Lember <kalevlember@gmail.com> - 1.4.5-1
902965
- Update to 1.4.5
902965
- Switch to systemctl for restarting pcscd after upgrade now that it is using
902965
  native systemd unit files.
902965
902965
* Fri May 27 2011 Kalev Lember <kalev@smartlink.ee> - 1.4.4-1
902965
- Update to 1.4.4
902965
- Clean up the spec file for modern rpmbuild
902965
902965
* Sat Apr 02 2011 Kalev Lember <kalev@smartlink.ee> - 1.4.3-1
902965
- Update to 1.4.3
902965
- GPLv2+ licensed RSA_SecurID no longer gets installed, which changes
902965
  the license of the binary RPM from 'LGPLv2+ and GPLv2+' to 'LGPLv2+'.
902965
902965
* Tue Mar 29 2011 Kalev Lember <kalev@smartlink.ee> - 1.4.2-2
902965
- Don't install the udev rules
902965
902965
* Fri Feb 25 2011 Kalev Lember <kalev@smartlink.ee> - 1.4.2-1
902965
- Update to 1.4.2
902965
902965
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-2
902965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
902965
902965
* Mon Dec 13 2010 Kalev Lember <kalev@smartlink.ee> - 1.4.1-1
902965
- Update to 1.4.1
902965
902965
* Thu Dec 09 2010 Kalev Lember <kalev@smartlink.ee> - 1.4.0-4
902965
- Install src/openct/LICENSE file as LICENSE.openct in docs (#660600)
902965
- Added 'and GPLv2+' to license tag to cover RSA_SecurID (#660600)
902965
902965
* Tue Dec 07 2010 Kalev Lember <kalev@smartlink.ee> - 1.4.0-3
902965
- Renamed ccid package to pcsc-lite-ccid (#654377)
902965
- Mark files under reader.conf.d as config(noreplace)
902965
- Don't mark udev rules as config
902965
902965
* Tue Dec 07 2010 Kalev Lember <kalev@smartlink.ee> - 1.4.0-2
902965
- Removed ExcludeArch: s390 s390x as these arches now have libusb1
902965
- Updated description
902965
902965
* Wed Aug 04 2010 Kalev Lember <kalev@smartlink.ee> - 1.4.0-1
902965
- Update to 1.4.0
902965
- Build against libusb1 instead of libusb 0.1
902965
- Install libccidtwin configuration file
902965
- Spec file clean up
902965
902965
* Sun Jul 04 2010 Kalev Lember <kalev@smartlink.ee> - 1.3.13-1
902965
- Update to 1.3.13
902965
902965
* Thu Nov 19 2009 Kalev Lember <kalev@smartlink.ee> - 1.3.11-1
902965
- Updated to ccid 1.3.11
902965
- Removed iso-8859-1 to utf-8 conversion as the files are in utf-8 now
902965
902965
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.9-2
902965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
902965
902965
* Tue Feb 24 2009 Bob Relyea <rrelyea@redhat.com> - 1.3.9-1
902965
- update to ccid 1.3.9
902965
902965
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-2
902965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
902965
902965
* Tue Aug 26 2008 Bob Relyea <rrelyea@redhat.com> - 1.3.8-1
902965
- update to ccid 1.3.8
902965
902965
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.1-4
902965
- Autorebuild for GCC 4.3
902965
902965
* Mon Aug 20 2007 Bob Relyea <rrelyea@redhat.com> - 1.2.1-3
902965
- Update License description to the new Fedora standard
902965
902965
* Mon Apr 30 2007 Bob Relyea <rrelyea@redhat.com> - 1.2.1-2
902965
- Fix the missed use of the version macro
902965
902965
* Tue Feb 06 2007 Bob Relyea <rrelyea@redhat.com> - 1.2.1-1
902965
- Pick up ccid 1.2.1
902965
- use pcscd 'hotplug' feature instead of restarting the daemon
902965
- add enable_udev
902965
902965
* Mon Nov 06 2006 Bob Relyea <rrelyea@redhat.com> - 1.1.0-2
902965
- Fix version macro to remove '-'
902965
902965
* Thu Nov 02 2006 Bob Relyea <rrelyea@redhat.com> - 1.1.0-1
902965
- Pickup ccid 1.1.0
902965
902965
* Thu Jul 20 2006 Florian La Roche <laroche@redhat.com> - 1.0.1-5
902965
- require initscripts for post/postun
902965
902965
* Sun Jul 16 2006 Florian La Roche <laroche@redhat.com> - 1.0.1-4
902965
- fix excludearch line
902965
902965
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-3.1
902965
- rebuild
902965
902965
* Mon Jul 10 2006 Bob Relyea <rrelyea@redhat.com> - 1.0.1-3
902965
- remove s390 from the build
902965
902965
* Mon Jun  5 2006 Bob Relyea <rrelyea@redhat.com> - 1.0.1-2
902965
- Move to Fedora Core, removed %%{_dist}.
902965
902965
* Sat Apr 22 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.0.1-1
902965
- 1.0.1.
902965
902965
* Mon Mar  6 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.0.0-1
902965
- 1.0.0, license changed to LGPL.
902965
902965
* Wed Feb 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.4.1-7
902965
- Rebuild.
902965
902965
* Thu Nov  3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.4.1-6
902965
- Clean up build dependencies.
902965
- Convert docs to UTF-8.
902965
902965
* Thu Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.4.1-5
902965
- rebuilt
902965
902965
* Fri Feb 25 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.4.1-4
902965
- Drop Epoch: 0.
902965
- Improve summary.
902965
- Build with dependency tracking disabled.
902965
902965
* Thu Jul  1 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.1-0.fdr.3
902965
- Restart pcscd in post(un)install phase if it's available and running.
902965
902965
* Thu May 13 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.1-0.fdr.2
902965
- Provide pcsc-ifd-handler (idea from Debian).
902965
902965
* Sat Feb 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.1-0.fdr.1
902965
- Update to 0.4.1.
902965
902965
* Fri Feb 13 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.0-0.fdr.1
902965
- Update to 0.4.0.
902965
902965
* Wed Nov  5 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.3.2-0.fdr.1
902965
- Update to 0.3.2.
902965
- Update URL.
902965
902965
* Thu Oct 16 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.3.1-0.fdr.1
902965
- Update to 0.3.1.
902965
902965
* Wed Sep 10 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.3.0-0.fdr.1
902965
- Update to 0.3.0.
902965
902965
* Wed Aug 27 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.2.0-0.fdr.1
902965
- Update to 0.2.0.
902965
902965
* Tue Aug 19 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.1.0-0.fdr.1
902965
- First build.