Browse Source

updated 9 packages

ccid-1.6.0-1

gnupg2-2.4.5-1

libassuan-2.5.7-1

libgcrypt-1.10.3-1

libgpg-error-1.50-1

libksba-1.6.7-1

libusb1-1.0.27-1

npth-1.7-1

pcsc-lite-2.2.3-1
Tomohiro "Tomo-p" KATO 8 months ago
parent
commit
422fe2fab8

+ 37 - 18
c/ccid/ccid-vl.spec

@@ -1,30 +1,37 @@
+%bcond_with systemd
+
 %define dropdir %(pkg-config libpcsclite --variable usbdropdir 2>/dev/null)
-%define libusb1_ver 1.0.9
-%define pcsc_lite_ver 1.8.25
+%define libusb1_ver 1.0.27
+%define pcsc_lite_ver 2.2.3
 
 Name:           ccid
-Version:        1.4.31
-Release:        1%{?_dist_release}
+Version:        1.6.0
+Release:        1%{?_dist_release}%{?with_systemd:.systemd}
 Summary:        Generic USB CCID smart card reader driver
-Summary(ja):        Generic USB CCID smart card reader driver
-Group:          System Environment/Libraries
-
+Summary(ja):    Generic USB CCID smart card reader driver
+Group:          system
 Vendor:         Project Vine
 Distribution:   Vine Linux
 
 License:        LGPLv2+
 URL:            https://ccid.apdu.fr/
-Source0:        https://ccid.apdu.fr/files/%{name}-%{version}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+Source0:        https://ccid.apdu.fr/files/%{name}-%{version}.tar.xz
+Patch0:         ccid-1.4.26-omnikey-3121.patch
 
+BuildRequires:  meson
+BuildRequires:  cmake
+BuildRequires:  flex
 BuildRequires:  libusb1-devel >= %{libusb1_ver}
 BuildRequires:  pcsc-lite-devel >= %{pcsc_lite_ver}
+BuildRequires:  pkgconfig(zlib)
+%if !%{with systemd}
 Requires(post): initscripts
 Requires(postun): initscripts
+%endif
 Requires:       libusb1
 Requires:       pcsc-lite
 Provides:       pcsc-ifd-handler
-Conflicts:	ccid145
+Conflicts:      ccid145
 # 390 does not have libusb or smartCards
 ExcludeArch: s390 s390x
 
@@ -35,36 +42,45 @@ Generic USB CCID (Chip/Smart Card Interface Devices) driver.
 
 %prep
 %setup -q
+%patch0 -p1 -b .omnikey
+
 
 %build
-%configure --disable-dependency-tracking --disable-static --enable-twinserial
-make %{?_smp_mflags}
+%meson -Dserial=true
+
+%meson_build
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+%meson_install
 %{__mkdir_p} $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d
 %{__install} -m 644 src/92_pcscd_ccid.rules $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/92-pcscd_ccid.rules
 
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+cp -p src/openct/LICENSE LICENSE.openct
 
 
 %post
+%if %{with systemd}
+/bin/systemctl try-restart pcscd.service >/dev/null 2>&1 || :
+%else
 [ -x %{_initrddir}/pcscd ] && %{_initrddir}/pcscd status >> /dev/null 2>&1 && %{_sbindir}/pcscd -H > /dev/null 2>&1
 exit 0
+%endif
 
 %postun
+%if %{with systemd}
+/bin/systemctl try-restart pcscd.service >/dev/null 2>&1 || :
+%else
 [ -x %{_initrddir}/pcscd ] && %{_initrddir}/pcscd status >> /dev/null 2>&1 && %{_sbindir}/pcscd -H  > /dev/null 2>&1
 exit 0
+%endif
 
 
 %files
 %defattr(-,root,root,-)
-%license COPYING
-%doc README.md SCARDGETATTRIB.txt
+%license COPYING LICENSE.openct
+%doc AUTHORS README.md
 %{dropdir}/ifd-ccid.bundle/
 %{dropdir}/serial/
 %config(noreplace) %{_sysconfdir}/reader.conf.d/libccidtwin
@@ -72,6 +88,9 @@ exit 0
 
 
 %changelog
+* Thu Jun 27 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.0-1
+- new upstream release.
+
 * Sat Oct 26 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.31-1
 - new upstream release.
 

+ 31 - 11
g/gnupg2/gnupg2-vl.spec

