[11723] | 1 | %define pkg_name pkcs11-helper |
---|
| 2 | %define pkg_version 1.22 |
---|
[11821] | 3 | %define pkg_release 2%{?_dist_release} |
---|
[11723] | 4 | |
---|
| 5 | Summary: A library for using PKCS#11 providers |
---|
| 6 | Name: %{pkg_name} |
---|
| 7 | Version: %{pkg_version} |
---|
| 8 | Release: %{pkg_release} |
---|
| 9 | |
---|
| 10 | Group: System Environment/Libraries |
---|
| 11 | License: GPLv2 or BSD |
---|
| 12 | URL: http://www.opensc-project.org/opensc/wiki/pkcs11-helper |
---|
| 13 | |
---|
| 14 | Source0: http://downloads.sourceforge.net/opensc/pkcs11-helper-%{version}.tar.bz2 |
---|
| 15 | Patch1: pkcs11-helper-rfc7512.patch |
---|
| 16 | |
---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 18 | BuildRequires: doxygen |
---|
| 19 | BuildRequires: openssl-devel |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | pkcs11-helper is a library that simplifies the interaction with PKCS#11 |
---|
| 24 | providers for end-user applications using a simple API and optional OpenSSL |
---|
| 25 | engine. The library allows using multiple PKCS#11 providers at the same time, |
---|
| 26 | enumerating available token certificates, or selecting a certificate directly |
---|
| 27 | by serialized id, handling card removal and card insert events, handling card |
---|
| 28 | re-insert to a different slot, supporting session expiration and much more all |
---|
| 29 | using a simple API. |
---|
| 30 | |
---|
| 31 | %package devel |
---|
| 32 | Summary: Development files for pkcs11-helper |
---|
| 33 | Group: Development/Libraries |
---|
| 34 | Requires: %{name} = %{version}-%{release} |
---|
| 35 | Requires: openssl-devel |
---|
| 36 | # for /usr/share/aclocal |
---|
| 37 | Requires: automake |
---|
| 38 | |
---|
| 39 | %description devel |
---|
| 40 | This package contains header files and documentation necessary for developing |
---|
| 41 | programs using the pkcs11-helper library. |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %prep |
---|
| 45 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 46 | %setup -q |
---|
| 47 | %patch1 -p1 |
---|
| 48 | |
---|
| 49 | %build |
---|
| 50 | %{configure} --disable-static --enable-doc |
---|
| 51 | %{__make} %{?_smp_mflags} |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %install |
---|
| 55 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p" |
---|
| 56 | |
---|
| 57 | # Use %%doc to install documentation in a standard location |
---|
| 58 | %{__mkdir} apidocdir |
---|
| 59 | %{__mv} ${RPM_BUILD_ROOT}%{_datadir}/doc/%{name}/api/ apidocdir/ |
---|
| 60 | %{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/doc/%{name}/ |
---|
| 61 | |
---|
| 62 | # Remove libtool .la files |
---|
| 63 | %{__rm} -f ${RPM_BUILD_ROOT}%{_libdir}/*.la |
---|
| 64 | |
---|
| 65 | %clean |
---|
| 66 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 67 | |
---|
| 68 | %post -p %{_syssbindir}/ldconfig |
---|
| 69 | |
---|
| 70 | %postun -p %{_syssbindir}/ldconfig |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %files |
---|
| 74 | %doc AUTHORS ChangeLog COPYING* README THANKS |
---|
| 75 | %{_libdir}/libpkcs11-helper.so.* |
---|
| 76 | |
---|
| 77 | %files devel |
---|
| 78 | %doc apidocdir/* |
---|
| 79 | %{_includedir}/pkcs11-helper-1.0/ |
---|
| 80 | %{_libdir}/libpkcs11-helper.so |
---|
| 81 | %{_libdir}/pkgconfig/libpkcs11-helper-1.pc |
---|
| 82 | %{_datadir}/aclocal/pkcs11-helper-1.m4 |
---|
| 83 | %{_mandir}/man8/pkcs11-helper-1.8* |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | %changelog |
---|
[11821] | 87 | * Thu Nov 01 2018 Toshiaki Ara <ara_t@384.jp> 1.22-2 |
---|
| 88 | - rebuild with openssl-1.1.1 |
---|
| 89 | |
---|
[11723] | 90 | * Wed Jun 13 2018 Toshiaki Ara <ara_t@384.jp> 1.22-1 |
---|
| 91 | - initial build for Vine Linux |
---|
| 92 | |
---|
| 93 | * Tue Feb 21 2017 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.22-1 |
---|
| 94 | - New upstream release |
---|
| 95 | |
---|
| 96 | * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-9 |
---|
| 97 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
| 98 | |
---|
| 99 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-8 |
---|
| 100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
| 101 | |
---|
| 102 | * Tue Sep 22 2015 David Woodhouse <David.Woodhouse@intel.com> - 1.11-7 |
---|
| 103 | - Fix ID buffer size for URI parsing (#1264645) |
---|
| 104 | |
---|
| 105 | * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-6 |
---|
| 106 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
---|
| 107 | |
---|
| 108 | * Wed Apr 29 2015 David Woodhouse <David.Woodhouse@intel.com> - 1.11-5 |
---|
| 109 | - Migrate ID serialisation format to RFC7512 (#1173554) |
---|
| 110 | |
---|
| 111 | * Tue Dec 09 2014 David Woodhouse <David.Woodhouse@intel.com> - 1.11-4 |
---|
| 112 | - Apply upstream fix for bug #1172237 (ignore objects without CKA_ID) |
---|
| 113 | |
---|
| 114 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-3 |
---|
| 115 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
| 116 | |
---|
| 117 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-2 |
---|
| 118 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 119 | |
---|
| 120 | * Fri Apr 11 2014 Jon Ciesla <limburgher@gmail.com> - 1.11-1 |
---|
| 121 | - Latest upstream, required for openvpn 2.3.3. |
---|
| 122 | |
---|
| 123 | * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2 |
---|
| 124 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
| 125 | |
---|
| 126 | * Tue Apr 02 2013 Kalev Lember <kalevlember@gmail.com> - 1.10-1 |
---|
| 127 | - Update to 1.10 |
---|
| 128 | |
---|
| 129 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-4 |
---|
| 130 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
| 131 | |
---|
| 132 | * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-3 |
---|
| 133 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 134 | |
---|
| 135 | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-2 |
---|
| 136 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 137 | |
---|
| 138 | * Wed Aug 17 2011 Kalev Lember <kalevlember@gmail.com> - 1.09-1 |
---|
| 139 | - Update to 1.09 |
---|
| 140 | |
---|
| 141 | * Sun Jun 19 2011 Kalev Lember <kalev@smartlink.ee> - 1.08-1 |
---|
| 142 | - Update to 1.08 |
---|
| 143 | - Clean up the spec file for modern rpmbuild |
---|
| 144 | |
---|
| 145 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-6 |
---|
| 146 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 147 | |
---|
| 148 | * Thu Jul 01 2010 Kalev Lember <kalev@smartlink.ee> - 1.07-5 |
---|
| 149 | - use System Environment/Libraries group for main package |
---|
| 150 | - removed R: pkgconfig from devel subpackage |
---|
| 151 | |
---|
| 152 | * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.07-4 |
---|
| 153 | - rebuilt with new openssl |
---|
| 154 | |
---|
| 155 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-3 |
---|
| 156 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 157 | |
---|
| 158 | * Sat Jul 11 2009 Kalev Lember <kalev@smartlink.ee> - 1.07-2 |
---|
| 159 | - Make devel package depend on automake for /usr/share/aclocal |
---|
| 160 | |
---|
| 161 | * Tue Jun 23 2009 Kalev Lember <kalev@smartlink.ee> - 1.07-1 |
---|
| 162 | - Initial RPM release. |
---|