+++ /dev/null
---- pcsc-lite-1.8.11/DRIVERS.orig 2014-03-07 21:54:54.054804707 +0100
-+++ pcsc-lite-1.8.11/DRIVERS 2014-03-07 21:59:19.138126916 +0100
-@@ -3,17 +3,17 @@
- To install USB drivers, download the driver from
- http://musclecard.com/software.html and copy it to a temporary location.
- After you have unarchived the files copy the directory to
--/usr/local/pcsc/drivers/. If the directory /usr/local/pcsc/drivers/
-+/usr/lib*/pcsc/drivers/. If the directory /usr/lib*/pcsc/drivers/
- does not exist create it before copying the driver directory to it.
-
- Example Mac OS X, Linux 2.4:
-
- tar -xzvf driver.bundle-0.1.0.tar.gz
--cp -r driver.bundle /usr/local/pcsc/drivers/
--cd /usr/local/pcsc/drivers/driver.bundle
-+cp -r driver.bundle /usr/lib*/pcsc/drivers/
-+cd /usr/lib*/pcsc/drivers/driver.bundle
- build or use Project Builder to build
-
--The /usr/local/pcsc/drivers/ directory should contain bundle directories only.
-+The /usr/lib*/pcsc/drivers/ directory should contain bundle directories only.
- You must restart pcscd to use the new driver.
-
-
Summary: PCSC Framework for Linux
Summary(pl.UTF-8): Środowisko PCSC dla Linuksa
Name: pcsc-lite
-Version: 1.8.11
-Release: 4
+Version: 1.8.25
+Release: 1
License: BSD
Group: Daemons
-# Source0Download: https://alioth.debian.org/frs/?group_id=30105
-Source0: https://alioth.debian.org/frs/download.php/file/3991/%{name}-%{version}.tar.bz2
-# Source0-md5: 73502ca4ba6526727f9f49c63d805408
+# TODO: switch to release tarballs
+#Source0: https://pcsclite.apdu.fr/files/%{name}-%{version}.tar.bz2
+# Source0Download: https://salsa.debian.org/rousseau/PCSC/tags
+Source0: https://salsa.debian.org/rousseau/PCSC/-/archive/pcsc-%{version}/PCSC-pcsc-%{version}.tar.bz2
+# Source0-md5: d104b1c779c15c1da28294095ae0014e
Source1: %{name}-pcscd.init
Source2: %{name}-pcscd.sysconfig
-Patch0: %{name}-fhs.patch
Patch1: %{name}-any.patch
Patch2: debuglog-pid.patch
Patch3: configure-expand.patch
-URL: https://alioth.debian.org/projects/pcsclite/
+URL: https://pcsclite.apdu.fr/
BuildRequires: autoconf >= 2.69
BuildRequires: automake >= 1:1.8
BuildRequires: flex
Dokumentacja API biblioteki PC/SC Lite.
%prep
-%setup -q
-%patch0 -p1
+%setup -q -n PCSC-pcsc-%{version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
# auto power down unreliable yet
CPPFLAGS="%{rpmcppflags} -DDISABLE_ON_DEMAND_POWER_ON"
%configure \
+ --disable-libsystemd \
%{!?with_udev:--disable-libudev} \
--disable-silent-rules \
--enable-ipcdir=/var/run/pcscd \
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{usbdropdir} \
- $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,init} \
+ $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} \
$RPM_BUILD_ROOT%{_sysconfdir}/reader.conf.d \
$RPM_BUILD_ROOT/var/run/pcscd \
$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%files
%defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog* DRIVERS HELP NEWS README SECURITY TODO doc/README.{DAEMON,polkit}
+%doc AUTHORS COPYING ChangeLog HELP README SECURITY TODO doc/README.{DAEMON,polkit}
%attr(755,root,root) %{_bindir}/pcsc-spy
%attr(755,root,root) %{_sbindir}/pcscd
%dir %{_libdir}/pcsc