Name: luksmeta Version: 9 Release: 3 Summary: LUKSMeta is a simple library for storing metadata in the LUKSv1 header License: LGPLv2+ URL: https://github.com/latchset/%{name} Source0: https://github.com/latchset/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2 Patch0: 0000-luksmeta-9-tests.patch BuildRequires: gcc asciidoc pkgconfig BuildRequires: cryptsetup-devel git Provides: lib%{name} Obsoletes: lib%{name} %description LUKSMeta is a simple library for storing metadata in the LUKSv1 header. Some projects need to store additional metadata about a LUKS volume that is accessable before unlocking it. Fortunately, there is a gap in the LUKS header between the end of the slot area and the payload offset, LUKSMeta uses this hole to store additional metadata. %package devel Summary: Header files and other developing files Requires: %{name} = %{version}-%{release} Provides: lib%{name}-devel Obsoletes: lib%{name}-devel %description devel This package contained all files for development. %package help Summary: Documents for %{name} Buildarch: noarch Requires: man info %description help Man pages and other related documents for %{name}. %prep %autosetup -n %{name}-%{version} -p1 -Sgit %build %configure %make_build %install %make_install %check make %{?_smp_mflags} check %post -n %{name} -p /sbin/ldconfig %postun -n %{name} -p /sbin/ldconfig %files %exclude %{_libdir}/libluksmeta.la %license COPYING %{_bindir}/luksmeta %{_libdir}/libluksmeta.so.* %files devel %{_includedir}/luksmeta.h %{_libdir}/libluksmeta.so %{_libdir}/pkgconfig/luksmeta.pc %files help %{_mandir}/man8/luksmeta.8* %changelog * Fri Aug 30 2019 guiyao - 9-3 - Package init