libtpms/libtpms.spec

68 lines
1.7 KiB
RPMSpec
Raw Normal View History

Name: libtpms
Version: 0.10.0
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}"
%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
* Fri Nov 15 2024 Automatic Build System <autodist@openmamba.org> 0.10.0-1mamba
- automatic version update by autodist
* Wed Aug 30 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-1mamba
- package created using the webbuild interface