Update to cryptsetup 1.4.1.
Add Python cryptsetup bindings. Obsolete separate python-cryptsetup package.
This commit is contained in:
parent
6bfe7639ac
commit
b661c14e59
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
/cryptsetup-1.4.0.tar.bz2
|
/cryptsetup-1.4.1.tar.bz2
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
Version: GnuPG v1.4.11 (GNU/Linux)
|
|
||||||
|
|
||||||
iEYEABECAAYFAk6oSuUACgkQf1Jlc7shgi82tgCgjnXpdC2zWQduAF8betHUFN9N
|
|
||||||
CVYAnRRe7Q2rcfZrPi5Uoe3EXvSVybMl
|
|
||||||
=hnkE
|
|
||||||
-----END PGP SIGNATURE-----
|
|
7
cryptsetup-1.4.1.tar.bz2.asc
Normal file
7
cryptsetup-1.4.1.tar.bz2.asc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v1.4.11 (GNU/Linux)
|
||||||
|
|
||||||
|
iEYEABECAAYFAk66cjgACgkQf1Jlc7shgi8zmQCeI8JsH4Dma49+YoQLfZdzHoIH
|
||||||
|
OHgAn2z9CBsNJizgHJe+46OcaIPL/gQi
|
||||||
|
=E/yV
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,13 +1,13 @@
|
|||||||
Summary: A utility for setting up encrypted disks
|
Summary: A utility for setting up encrypted disks
|
||||||
Name: cryptsetup
|
Name: cryptsetup
|
||||||
Version: 1.4.0
|
Version: 1.4.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2 and LGPLv2+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://cryptsetup.googlecode.com/
|
URL: http://cryptsetup.googlecode.com/
|
||||||
BuildRequires: libgcrypt-devel, popt-devel, device-mapper-devel
|
BuildRequires: libgcrypt-devel, popt-devel, device-mapper-devel
|
||||||
BuildRequires: libgpg-error-devel, libuuid-devel, libsepol-devel
|
BuildRequires: libgpg-error-devel, libuuid-devel, libsepol-devel
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel, python-devel
|
||||||
Provides: cryptsetup-luks = %{version}-%{release}
|
Provides: cryptsetup-luks = %{version}-%{release}
|
||||||
Obsoletes: cryptsetup-luks < 1.4.0
|
Obsoletes: cryptsetup-luks < 1.4.0
|
||||||
Requires: cryptsetup-libs = %{version}-%{release}
|
Requires: cryptsetup-libs = %{version}-%{release}
|
||||||
@ -42,11 +42,23 @@ Obsoletes: cryptsetup-luks-libs < 1.4.0
|
|||||||
%description libs
|
%description libs
|
||||||
This package contains the cryptsetup shared library, libcryptsetup.
|
This package contains the cryptsetup shared library, libcryptsetup.
|
||||||
|
|
||||||
|
%package python
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Summary: Python bindings for libcryptsetup
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
Provides: python-cryptsetup = %{version}-%{release}
|
||||||
|
Obsoletes: python-cryptsetup < 1.4.0
|
||||||
|
|
||||||
|
%description python
|
||||||
|
This package provides Python bindings for libcryptsetup, a library
|
||||||
|
for setting up disk encryption using dm-crypt kernel module.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n cryptsetup-%{upstream_version}
|
%setup -q -n cryptsetup-%{upstream_version}
|
||||||
|
chmod -x python/pycryptsetup-test.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --sbindir=%{_root_sbindir} --libdir=/%{_lib}
|
%configure --sbindir=%{_root_sbindir} --libdir=/%{_lib} --enable-python
|
||||||
# remove rpath
|
# remove rpath
|
||||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
@ -85,9 +97,19 @@ popd
|
|||||||
%doc COPYING
|
%doc COPYING
|
||||||
/%{_lib}/libcryptsetup.so.*
|
/%{_lib}/libcryptsetup.so.*
|
||||||
|
|
||||||
|
%files python
|
||||||
|
%doc COPYING.LGPL python/pycryptsetup-test.py
|
||||||
|
%exclude %{python_sitearch}/pycryptsetup.la
|
||||||
|
%{python_sitearch}/pycryptsetup.so
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 09 2011 Milan Broz <mbroz@redhat.com> - 1.4.1-1
|
||||||
|
- Update to cryptsetup 1.4.1.
|
||||||
|
- Add Python cryptsetup bindings.
|
||||||
|
- Obsolete separate python-cryptsetup package.
|
||||||
|
|
||||||
* Wed Oct 26 2011 Milan Broz <mbroz@redhat.com> - 1.4.0-1
|
* Wed Oct 26 2011 Milan Broz <mbroz@redhat.com> - 1.4.0-1
|
||||||
- Update to cryptsetup 1.4.0.
|
- Update to cryptsetup 1.4.0.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user