Hello community,

here is the log from the commit of package pcsc-acsccid for openSUSE:Factory
checked in at Fri Jul 1 09:28:23 CEST 2011.



--------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/pcsc-acsccid/pcsc-acsccid.changes      
2011-06-22 08:11:15.000000000 +0200
@@ -0,0 +1,13 @@
+-------------------------------------------------------------------
+Wed Jun 22 03:16:13 UTC 2011 - [email protected]
+
+- Updated to version 1.0.2 (22/6/2011):
+  * Fix non-redistributable reference manual problem.
+- Updated Url and Source.
+
+-------------------------------------------------------------------
+Fri Apr 29 04:00:51 UTC 2011 - [email protected]
+
+- Created package.
+- Based on pcsc-ccid.spec.
+

calling whatdependson for head-i586


New:
----
  acsccid-1.0.2-pcscd-autostart.patch
  acsccid-1.0.2.tar.bz2
  pcsc-acsccid-rpmlintrc
  pcsc-acsccid.changes
  pcsc-acsccid.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pcsc-acsccid.spec ++++++
#
# spec file for package pcsc-acsccid
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Advanced Card Systems Ltd.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           pcsc-acsccid
%define _name acsccid
BuildRequires:  flex libusb-devel pcsc-lite-devel pkg-config
%if 0%{?suse_version} >= 1140
BuildRequires:  udev
%endif
Version:        1.0.2
Release:        1
Group:          Productivity/Security
License:        LGPLv2.1+
Url:            http://acsccid.sourceforge.net/
Summary:        PCSC Driver for ACS CCID Based Smart Card Readers
Source:         
http://downloads.sourceforge.net/%{_name}/%{_name}-%{version}.tar.bz2
Source1:        %{name}-rpmlintrc
%if 0%{?suse_version} >= 1140
Patch:          acsccid-1.0.2-pcscd-autostart.patch
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       pcsc-lite >= 1.3.3
%define ifddir %(pkg-config libpcsclite --variable=usbdropdir)

Enhances:       modalias(usb:v072fp90ccd*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp90d8d*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp90d2d*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp8306d*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp2011d*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp1204d*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp1205d*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp1206d*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp2200d*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp2207d*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp1280d*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp2206d*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp2203d*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp2100d*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp220fd*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp2208d*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp0901d*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp220ad*dc*dsc*dp*ic*isc*ip*)
Enhances:       modalias(usb:v072fp8201d*dc*dsc*dp*ic*isc*ip*)

%description
This package contains a ACS USB CCID (Chip/Smart Card Interface
Devices) driver.

This driver is meant to be used with the PCSC-Lite daemon from the
pcsc-lite package.

%prep
%setup -q -n %{_name}-%{version}
%if 0%{?suse_version} >= 1140
%patch
%endif
cp -a src/openct/LICENSE LICENSE.openct
cp -a src/towitoko/README README.towitoko

%build
%configure --enable-composite-as-multislot
make %{?jobs:-j%jobs}

%install
%makeinstall
%if 0%{?suse_version} >= 1140
mkdir -p $RPM_BUILD_ROOT/lib/udev
mkdir $RPM_BUILD_ROOT/lib/udev/rules.d
sed 's:GROUP="pcscd":GROUP="scard":' <src/92_pcscd_acsccid.rules 
>$RPM_BUILD_ROOT/lib/udev/rules.d/92_pcscd_acsccid.rules
%endif

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
# NEWS and ChangeLog are empty
%doc AUTHORS COPYING LICENSE.openct README README.towitoko
%{ifddir}/*
%if 0%{?suse_version} >= 1140
/lib/udev/rules.d/*.rules
%endif

%changelog
++++++ acsccid-1.0.2-pcscd-autostart.patch ++++++
diff -Naur src.orig/92_pcscd_acsccid.rules src/92_pcscd_acsccid.rules
--- src.orig/92_pcscd_acsccid.rules     1970-01-01 08:00:00.000000000 +0800
+++ src/92_pcscd_acsccid.rules  2011-04-27 17:13:05.153556000 +0800
@@ -0,0 +1,23 @@
+# udev rules to set the access rights of ACS CCID smart card readers
+# so they can be used by pcscd
+
+# If not adding the device, go away
+ACTION!="add", GOTO="pcscd_acsccid_rules_end"
+SUBSYSTEM!="usb", GOTO="pcscd_acsccid_rules_end"
+ENV{DEVTYPE}!="usb_device", GOTO="pcscd_acsccid_rules_end"
+
+# generic CCID device (bInterfaceClass = 0x0b)
+ENV{ID_USB_INTERFACES}=="*:0b0000:*", GROUP="pcscd"
+
+# non CCID generic (InterfaceClass: 0x00)
+# ACS ACR83U
+ATTRS{idVendor}=="072f", ATTRS{idProduct}=="90d2", GROUP="pcscd"
+# ACS ACR88U
+ATTRS{idVendor}=="072f", ATTRS{idProduct}=="2011", GROUP="pcscd"
+# ACS ACR128U
+ATTRS{idVendor}=="072f", ATTRS{idProduct}=="2100", GROUP="pcscd"
+# ACS APG8201
+ATTRS{idVendor}=="072f", ATTRS{idProduct}=="8201", GROUP="pcscd"
+
+# All done
+LABEL="pcscd_acsccid_rules_end"
++++++ pcsc-acsccid-rpmlintrc ++++++
# These links are needed. We should probably use unversioned libraries.
addFilter("devel-file-in-non-devel-package")
# This is not an error. rpmlint cannot handle %() properly.
addFilter("specfile-error")

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to