@@ -1,10 +1,12 @@
+%bcond_with systemd
+
 %global install_as_gpg2 0
 
 Summary: Utility for secure communication and data storage
 Summary(ja): GnuPG2 - 安全なデータ交換と保存のためのユーティリティ
 Name:    gnupg2
-Version: 2.4.3
-Release: 1%{?_dist_release}
+Version: 2.4.5
+Release: 1%{?_dist_release}%{?with_systemd:.systemd}
 Group: security
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -32,11 +34,8 @@ Patch22: gnupg-2.2.18-gpg-accept-subkeys-with-a-good-revocation-but-no-self-sig.
 Patch30: gnupg-2.2.21-coverity.patch
 # Revert the introduction of the RFC4880bis draft into defaults
 Patch31: gnupg2-revert-rfc4880bis.patch
-# fix emacs usage etc (see https://dev.gnupg.org/T6481) via upstream patch
-# https://dev.gnupg.org/rG2f872fa68c6576724b9dabee9fb0844266f55d0d
-# cherry-picked on top of gnupg 2.4.2 + gnupg-2.4.1-file-is-digest.patch
-Patch32: gnupg-2.4.2-gpg-Report-BEGIN_-status-before-examining-the-input.patch
-
+# Mostly reverts https://dev.gnupg.org/rGeae28f1bd4a5632e8f8e85b7248d1c4d4a10a5ed
+Patch33: gnupg-2.4.3-restore-systemd-sockets.patch
 
 #BuildRequires: automake libtool texinfo transfig
 BuildRequires: bzip2-devel
@@ -52,10 +51,10 @@ BuildRequires: libusb1-devel
 BuildRequires: pcsc-lite-libs
 BuildRequires: npth-devel
 BuildRequires: readline-devel ncurses-devel
-BuildRequires: zlib-devel
+BuildRequires: pkgconfig(zlib)
 BuildRequires: gnutls-devel
-BuildRequires: sqlite-devel
-BuildRequires: fuse
+BuildRequires: sqlite3-devel
+BuildRequires: fuse fuse3
 Recommends: pinentry
 Recommends: gnupg2-smime
 
@@ -128,7 +127,9 @@ to the base GnuPG package
 
 %patch30 -p1 -b .coverity
 %patch31 -p1 -b .revert-rfc4880bis
-%patch32 -p1 -b .report-begin
+%if %{with systemd}
+%patch33 -p1 -b .systemd
+%endif
 
 # pcsc-lite library major: 0 in 1.2.0, 1 in 1.2.9+ (dlopen()'d in pcsc-wrapper)
 # Note: this is just the name of the default shared lib to load in scdaemon,
@@ -168,6 +169,7 @@ mv %{buildroot}%{_mandir}/man1/gpgv.1 %{buildroot}%{_mandir}/man1/gpgv2.1
 rm -f %{buildroot}%{_bindir}/gpg-zip
 rm -f %{buildroot}%{_bindir}/gpgsplit
 %else
+# compat symlinks
 ln -sf gpg %{buildroot}%{_bindir}/gpg2
 ln -sf gpgv %{buildroot}%{_bindir}/gpgv2
 ln -sf gpg.1 %{buildroot}%{_mandir}/man1/gpg2.1
@@ -180,6 +182,9 @@ ln -sf gnupg.7 %{buildroot}%{_mandir}/man7/gnupg2.7
 # gpgconf.conf
 mkdir -p %{buildroot}%{_sysconfdir}/gnupg
 touch %{buildroot}%{_sysconfdir}/gnupg/gpgconf.conf
+mkdir -p %{buildroot}%{_sysconfdir}/profile.d
+echo "export GPG_TTY=\$(tty)" > %{buildroot}%{_sysconfdir}/profile.d/gnupg2.sh
+echo "setenv GPG_TTY \`tty\`" > %{buildroot}%{_sysconfdir}/profile.d/gnupg2.csh
 
 # more docs
 install -m644 -p AUTHORS NEWS THANKS TODO \
@@ -188,6 +193,13 @@ install -m644 -p AUTHORS NEWS THANKS TODO \
 # info dir
 rm -f %{buildroot}%{_infodir}/dir
 
