[qca-pkcs11] Initial commit after review.

Juha Tuomala tuju at fedoraproject.org
Tue Jul 5 16:44:00 UTC 2011


commit d2e312a068083d15ca46a908a6255ece4a944574
Author: Juha Tuomala <tuju at iki.fi>
Date:   Tue Jul 5 19:43:23 2011 +0300

    Initial commit after review.

 .gitignore      |    1 +
 qca-pkcs11.spec |   65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..970a717 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/qca-pkcs11-2.0.0-beta2.tar.bz2
diff --git a/qca-pkcs11.spec b/qca-pkcs11.spec
new file mode 100644
index 0000000..704ff2e
--- /dev/null
+++ b/qca-pkcs11.spec
@@ -0,0 +1,65 @@
+%global		pre_srctag		-beta2
+%global		pre_release		.beta2
+
+Name:		qca-pkcs11
+Version:	2.0.0
+Release:	0.1%{?dist}%{pre_release}
+Summary:	Smartcard integration for QCA
+
+Group:		System Environment/Libraries
+License:	LGPLv2+
+URL:		http://delta.affinix.com/qca/
+Source0:	http://delta.affinix.com/download/qca/2.0/plugins/%{name}-%{version}%{pre_srctag}.tar.bz2
+BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}%{pre_release}-XXXXXX)
+Patch0:		qca-pkcs11.cpp.vsnprintf.patch
+
+BuildRequires: qt4-devel, qca2-devel, pkcs11-helper-devel
+Requires:	pkcs11-helper >= 1.02
+%{?_qt4_version:
+Requires:	qt4%{?_isa} >= %{_qt4_version}
+}
+
+
+%description
+qca-pkcs11 enables QCA smartcard integration.
+The following features are supported:
+ - Multiple providers.
+ - Multiple tokens.
+ - Private key signature and decryption.
+ - Keystore objects serialization.
+ - Keystore update notifications.
+ - Asker integration for token and PIN.
+
+
+%prep
+%setup -q -n %{name}-%{version}%{pre_srctag}
+# patch0 needed to fix compile error:
+# qca-pkcs11.cpp:3044:2: error: '::vsnprintf' has not been declared
+%patch0 -p0
+
+
+%build
+./configure \
+	--plugins-path=%{_qt4_plugindir} \
+	--no-separate-debug-info
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+make install INSTALL_ROOT=%{buildroot}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING README
+%{_qt4_plugindir}/crypto/libqca-pkcs11.so
+
+
+%changelog
+* Thu Jul 05 2011 Juha Tuomala <tuju at iki.fi> - 2.0.0-0.1.beta2
+- Initial package.
diff --git a/sources b/sources
index e69de29..0910bf1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+34fa5de399eea79781c988621277d657  qca-pkcs11-2.0.0-beta2.tar.bz2


More information about the scm-commits mailing list