SHA256
1
0
forked from pool/libp11

Accepting request 347085 from home:posophe:branches:security:chipcard

update

OBS-URL: https://build.opensuse.org/request/show/347085
OBS-URL: https://build.opensuse.org/package/show/security:chipcard/libp11?expand=0&rev=18
This commit is contained in:
Wolfgang Rosenauer
2015-12-28 12:46:04 +00:00
committed by Git OBS Bridge
parent 791f94f564
commit 26a40d2cc8
4 changed files with 24 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package libp11
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
Name: libp11
Version: 0.2.8
Version: 0.3.0
Release: 0
Url: http://www.opensc-project.org/libp11/
Url: https://github.com/OpenSC/libp11
Summary: Library Implementing a Small Layer on Top of PKCS#11 API
License: LGPL-2.1+
Group: Productivity/Security
Source: %{name}-%{version}.tar.gz
Source: https://github.com/OpenSC/libp11/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
Source1: %{name}-rpmlintrc
Source2: baselibs.conf
BuildRequires: doxygen
@@ -79,20 +79,14 @@ Token Interface (Cryptoki)".
%prep
%setup -q
tr -d \\r <doc/nonpersistent/wiki.out/trac.css >doc/nonpersistent/wiki.out/trac.css.unix
touch -r doc/nonpersistent/wiki.out/trac.css doc/nonpersistent/wiki.out/trac.css.unix
mv doc/nonpersistent/wiki.out/trac.css.unix doc/nonpersistent/wiki.out/trac.css
%build
%if %suse_version > 1100
autoreconf -f -i
%endif
%configure --disable-static --with-pic \
--enable-doc\
--docdir=%{_docdir}/libp11-2\
--enable-api-doc\
--with-apidocdir=%{_docdir}/%{name}-devel
make %{?jobs:-j%jobs}
make %{?_smp_mflags}
%install
%makeinstall
@@ -100,9 +94,6 @@ mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name} $RPM_BUILD_ROOT%{_docdir}/libp11-2
rm -f %{buildroot}%{_libdir}/*.la
%fdupes %{buildroot}%{_docdir}
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libp11-2 -p /sbin/ldconfig
%postun -n libp11-2 -p /sbin/ldconfig