2007-01-16 00:22:54 +01:00
|
|
|
#
|
|
|
|
# spec file for package libp11 (Version 0.2.2)
|
|
|
|
#
|
2007-03-30 01:51:03 +02:00
|
|
|
# Copyright (c) 2007 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
|
|
|
|
|
|
|
|
Name: libp11
|
|
|
|
Version: 0.2.2
|
2007-03-30 01:51:03 +02:00
|
|
|
Release: 27
|
2007-01-16 00:22:54 +01:00
|
|
|
URL: http://www.opensc-project.org/libp11/
|
|
|
|
Group: Productivity/Security
|
2007-03-30 01:51:03 +02:00
|
|
|
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
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
|
|
|
|
Patch: %{name}-%{version}-crash.patch
|
|
|
|
Autoreqprov: on
|
2007-03-30 01:51:03 +02:00
|
|
|
BuildRequires: openssl-devel pkgconfig 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
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Productivity/Security
|
|
|
|
Summary: Library Implementing a Small Layer on Top of PKCS#11 API
|
|
|
|
Requires: %{name} = %{version} glibc-devel openssl-devel libtool
|
|
|
|
|
|
|
|
%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
|
|
|
|
%patch -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
./configure\
|
|
|
|
--prefix=/usr\
|
|
|
|
--libdir=/usr/%{_lib}
|
|
|
|
make %{?jobs:-j %jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
|
|
|
|
cp -a COPYING doc/README doc/ChangeLog doc/*.css doc/*.html doc/api $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%doc %dir %{_defaultdocdir}/%{name}
|
|
|
|
%doc %{_defaultdocdir}/%{name}/COPYING
|
|
|
|
%doc %{_defaultdocdir}/%{name}/README
|
|
|
|
%doc %{_defaultdocdir}/%{name}/ChangeLog
|
|
|
|
%doc %{_defaultdocdir}/%{name}/*.html
|
|
|
|
%doc %{_defaultdocdir}/%{name}/*.css
|
|
|
|
/usr/%{_lib}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%doc %{_defaultdocdir}/%{name}/api
|
|
|
|
/usr/%{_lib}/*.so
|
|
|
|
/usr/%{_lib}/*.*a
|
|
|
|
/usr/%{_lib}/pkgconfig/*.pc
|
|
|
|
/usr/include/*.h
|
|
|
|
|
2007-03-30 01:51:03 +02:00
|
|
|
%changelog
|
|
|
|
* Fri Mar 30 2007 - ro@suse.de
|
|
|
|
- added zlib-devel to buildreq
|
2007-01-16 00:22:54 +01:00
|
|
|
* Tue Oct 03 2006 - sbrabec@suse.cz
|
|
|
|
- Updated to version 0.2.2:
|
|
|
|
* bug fixes
|
|
|
|
* code cleanup
|
|
|
|
* Fri May 12 2006 - sbrabec@suse.cz
|
|
|
|
- New SuSE package, version 0.2.1.
|