67 lines
1.6 KiB
RPMSpec
67 lines
1.6 KiB
RPMSpec
Name: libtpms
|
|
Version: 0.9.6
|
|
Release: 1mamba
|
|
Summary: Library providing software emulation of a Trusted Platform Module (TPM 1.2 and TPM 2.0)
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/stefanberger/libtpms
|
|
Source: https://github.com/stefanberger/libtpms.git/v%{version}/libtpms-%{version}.tar.bz2
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libopenssl-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
The libtpms library provides software emulation of a Trusted Platform Module (TPM 1.2 and TPM 2.0).
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
./autogen.sh
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libtpms.so.*
|
|
%doc CREDITS LICENSE
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/libtpms
|
|
%{_includedir}/libtpms/*
|
|
%{_libdir}/libtpms.a
|
|
%{_libdir}/libtpms.so
|
|
%{_libdir}/pkgconfig/libtpms.pc
|
|
%{_mandir}/man3/TPM*.3*
|
|
%doc CHANGES README
|
|
|
|
%changelog
|
|
* Wed Aug 30 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-1mamba
|
|
- package created using the webbuild interface
|