This library provides a simple and nice C++ wrapper around these libraries, so that programmers can concentrate on functionality. It offers general support for PCSC-lite, OpenSSL, PKCS#11, plus specific functionality for the SuisseID.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.9 KiB
73 lines
1.9 KiB
Summary: C++ Wrapper around OpenSSL, PCSC and Cryptoki |
|
Name: @PACKAGE_NAME@ |
|
Version: @VERSION@ |
|
Release: 1 |
|
License: LGPL |
|
Group: Development/Libraries/C++ |
|
URL: https://dev.marc.waeckerlin.org/projects/@PACKAGE_NAME@ |
|
Source0: %{name}-%{version}.tar.gz |
|
BuildRequires: subversion gcc-c++ doxygen graphviz texlive automake autoconf libtool make pcsc-lite-devel |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} |
|
BuildRequires: cppunit-devel openssl-devel |
|
%else%if 0%{?suse_version} || 0%{?sles_version} |
|
BuildRequires: libcppunit-devel libopenssl-devel |
|
%endif%endif |
|
|
|
|
|
%description |
|
@README@ |
|
|
|
This package contains only the shared libraries required at runtime. |
|
|
|
%prep |
|
%setup -q |
|
CPPFLAGS="-std=c++0x -I/usr/include/PCSC -I/usr/include/pkcs11-helper-1.0" \ |
|
./configure --prefix=/usr \ |
|
--docdir=/usr/share/doc/packages/@PACKAGE_NAME@ \ |
|
--libdir=/usr/%_lib |
|
|
|
%build |
|
make |
|
|
|
%install |
|
DESTDIR=$RPM_BUILD_ROOT make install |
|
|
|
%clean |
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
%files |
|
%defattr(-,root,root,-) |
|
/usr/bin/* |
|
/usr/%_lib/@PACKAGE_NAME@.so.* |
|
%doc |
|
/usr/share/doc/packages/@PACKAGE_NAME@/AUTHORS |
|
/usr/share/doc/packages/@PACKAGE_NAME@/COPYING |
|
/usr/share/doc/packages/@PACKAGE_NAME@/ChangeLog |
|
/usr/share/doc/packages/@PACKAGE_NAME@/INSTALL |
|
/usr/share/doc/packages/@PACKAGE_NAME@/NEWS |
|
/usr/share/doc/packages/@PACKAGE_NAME@/README |
|
|
|
%package devel |
|
Summary: C++ Wrapper around OpenSSL, PCSC and Cryptoki (development files) |
|
Group: Development/Libraries/C++ |
|
Requires: @PACKAGE_NAME@ = @VERSION@ |
|
|
|
%description devel |
|
@README@ |
|
|
|
This Package contains all files required for developement. |
|
|
|
%files devel |
|
%defattr(-,root,root,-) |
|
/usr/%_lib/@PACKAGE_NAME@.so |
|
/usr/%_lib/@PACKAGE_NAME@.a |
|
/usr/%_lib/pkgconfig |
|
/usr/%_lib/@PACKAGE_NAME@.la |
|
/usr/include/ |
|
/usr/share/pkgconfig |
|
%doc |
|
/usr/share/doc/packages/@PACKAGE_NAME@/html |
|
/usr/share/doc/packages/@PACKAGE_NAME@/@PACKAGE_NAME@.spec |
|
|
|
%changelog
|
|
|