])
AC_DEFUN([CONFIGURE_OPENSSL], [
- PKG_CHECK_MODULES([OPENSSL], [openssl1.1 >= 0.9.8],,
+ PKG_CHECK_MODULES([OPENSSL], [openssl3 >= 3.0.9],,
AC_MSG_ERROR([You need openssl library.]))
CRYPTO_CFLAGS=$OPENSSL_CFLAGS
CRYPTO_LIBS=$OPENSSL_LIBS
Name: cryptsetup
Summary: The cryptsetup
-Version: 2.3.7
+Version: 2.6.1
Release: 1
License: GPL-2.0+, LGPL-2.1+
Group: Base/Device Management
BuildRequires: automake
BuildRequires: gettext
BuildRequires: pkgconfig(json-c)
-BuildRequires: pkgconfig(libssl1.1)
+BuildRequires: pkgconfig(openssl3)
BuildRequires: pkgconfig(blkid)
Requires: libgpg-error
cp %{SOURCE1} .
chmod +x ./autogen.sh
-./autogen.sh --prefix=%{_prefix} -localedir=%{_datarootdir}/locale -libdir=%{_libdir} \
- --disable-cryptsetup-reencrypt --disable-integritysetup
+./autogen.sh
+%configure \
+ --disable-cryptsetup-reencrypt \
+ --disable-integritysetup \
+ --disable-asciidoc \
+ --disable-ssh-token
make %{?jobs:-j%jobs}
%{_datarootdir}/locale/uk/LC_MESSAGES/cryptsetup.mo
%{_datarootdir}/locale/vi/LC_MESSAGES/cryptsetup.mo
%{_datarootdir}/locale/zh_CN/LC_MESSAGES/cryptsetup.mo
+%{_datarootdir}/locale/ka/LC_MESSAGES/cryptsetup.mo
+%{_datarootdir}/locale/ro/LC_MESSAGES/cryptsetup.mo
%files doc
%manifest %{name}.manifest
%license COPYING.GPL-2.0+
-%{_mandir}/man8/cryptsetup.8.gz
-%{_mandir}/man8/veritysetup.8.gz