1 Summary: An utility for manipulating storage encryption keys and passphrases
6 Group: Applications/System
7 Source0: https://releases.pagure.org/volume_key/%{name}-%{version}.tar.xz
8 # Source0-md5: a2d14931177c660e1f3ebbcf5f47d8e2
9 Patch0: %{name}-config.h.patch
10 Patch1: %{name}-fips-crash.patch
11 URL: https://pagure.io/volume_key/
12 BuildRequires: autoconf >= 2.64
13 BuildRequires: automake
14 BuildRequires: cryptsetup-devel
15 BuildRequires: gettext-tools >= 0.17
16 BuildRequires: glib2-devel
18 BuildRequires: libblkid-devel
19 BuildRequires: libtool
20 BuildRequires: nss-devel
21 BuildRequires: pkgconfig
23 Requires: %{name}-libs = %{version}-%{release}
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 This package provides a command-line tool for manipulating storage
28 volume encryption keys and storing them separately from volumes.
30 The main goal of the software is to allow restoring access to an
31 encrypted hard drive if the primary user forgets the passphrase. The
32 encryption key back up can also be useful for extracting data after a
33 hardware or software failure that corrupts the header of the encrypted
34 volume, or to access the company data after an employee leaves
38 Summary: A library for manipulating storage encryption keys and passphrases
42 This package provides libvolume_key, a library for manipulating
43 storage volume encryption keys and storing them separately from
47 Summary: Header files for volume_key library
48 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki volume_key
49 Group: Development/Libraries
50 Requires: %{name}-libs = %{version}-%{release}
53 Header files for volume_key library.
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe biblioteki volume_key.
58 %package -n python-%{name}
59 Summary: Python bindings for volume_key library
61 Requires: %{name}-libs = %{version}-%{release}
63 %description -n python-%{name}
64 This package provides Python bindings for libvolume_key, a library for
65 manipulating storage volume encryption keys and storing them
66 separately from volumes.
83 rm -rf $RPM_BUILD_ROOT
86 DESTDIR=$RPM_BUILD_ROOT
88 %{__rm} -f $RPM_BUILD_ROOT%{py_sitedir}/*.la
95 rm -rf $RPM_BUILD_ROOT
97 %post libs -p /sbin/ldconfig
98 %postun libs -p /sbin/ldconfig
100 %files -f %{name}.lang
101 %defattr(644,root,root,755)
102 %doc AUTHORS ChangeLog NEWS README
103 %attr(755,root,root) %{_bindir}/volume_key
104 %{_mandir}/man8/volume_key.8*
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_libdir}/libvolume_key.so.*.*.*
109 %attr(755,root,root) %ghost %{_libdir}/libvolume_key.so.1
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/libvolume_key.so
114 %{_libdir}/libvolume_key.la
115 %{_includedir}/volume_key
117 %files -n python-%{name}
118 %defattr(644,root,root,755)
119 %attr(755,root,root) %{py_sitedir}/_volume_key.so
120 %{py_sitedir}/*.py[co]