update to 2.4.2 [release 2.4.2-1mamba;Sat Dec 25 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 04:02:45 +01:00
parent 49d1c138dd
commit 18f4fc34a5

View File

@ -1,14 +1,14 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: libcryptsetup
Epoch: 1
Version: 2.3.4
Release: 3mamba
Version: 2.4.2
Release: 1mamba
Summary: A library for setting up encrypted filesystems
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://code.google.com/p/cryptsetup/
URL: https://gitlab.com/cryptsetup/cryptsetup/-/wikis/home
Source: https://www.kernel.org/pub/linux/utils/cryptsetup/v%{majver}/cryptsetup-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
@ -18,6 +18,7 @@ BuildRequires: libdevmapper-devel
BuildRequires: libjson-c-devel
BuildRequires: libopenssl-devel
BuildRequires: libpopt-devel
BuildRequires: libssh-devel
BuildRequires: libuuid-devel
## AUTOBUILDREQ-END
BuildRequires: libselinux-devel
@ -57,8 +58,8 @@ This package contains cryptsetup, a utility for setting up encrypted filesystems
%prep
%setup -q -n cryptsetup-%{version}
iconv -f latin1 -t utf8 ChangeLog > ChangeLog.new
mv -f ChangeLog.new ChangeLog
#iconv -f latin1 -t utf8 ChangeLog > ChangeLog.new
#mv -f ChangeLog.new ChangeLog
%build
%configure
@ -86,6 +87,8 @@ rm -rf %{buildroot}%{_libdir}/*.la
%files
%defattr(-,root,root)
%{_libdir}/libcryptsetup.so.*
%dir %{_libdir}/cryptsetup
%{_libdir}/cryptsetup/libcryptsetup-token-ssh.*
%doc AUTHORS COPYING
%files devel
@ -93,21 +96,25 @@ rm -rf %{buildroot}%{_libdir}/*.la
%{_includedir}/libcryptsetup.h
%{_libdir}/libcryptsetup.so
%{_libdir}/pkgconfig/libcryptsetup.pc
%doc ChangeLog FAQ TODO
%files -n cryptsetup -f cryptsetup.lang
%defattr(-,root,root)
%{_sbindir}/cryptsetup
%{_sbindir}/cryptsetup-ssh
%{_sbindir}/veritysetup
%{_sbindir}/cryptsetup-reencrypt
%{_sbindir}/integritysetup
%{_tmpfilesdir}/cryptsetup.conf
%{_mandir}/man8/cryptsetup.8*
%{_mandir}/man8/cryptsetup-reencrypt.8*
%{_mandir}/man8/cryptsetup-ssh.8*
%{_mandir}/man8/veritysetup.8*
%{_mandir}/man8/integritysetup.8*
%changelog
* Sat Dec 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.2-1mamba
- update to 2.4.2
* Sat May 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.4-3mamba
- obsolete cryptsetup4 legacy packages