8 Star 1 Fork 4

src-openEuler/luksmeta

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
luksmeta.spec 2.19 KB
一键复制 编辑 原始数据 按行查看 历史
Name: luksmeta
Version: 9
Release: 5
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
Patch1: 0001-Relax-content-tests-in-test-suite.patch
Patch2: 0002-Force-creation-of-LUKS1-containers-in-test-suite.patch
Patch3: 0003-Define-log-callback-function-to-use-with-libcryptset.patch
BuildRequires: gcc asciidoc pkgconfig
BuildRequires: cryptsetup-devel
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
%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 Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 9-5
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Mon Jul 13 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 9-4
- backport upstream bugfix patches
* Fri Aug 30 2019 guiyao<guiyao@huawei.com> - 9-3
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/luksmeta.git
git@gitee.com:src-openeuler/luksmeta.git
src-openeuler
luksmeta
luksmeta
openEuler-22.03-LTS-SP2

搜索帮助