p11-kit/p11-kit.spec

226 lines
7.8 KiB
RPMSpec
Raw Normal View History

Name: p11-kit
Version: 0.23.22
Release: 1mamba
Summary: Provides a way to load and enumerate PKCS#11 modules
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://p11-glue.freedesktop.org/p11-kit.html
Source: https://github.com/p11-glue/p11-kit/archive/%{version}.zip
#Source: http://p11-glue.freedesktop.org/releases/p11-kit-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libffi-devel
BuildRequires: libtasn1-devel
## AUTOBUILDREQ-END
Requires(post): lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
p11-kit provides a way to load and enumerate PKCS#11 modules. Provides a standard configuration setup for installing PKCS#11 modules in such a way that they're discoverable.
Also solves problems with coordinating the use of PKCS#11 by different components or libraries living in the same process.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
p11-kit provides a way to load and enumerate PKCS#11 modules. Provides a standard configuration setup for installing PKCS#11 modules in such a way that they're discoverable.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Headers and library files for development
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: p11-kit-devel
Obsoletes: p11-kit-devel
%description -n lib%{name}-devel
p11-kit provides a way to load and enumerate PKCS#11 modules. Provides a standard configuration setup for installing PKCS#11 modules in such a way that they're discoverable.
Also solves problems with coordinating the use of PKCS#11 by different components or libraries living in the same process.
This package contains headers and library files for development.
#%package apidocs
#Group: Documentation
#Summary: %{name} API documentation
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#Requires: gtk-doc
#%description apidocs
#This package includes the %{name} API documentation.
%prep
%setup -q
%build
./autogen.sh
%configure --enable-gtk-doc
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%post -n lib%{name}
/sbin/ldconfig
:
%postun -n lib%{name}
/sbin/ldconfig
:
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_sysconfdir}/pkcs11
%{_sysconfdir}/pkcs11/pkcs11.conf.example
%{_bindir}/trust
%{_bindir}/p11-kit
%{_userunitdir}/p11-kit-server.service
%{_userunitdir}/p11-kit-server.socket
%dir %{_datadir}/p11-kit
%dir %{_datadir}/p11-kit/modules
%{_datadir}/bash-completion/completions/p11-kit
%{_datadir}/bash-completion/completions/trust
%{_datadir}/p11-kit/modules/p11-kit-trust.module
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libp11-kit.so.*
%dir %{_libdir}/pkcs11
%{_libdir}/pkcs11/p11-kit-trust.so
%{_libdir}/pkcs11/p11-kit-client.so
%{_libexecdir}/p11-kit/p11-kit-remote
%{_libexecdir}/p11-kit/p11-kit-server
%{_libexecdir}/p11-kit/trust-extract-compat
#%dir %{_libdir}/p11-kit
#%{_libdir}/p11-kit/p11-kit-remote
#%{_libdir}/p11-kit/p11-kit-remote
#%{_libdir}/p11-kit/trust-extract-compat
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/p11-kit-1
%dir %{_includedir}/p11-kit-1/p11-kit
%{_includedir}/p11-kit-1/p11-kit/*.h
%{_libdir}/pkcs11/p11-kit-trust.la
%{_libdir}/pkcs11/p11-kit-client.la
%{_libdir}/libp11-kit.la
%{_libdir}/libp11-kit.so
%{_libdir}/p11-kit-proxy.so
%{_libdir}/pkgconfig/p11-kit-1.pc
%doc ChangeLog NEWS README
#%files apidocs
#%defattr(-,root,root)
##%dir %{_datadir}/gtk-doc/html/%{name}
##%{_datadir}/gtk-doc/html/%{name}/*
%changelog
* Tue Dec 15 2020 Automatic Build System <autodist@mambasoft.it> 0.23.22-1mamba
- automatic version update by autodist
* Sat Aug 22 2020 Automatic Build System <autodist@mambasoft.it> 0.23.21-1mamba
- automatic version update by autodist
* Fri Jun 26 2020 Automatic Build System <autodist@mambasoft.it> 0.23.20-1mamba
- automatic version update by autodist
* Tue Jan 29 2019 Automatic Build System <autodist@mambasoft.it> 0.23.15-1mamba
- automatic version update by autodist
* Thu Sep 06 2018 Automatic Build System <autodist@mambasoft.it> 0.23.14-1mamba
- automatic version update by autodist
* Sun Aug 19 2018 Automatic Build System <autodist@mambasoft.it> 0.23.13-1mamba
- automatic version update by autodist
* Sat Jun 02 2018 Automatic Build System <autodist@mambasoft.it> 0.23.12-1mamba
- automatic version update by autodist
* Sat Mar 10 2018 Automatic Build System <autodist@mambasoft.it> 0.23.10-1mamba
- automatic version update by autodist
* Tue Oct 10 2017 Automatic Build System <autodist@mambasoft.it> 0.23.9-1mamba
- automatic version update by autodist
* Fri Sep 08 2017 Automatic Build System <autodist@mambasoft.it> 0.23.8-1mamba
- automatic version update by autodist
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 0.23.7-1mamba
- automatic version update by autodist
* Sun Apr 16 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.23.5-1mamba
- update to 0.23.5
* Wed Dec 30 2015 Automatic Build System <autodist@mambasoft.it> 0.23.2-1mamba
- automatic version update by autodist
* Tue Mar 31 2015 Automatic Build System <autodist@mambasoft.it> 0.23.1-1mamba
- automatic version update by autodist
* Sun Oct 26 2014 Automatic Build System <autodist@mambasoft.it> 0.22.1-1mamba
- automatic version update by autodist
* Sun Sep 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.20.7-1mamba
- update to 0.20.7
* Sat Apr 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.20.2-3mamba
- llibp11-kit-devel: fix typo in provide/obsolete for p11-kit-devel
* Fri Apr 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.20.2-2mamba
- move library files to libp11-kit, rename p11-kit-devel to libp11-kit-devel
* Sat Feb 15 2014 Automatic Build System <autodist@mambasoft.it> 0.20.2-1mamba
- automatic version update by autodist
* Mon Oct 07 2013 Automatic Build System <autodist@mambasoft.it> 0.20.1-1mamba
- automatic version update by autodist
* Sun Sep 08 2013 Automatic Build System <autodist@mambasoft.it> 0.20.0-1mamba
- automatic update by autodist
* Tue Aug 13 2013 Automatic Build System <autodist@mambasoft.it> 0.19.3-1mamba
- automatic update by autodist
* Tue Jun 11 2013 Automatic Build System <autodist@mambasoft.it> 0.19.1-1mamba
- automatic version update by autodist
* Tue May 28 2013 Automatic Build System <autodist@mambasoft.it> 0.18.2-1mamba
- automatic version update by autodist
* Tue Apr 23 2013 Automatic Build System <autodist@mambasoft.it> 0.18.1-1mamba
- automatic version update by autodist
* Thu Apr 11 2013 Automatic Build System <autodist@mambasoft.it> 0.18.0-1mamba
- automatic version update by autodist
* Tue Apr 02 2013 Automatic Build System <autodist@mambasoft.it> 0.17.5-1mamba
- automatic version update by autodist
* Thu Mar 21 2013 Automatic Build System <autodist@mambasoft.it> 0.17.4-1mamba
- automatic version update by autodist
* Mon Mar 11 2013 Automatic Build System <autodist@mambasoft.it> 0.16.3-1mamba
- automatic version update by autodist
* Sun Feb 24 2013 Automatic Build System <autodist@mambasoft.it> 0.15.2-1mamba
- automatic version update by autodist
* Sat Sep 15 2012 Automatic Build System <autodist@mambasoft.it> 0.14-1mamba
- automatic version update by autodist
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 0.13-1mamba
- automatic version update by autodist
* Tue Apr 03 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12-1mamba
- update to 0.12
* Sun Oct 23 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7-1mamba
- package created by autospec