2007-01-16 00:22:54 +01:00
|
|
|
#
|
2007-07-27 01:57:10 +02:00
|
|
|
# spec file for package libp11 (Version 0.2.3)
|
2007-01-16 00:22:54 +01:00
|
|
|
#
|
2008-04-10 14:31:46 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:22:54 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 14:31:46 +02:00
|
|
|
|
2007-01-16 00:22:54 +01:00
|
|
|
Name: libp11
|
2007-07-27 01:57:10 +02:00
|
|
|
Version: 0.2.3
|
2008-04-10 14:31:46 +02:00
|
|
|
Release: 3
|
|
|
|
Url: http://www.opensc-project.org/libp11/
|
2007-01-16 00:22:54 +01:00
|
|
|
Group: Productivity/Security
|
2008-04-10 14:31:46 +02:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-16 00:22:54 +01:00
|
|
|
Summary: Library Implementing a Small Layer on Top of PKCS#11 API
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2007-07-27 01:57:10 +02:00
|
|
|
Patch: libp11-strict-aliasing.patch
|
|
|
|
BuildRequires: openssl-devel pkg-config zlib-devel
|
2007-01-16 00:22:54 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Libp11 is a library implementing a small layer on top of PKCS#11 API to
|
|
|
|
make using PKCS#11 implementations easier.
|
|
|
|
|
|
|
|
The official name for PKCS#11 is "RSA Security Inc. PKCS #11
|
|
|
|
Cryptographic Token Interface (Cryptoki)".
|
|
|
|
|
|
|
|
Libp11 source code includes the official header files (version 2.20)
|
|
|
|
and thus is "derived from the RSA Security Inc. PKCS #11 Cryptographic
|
|
|
|
Token Interface (Cryptoki)".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Andreas Jellinghaus
|
|
|
|
Kevin Stefanik
|
|
|
|
Ludovic Rousseau
|
|
|
|
Nils Larsch
|
|
|
|
Olaf Kirch
|
|
|
|
Stef Hoeben
|
|
|
|
|
2007-07-27 01:57:10 +02:00
|
|
|
%package -n libp11-0
|
2008-04-10 14:31:46 +02:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-16 00:22:54 +01:00
|
|
|
Group: Productivity/Security
|
|
|
|
Summary: Library Implementing a Small Layer on Top of PKCS#11 API
|
2007-07-30 00:53:51 +02:00
|
|
|
Provides: %{name} = %{version}
|
2007-07-27 01:57:10 +02:00
|
|
|
Obsoletes: %{name} <= %{version}
|
|
|
|
|
|
|
|
%description -n libp11-0
|
|
|
|
Libp11 is a library implementing a small layer on top of PKCS#11 API to
|
|
|
|
make using PKCS#11 implementations easier.
|
|
|
|
|
|
|
|
The official name for PKCS#11 is "RSA Security Inc. PKCS #11
|
|
|
|
Cryptographic Token Interface (Cryptoki)".
|
|
|
|
|
|
|
|
Libp11 source code includes the official header files (version 2.20)
|
|
|
|
and thus is "derived from the RSA Security Inc. PKCS #11 Cryptographic
|
|
|
|
Token Interface (Cryptoki)".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Andreas Jellinghaus
|
|
|
|
Kevin Stefanik
|
|
|
|
Ludovic Rousseau
|
|
|
|
Nils Larsch
|
|
|
|
Olaf Kirch
|
|
|
|
Stef Hoeben
|
|
|
|
|
|
|
|
%package devel
|
2008-04-10 14:31:46 +02:00
|
|
|
License: LGPL v2.1 or later
|
2007-07-27 01:57:10 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Summary: Library Implementing a Small Layer on Top of PKCS#11 API
|
|
|
|
Requires: libp11-0 = %{version} glibc-devel openssl-devel libtool
|
2007-01-16 00:22:54 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Libp11 is a library implementing a small layer on top of PKCS#11 API to
|
|
|
|
make using PKCS#11 implementations easier.
|
|
|
|
|
|
|
|
The official name for PKCS#11 is "RSA Security Inc. PKCS #11
|
|
|
|
Cryptographic Token Interface (Cryptoki)".
|
|
|
|
|
|
|
|
Libp11 source code include the official header files (version 2.20) and
|
|
|
|
thus is "derived from the RSA Security Inc. PKCS #11 Cryptographic
|
|
|
|
Token Interface (Cryptoki)".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Andreas Jellinghaus
|
|
|
|
Kevin Stefanik
|
|
|
|
Ludovic Rousseau
|
|
|
|
Nils Larsch
|
|
|
|
Olaf Kirch
|
|
|
|
Stef Hoeben
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2007-07-27 01:57:10 +02:00
|
|
|
%patch
|
2007-01-16 00:22:54 +01:00
|
|
|
|
|
|
|
%build
|
2007-07-27 01:57:10 +02:00
|
|
|
%configure
|
|
|
|
make %{?jobs:-j%jobs}
|
2007-01-16 00:22:54 +01:00
|
|
|
|
|
|
|
%install
|
2007-07-27 01:57:10 +02:00
|
|
|
%makeinstall
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name} $RPM_BUILD_ROOT%{_docdir}/libp11-0
|
|
|
|
cp -a COPYING NEWS doc/README doc/ChangeLog doc/*.css doc/*.html $RPM_BUILD_ROOT%{_docdir}/libp11-0
|
|
|
|
cp -a doc/api $RPM_BUILD_ROOT%{_docdir}/%{name}
|
2007-01-16 00:22:54 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2007-07-27 01:57:10 +02:00
|
|
|
%post -n libp11-0 -p /sbin/ldconfig
|
2007-01-16 00:22:54 +01:00
|
|
|
|
2007-07-27 01:57:10 +02:00
|
|
|
%postun -n libp11-0 -p /sbin/ldconfig
|
2007-01-16 00:22:54 +01:00
|
|
|
|
2007-07-27 01:57:10 +02:00
|
|
|
%files -n libp11-0
|
2007-01-16 00:22:54 +01:00
|
|
|
%defattr (-, root, root)
|
2007-07-27 01:57:10 +02:00
|
|
|
%doc %dir %{_docdir}/libp11-0
|
|
|
|
%doc %{_docdir}/libp11-0/COPYING
|
|
|
|
%doc %{_docdir}/libp11-0/NEWS
|
|
|
|
%doc %{_docdir}/libp11-0/README
|
|
|
|
%doc %{_docdir}/libp11-0/ChangeLog
|
|
|
|
%doc %{_docdir}/libp11-0/*.html
|
|
|
|
%doc %{_docdir}/libp11-0/*.css
|
|
|
|
%{_libdir}/*.so.*
|
2007-01-16 00:22:54 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr (-, root, root)
|
2007-07-27 01:57:10 +02:00
|
|
|
%doc %dir %{_docdir}/%{name}
|
|
|
|
%doc %{_docdir}/%{name}/api
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/*.*a
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2007-01-16 00:22:54 +01:00
|
|
|
|
2007-03-30 01:51:03 +02:00
|
|
|
%changelog
|
2008-04-10 14:31:46 +02:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
|
|
|
* Mon Jul 30 2007 ro@suse.de
|
2007-07-30 00:53:51 +02:00
|
|
|
- provide old name
|
2008-04-10 14:31:46 +02:00
|
|
|
* Wed Jul 25 2007 sbrabec@suse.cz
|
2007-07-27 01:57:10 +02:00
|
|
|
- Updated to version 0.2.3:
|
|
|
|
* update wiki export script.
|
|
|
|
* replaced rsa header files from rsalabs (official) with scute
|
|
|
|
(open source).
|
|
|
|
* allow CKR_USER_ALREADY_LOGGED_IN on C_Login.
|
|
|
|
* mark internal functions as static.
|
|
|
|
* add code to store public keys and generate keys.
|
|
|
|
- Name package according to shared library packaging policy.
|
2008-04-10 14:31:46 +02:00
|
|
|
* Fri Mar 30 2007 ro@suse.de
|
2007-03-30 01:51:03 +02:00
|
|
|
- added zlib-devel to buildreq
|
2008-04-10 14:31:46 +02:00
|
|
|
* Tue Oct 03 2006 sbrabec@suse.cz
|
2007-01-16 00:22:54 +01:00
|
|
|
- Updated to version 0.2.2:
|
|
|
|
* bug fixes
|
|
|
|
* code cleanup
|
2008-04-10 14:31:46 +02:00
|
|
|
* Fri May 12 2006 sbrabec@suse.cz
|
2007-01-16 00:22:54 +01:00
|
|
|
- New SuSE package, version 0.2.1.
|