Initial import

This commit is contained in:
Nathaniel McCallum 2016-09-21 15:28:14 -04:00
parent e9462966d1
commit 4ca9e9ad08
3 changed files with 67 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/luksmeta-2.tar.bz2

65
luksmeta.spec Normal file
View File

@ -0,0 +1,65 @@
Name: luksmeta
Version: 2
Release: 1%{?dist}
Summary: Utility for storing small 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
BuildRequires: pkgconfig
BuildRequires: cryptsetup-devel
Requires: lib%{name}%{?_isa} = %{version}-%{release}
%description
LUKSMeta is a command line utility for storing small portions of metadata in
the LUKSv1 header for use before unlocking the volume.
%package -n lib%{name}
Summary: Library for storing small metadata in the LUKSv1 header
%description -n lib%{name}
LUKSMeta is a C library for storing small portions of metadata in the LUKSv1
header for use before unlocking the volume.
%package -n lib%{name}-devel
Summary: Development files for libluksmeta
Requires: lib%{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description -n lib%{name}-devel
This package contains development files for the LUKSMeta library.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
%make_install
rm -rf %{buildroot}/%{_libdir}/libluksmeta.la
%check
make %{?_smp_mflags} check
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%{_bindir}/luksmeta
%files -n lib%{name}
%license COPYING
%{_libdir}/libluksmeta.so.*
%files -n lib%{name}-devel
%{_includedir}/luksmeta.h
%{_libdir}/libluksmeta.so
%{_libdir}/pkgconfig/luksmeta.pc
%changelog
* Thu Aug 25 2016 Nathaniel McCallum <npmccallum@redhat.com> - 2-1
- First release

View File

@ -0,0 +1 @@
f06c461aa44b3c271d09c388e13c3b46 luksmeta-2.tar.bz2