+%if %{with systemd}
+# Move the systemd user units to appropriate directory
+install -d -m755 %{buildroot}%{_userunitdir}
+mv %{buildroot}%{_pkgdocdir}/examples/systemd-user/*.socket %{buildroot}%{_userunitdir}
+mv %{buildroot}%{_pkgdocdir}/examples/systemd-user/*.service %{buildroot}%{_userunitdir}
+%endif
+
 
 %ifarch x86_64
 %check
@@ -230,6 +242,8 @@ rm -f %{_infodir}/gpgv.info.gz ||:
 %{_pkgdocdir}
 %dir %{_sysconfdir}/gnupg
 %ghost %config(noreplace) %{_sysconfdir}/gnupg/gpgconf.conf
+%{_sysconfdir}/profile.d/gnupg2.sh
+%{_sysconfdir}/profile.d/gnupg2.csh
 ## docs say to install suid root, but fedora/rh security folk say not to
 %if !%{?install_as_gpg2}
 %{_bindir}/gpg
@@ -256,6 +270,9 @@ rm -f %{_infodir}/gpgv.info.gz ||:
 %{_infodir}/*.info*
 %{_mandir}/man?/*
 %exclude %{_mandir}/man?/gpgsm*
+%if %{with systemd}
+%{_userunitdir}/*
+%endif
 
 %files smime
 %{_bindir}/gpgsm*
@@ -264,6 +281,9 @@ rm -f %{_infodir}/gpgv.info.gz ||:
 
 
 %changelog
+* Thu Jun 27 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.4.5-1
+- update to 2.4.5.
+
 * Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.4.3-1
 - update to 2.4.3.
 - re-imported all patches from rawhide.

+ 4 - 1
lib/liba/libassuan/libassuan-vl.spec

@@ -1,6 +1,6 @@
 Name:    libassuan
 Summary: GnuPG IPC library
-Version: 2.5.6
+Version: 2.5.7
 Release: 1%{?_dist_release}
 Group:   system
 Vendor: Project Vine
@@ -92,6 +92,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Jun 27 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.5.7-1
+- updated to 2.5.7.
+
 * Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.5.6-1
 - updated to 2.5.6.
 - dropped install-info scriptlets.

+ 5 - 2
lib/libg/libgcrypt/libgcrypt-vl.spec

@@ -2,7 +2,7 @@
 Summary: A cryptographic library based on the code from GnuPG.
 Summary(ja): GnuPG のコードをベースとした暗号化ライブラリ
 Name: libgcrypt
-Version: 1.10.2
+Version: 1.10.3
 Release: 1%{?_dist_release}
 Group: system
 Vendor: Project Vine
@@ -122,8 +122,11 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
 
 
 %changelog
+* Thu Jun 27 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.10.3-1
+- updated to 1.10.3.
+
 * Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.10.2-1
-- updated to 1.10.1.
+- updated to 1.10.2.
 
 * Thu Jul 14 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.10.1-1
 - updated to 1.10.1.

+ 4 - 5
lib/libg/libgpg-error/libgpg-error-vl.spec

@@ -2,7 +2,7 @@
 Summary:	common error codes for GnuPG related projects
 Summary(ja):	GnuPG 関連プロジェクトで共通のエラーコード
 Name:		libgpg-error
-Version:	1.47
+Version:	1.50
 Release:	1%{?_dist_release}
 Group:		system
 Vendor:		Project Vine
@@ -94,10 +94,6 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 make check
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files -f %{name}.lang
 %defattr(-,root,root)
 %license COPYING COPYING.LIB
@@ -135,6 +131,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Jun 27 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.50-1
+- updated to 1.50.
+
 * Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.47-1
 - updated to 1.47.
 

+ 4 - 6
lib/libk/libksba/libksba-vl.spec

@@ -1,7 +1,7 @@
 Summary: A library to access X.509 and CMS data structures.
 Summary(ja): X.509 および CMS データ構造にアクセスするためのライブラリ
 Name:    libksba
-Version: 1.6.4
+Version: 1.6.7
 Release: 1%{?_dist_release}
 Group: system
 Vendor: Project Vine
@@ -63,10 +63,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
 make check
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
 %defattr(-,root,root,-)
 %license COPYING*
@@ -74,7 +70,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/lib*.so.*
 
 %files devel
-%defattr(-,root,root,-)
 %{_bindir}/ksba-config
 %{_libdir}/lib*.so
 %{_libdir}/pkgconfig/*.pc
@@ -84,6 +79,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Jun 27 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6.7-1
+- new upstream release.
+
 * Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6.4-1
 - new upstream release.
 

+ 6 - 12
lib/libu/libusb1/libusb1-vl.spec

@@ -3,7 +3,7 @@
 Summary: A library which allows userspace access to USB devices
 Summary(ja): USB デバイスにユーザスペースからアクセスするためのライブラリ
 Name: libusb1
-Version: 1.0.24
+Version: 1.0.27
 Release: 1%{?_dist_release}
 Group: system
 Vendor: Project Vine
@@ -64,7 +64,7 @@ This package contains static libraries to develop applications that use libusb1.
 %package -n compat32-%{name}
 Summary: A library which allows userspace access to USB devices
 Summary(ja): USB デバイスにユーザスペースからアクセスするためのライブラリ
-Group:    system
+Group: system,legacy
 Requires: %{name} = %{version}-%{release}
 Requires: compat32-eudev-libudev
 
@@ -79,7 +79,7 @@ this library is not compatible with the original libusb-0.1 series.
 %package -n compat32-%{name}-devel
 Summary: Development files for libusb
 Summary(ja): libusb の開発用ファイル
-Group: programming
+Group: programming,legacy
 Requires: %{name}-devel = %{version}-%{release}
 Requires: compat32-%{name} = %{version}-%{release}
 Requires: compat32-pkgconfig
@@ -118,15 +118,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 rm -rf $RPM_BUILD_ROOT
 
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-%if %{build_compat32}
-%post -n compat32-%{name} -p /sbin/ldconfig
-%postun -n compat32-%{name} -p /sbin/ldconfig
-%endif
-
-
 %files
 %defattr(-,root,root)
 %license COPYING
@@ -158,6 +149,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Jun 27 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.27-1
+- new upstream release.
+
 * Tue Feb 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.24-1
 - new upstream release.
 

+ 7 - 8
n/npth/npth-vl.spec

@@ -1,7 +1,7 @@
 Summary:        The New GNU Portable Threads library
 Name:           npth
-Version:        1.6
-Release:        2%{?_dist_release}
+Version:        1.7
+Release:        1%{?_dist_release}
 Group:          system
 Vendor:         Project Vine
 Distribution:   Vine Linux
@@ -57,24 +57,23 @@ find %{buildroot} -name '*.la' -delete -print
 make check
 
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-
 %files
-%license COPYING COPYING.LESSER
+%license COPYING.LIB
 %{_libdir}/*.so.*
 
 %files devel
 %doc AUTHORS ChangeLog NEWS README
-%{_bindir}/*
 %{_libdir}/*.so
+%{_libdir}/pkgconfig/%{name}.pc
 %{_includedir}/*.h
 %{_mandir}/*/*
 %{_datadir}/aclocal/*
 
 
 %changelog
+* Thu Jun 27 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.7-1
+- new upstream release.
+
 * Tue Feb 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6-2
 - rebuilt with current environment.
 

+ 39 - 62
p/pcsc-lite/pcsc-lite-vl.spec

@@ -4,7 +4,7 @@ Summary:        PC/SC Lite smart card framework and applications
 Summary(ja):    PC/SC Lite スマートカードフレームワークおよびアプリケーション
 
 Name:           pcsc-lite
-Version:        1.9.0
+Version:        2.2.3
 Release:        1%{?_dist_release}%{?with_systemd:.systemd}
 Group:          system
 Vendor:         Project Vine
@@ -12,12 +12,13 @@ Distribution:   Vine Linux
 
 License:        BSD
 URL:            https://pcsclite.apdu.fr/
-Source0:        https://pcsclite.apdu.fr/files/%{name}-%{version}.tar.bz2
+Source0:        https://pcsclite.apdu.fr/files/%{name}-%{version}.tar.xz
 Source1:        org.debian.pcsc-lite.policy
 Source2:        pcscd.init
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
+BuildRequires:  meson
 BuildRequires:  polkit-devel
 BuildRequires:  doxygen
 BuildRequires:  flex
@@ -65,23 +66,13 @@ Group:          programming
 Requires:       %{name}-libs = %{version}-%{release}
 Requires:       pkgconfig
 Provides:       libpcsc-lite-devel = %{version}-%{release}
+Obsoletes:      %{name}-spy < 2.2.3
+Provides:       %{name}-spy = %{version}-%{release}
 
 %description    devel
 PC/SC Lite development files.
 
 
-%package        spy
-Summary:        PC/SC API spy
-Summary(ja):    PC/SC API spy
-Group:          programming
-Requires:       %{name}-libs = %{version}-%{release}
-Requires:       python3
-
-%description    spy
-The purpose of pcsc-spy is to spy all the calls between the PC/SC client
-and the PC/SC library.
-
-
 %package        doc
 Summary:        PC/SC Lite developer documentation
 Summary(ja):    PC/SC Lite developer documentation
@@ -106,48 +97,34 @@ done
 
 
 %build
-#autoreconf -if
-%configure \
-  --disable-dependency-tracking \
-  --disable-static \
-%if !%{with systemd}
-  --disable-libsystemd \
+%meson \
+%if %{with systemd}
+    -Dlibsystemd=true \
+    -Dsystemdunit=system \
+%else
+    -Dlibsystemd=false \
+    -Dsystemdunit=system \
 %endif
-  --enable-polkit \
-  --enable-runpid=%{_localstatedir}/run/pcscd.pid \
-  --enable-ipcdir=%{_localstatedir}/run \
-  --enable-usbdropdir=%{_libdir}/pcsc/drivers
-make %{?_smp_mflags}
-doxygen doc/doxygen.conf ; rm -f doc/api/*.{map,md5}
-
-%{_libdir}/python%{python3_version}/Tools/scripts/pathfix.py -i "%{__python3} %{py3_shbang_opts}" -p src/spy/pcsc-spy
+    -Dserial=true \
+    -Dusbdropdir=%{_libdir}/pcsc/drivers \
+   -Dpolkit=true
+%meson_build
+%meson_build doc
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_datadir}/polkit-1/actions/org.debian.pcsc-lite.policy
+%meson_install
 
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/polkit-1/actions/
-install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/polkit-1/actions/
-
-install -dm 755 $RPM_BUILD_ROOT%{_libdir}/pcsc/drivers
+# Create empty directories
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/reader.conf.d
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/pcsc/drivers
+mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/pcscd
 
 %if !%{with systemd}
 install -Dpm 755 %{SOURCE2} $RPM_BUILD_ROOT%{_initrddir}/pcscd
 %endif
 
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/reader.conf.d
-
-rm -f $RPM_BUILD_ROOT{%{_sysconfdir}/reader.conf.d/reader.conf,%{_libdir}/lib*.la}
-rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/README.DAEMON
-
-# formaticc doesn't exist any more, don't include the man page
-#rm -f $RPM_BUILD_ROOT%{_mandir}/man1/formaticc.1*
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 
 %post
 %if %{with systemd}
@@ -184,53 +161,53 @@ if [ "$1" -ge "1" ]; then
 fi
 %endif
 
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
-
 
 %files
-%defattr(-,root,root,-)
 %license COPYING
-%doc AUTHORS ChangeLog HELP README SECURITY TODO
+%doc AUTHORS ChangeLog HELP README SECURITY
+%doc doc/README.polkit
+%doc src/spy/setup_spy.sh
 %dir %{_sysconfdir}/reader.conf.d/
 %if %{with systemd}
 %{_unitdir}/pcscd.service
 %{_unitdir}/pcscd.socket
-%{_sbindir}/pcscd
+%ghost %dir %{_localstatedir}/run/pcscd/
 %else
 %{_initrddir}/pcscd
+%dir %{_localstatedir}/run/pcscd/
 %endif
 %{_sbindir}/pcscd
-%{_libdir}/pcsc/
+%dir %{_libdir}/pcsc/
+%dir %{_libdir}/pcsc/drivers/
+%dir %{_datadir}/polkit-1
+%dir %{_datadir}/polkit-1/actions
 %{_datadir}/polkit-1/actions/org.debian.%{name}.policy
 %{_mandir}/man5/reader.conf.5*
 %{_mandir}/man8/pcscd.8*
 
 %files libs
-%defattr(-,root,root,-)
 %license COPYING
 %{_libdir}/libpcsclite.so.*
-%{_libdir}/libpcscspy.so.*
+%{_libdir}/libpcsclite_real.so.*
 
 %files devel
-%defattr(-,root,root,-)
+%{_bindir}/pcsc-spy
 %{_includedir}/PCSC/
 %{_libdir}/libpcsclite.so
-%{_libdir}/libpcscspy.so
+%{_libdir}/libpcsclite_real.so
+%{_libdir}/libpcscspy.so*
 %{_libdir}/pkgconfig/libpcsclite.pc
-
-%files spy
-%defattr(-,root,root,-)
-%{_bindir}/pcsc-spy
 %{_mandir}/man1/pcsc-spy.1*
 
 %files doc
 %defattr(-,root,root,-)
-%doc doc/api/ doc/example/pcsc_demo.c
-%{_docdir}/pcsc-lite/README.polkit
+%doc %{_vpath_builddir}/doc/api/ doc/example/pcsc_demo.c
 
 
 %changelog
+* Thu Jun 27 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.3-1
+- new upstream release.
+
 * Tue Feb 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.0-1
 - new upstream release.
 - added systemd support (disabled as default).