From 2b77e426253ba9a758fc9abe893564497ad270af Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Wed, 1 Jun 2022 21:26:23 +0200 Subject: [PATCH] initial package creation Signed-off-by: Toshaan Bharvani --- SOURCES/gpgkey-A3DDE969.gpg | Bin 0 -> 4384 bytes SPECS/libcacard.spec | 143 ++++++++++++++++++++++++++++++++++++ 2 files changed, 143 insertions(+) create mode 100644 SOURCES/gpgkey-A3DDE969.gpg create mode 100644 SPECS/libcacard.spec diff --git a/SOURCES/gpgkey-A3DDE969.gpg b/SOURCES/gpgkey-A3DDE969.gpg new file mode 100644 index 0000000000000000000000000000000000000000..61fb8f6ca48f63e362248b32287f7dc07d391995 GIT binary patch literal 4384 zcma);XEYq@x`3zXLzJkamqCbLB5L#&JvuYd89@daqLb00MMUpJLJ%dQh7m197epB~ zN^F8e9R??R?{n7OYu&ZZy+6Nqt@qdSKF|8Hfk{O7*?=WLO2CF-g>*C}#WI+8;AvYc z`T3b&7~ep!^UuJJKa?O0vc_jW`0G!w@#@?HydU>#GaSdmYoeqwl^7f1p@ZvzuZe^v ze!R0fHiqcl=Fbr??s3ij_IE({10 zQ3?!I&X4#Y;;{3=f}N?m{q*hA{US{8kt4=~a27fjxvHkL{^cB%jE<){dzf4+MyB z3b6eu$#5MTiu2pA%q$Y>Jjq&e1Y@$bmT31I^+Q$extU%w3Jq_~T&2S7b@G%d@sVdiRtYGI^x{y5nO~cP@ zZu4TkoyI4F(z4hHx;2?!WmyEjJWOXi?F zz}p!H&bI)xKmf3TU(dnwkt3I$%L5m0F2MjFU(Xv{ib&+2&pW;@&h8HWqE0?u%JIN) zqU%61fC7jWObj6>BL$H#P>_>BKtzlnFc8E61TjT0aue+hq=jV^PAQ|3s3r$JSH`}M zTk8>n?z4gHK`cN31v$-shH+|?fJigR2jO0A66@-kvusHkbFSzF=l$fX9$kB;D}62r zgq>rOgrT6(vOzPLD$T+J3%+aYutnw7w*Gm+{&2;#M=6JfY*`3i5Py}u;6qUekp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ST{UH0 zsI9Xk%dEo6c-%#52lRzk)CrRy@FHb^{fR89dUycc3AAD6_3>NSkmH_ITm(awnLxyB3_6&}Vk;@l#&&k7}({7iN`9B6l8T)OOYs@iGXZi~}zRN>40n?!`1N|+` zo4A#gCWYc#c{^j8?X)pLO?d^0MkFuzSj8*}i1*@wu?IKQ>P^J7qgMnRH6o>o`4#Qz zVy%_6w8X0i9-!kJGrUJE3M!*Yd5=A7@?rxe!! literal 0 HcmV?d00001 diff --git a/SPECS/libcacard.spec b/SPECS/libcacard.spec new file mode 100644 index 0000000..e1d10d1 --- /dev/null +++ b/SPECS/libcacard.spec @@ -0,0 +1,143 @@ +Name: libcacard +Version: 2.8.1 +Release: 2%{?dist} +Summary: CAC (Common Access Card) library +License: LGPLv2+ +URL: https://gitlab.freedesktop.org/spice/libcacard +Source0: http://www.spice-space.org/download/libcacard/%{name}-%{version}.tar.xz +Source1: http://www.spice-space.org/download/libcacard/%{name}-%{version}.tar.xz.sig +Source2: gpgkey-A3DDE969.gpg +Epoch: 3 + +BuildRequires: gcc +BuildRequires: glib2-devel +BuildRequires: nss-devel +BuildRequires: softhsm +BuildRequires: opensc +BuildRequires: gnutls-utils +BuildRequires: nss-tools +BuildRequires: openssl +BuildRequires: gnupg2 +BuildRequires: meson +BuildRequires: gcc-c++ +BuildRequires: pcsc-lite-devel +Conflicts: qemu-common < 2:2.5.0 + +%description +This library provides emulation of smart cards to a virtual card +reader running in a guest virtual machine. + +It implements DoD CAC standard with separate pki containers +(compatible coolkey), using certificates read from NSS. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} +%setup -q + +%build +%meson +%meson_build + +%check +# Do not run the tests on s390x, which fails +%ifnarch s390x +%meson_test +%endif + +%install +%meson_install + +%ldconfig_scriptlets + +%files +%license COPYING +%doc NEWS +%{_libdir}/libcacard.so.* + +%files devel +%{_includedir}/cacard +%{_libdir}/libcacard.so +%{_libdir}/pkgconfig/libcacard.pc + +%changelog +* Thu Jan 20 2022 Fedora Release Engineering - 3:2.8.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Aug 16 2021 Jakub Jelen - 2.8.1-1 +- New upstream release + +* Mon Aug 2 2021 Marc-André Lureau - 3:2.8.0-5.20210801gitcf6121deb4 +- Fix UNKNOWN pkg-config version, rhbz#1989031 + +* Sun Aug 1 2021 Marc-André Lureau - 3:2.8.0-4.20210801gitcf6121deb4 +- Update to git snapshot v2.8.0.22 +- Fix FTBFS rhbz#1987641 + +* Thu Jul 22 2021 Fedora Release Engineering - 3:2.8.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 3:2.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Oct 06 2020 Jakub Jelen - 2.8.0-1 +- New upstream release + +* Tue Jul 28 2020 Fedora Release Engineering - 3:2.7.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 3:2.7.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Aug 29 2019 Jakub Jelen - 2.7.0-3 +- Backport an upstream patch to unbreak testing + +* Thu Jul 25 2019 Fedora Release Engineering - 3:2.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 3:2.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Aug 31 2018 Christophe Fergeau - 2.6.1-1 +- Update to new upstream release + +* Wed Aug 8 2018 Marc-André Lureau - 3:2.6.0-1 +- Update to release v2.6.0 +- remove vscclient, drop libcacard-tools + +* Fri Jul 13 2018 Fedora Release Engineering - 3:2.5.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 3:2.5.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 3:2.5.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 3:2.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Mar 01 2017 Marc-André Lureau - 3:2.5.3-1 +- new upstream release 2.5.3 + +* Fri Feb 10 2017 Fedora Release Engineering - 3:2.5.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 3:2.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Dec 8 2015 Marc-André Lureau - 3:2.5.2-1 +- Update to latest libcacard's release (2.5.2) + +* Wed Nov 25 2015 Fabiano Fidêncio - 3:2.5.1-1 +- Update to latest libcacard's release (2.5.1) + +* Wed Sep 23 2015 Marc-André Lureau - 3:2.5.0-1 +- Initial standalone libcacard package.