%global pre_release -beta2 Name: qca-pkcs11 Version: 2.0.0 Release: 1%{?dist} Summary: Smartcard integration for QCA Group: System Environment/Libraries License: GPLv2+ URL: http://delta.affinix.com/qca/ Source0: http://delta.affinix.com/download/qca/2.0/plugins/%{name}-%{version}%{pre_release}.tar.bz2 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) Patch0: qca-pkcs11.cpp.vsnprintf.patch BuildRequires: qt4-devel, qca2-devel, pkcs11-helper-devel Requires: pkcs11-helper >= 1.02 %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}-beta2 %patch0 -p0 %build ./configure --plugins-path=%{_qt4_plugindir} 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 %{_qt4_plugindir}/crypto/libqca-pkcs11.so.debug %changelog * Thu Jan 28 2010 Juha Tuomala - 2.0.0-1 - Initial package.