Name: cryptsetup
Summary: The cryptsetup
-Version: 2.3.7
+Version: 2.6.1
Release: 1
-License: GPL-2.0+
+License: GPL-2.0+, LGPL-2.1+
Group: Base/Device Management
URL: http://code.google.com/p/cryptsetup/
Source0: %{name}-%{version}.tar.xz
BuildRequires: automake
BuildRequires: gettext
BuildRequires: pkgconfig(json-c)
-BuildRequires: pkgconfig(libssl1.1)
+BuildRequires: pkgconfig(openssl3)
BuildRequires: pkgconfig(blkid)
Requires: libgpg-error
%package devel
Summary: The cryptsetup development package
Group: Development/Libraries
-License: GPL-2.0+
+License: GPL-2.0+, LGPL-2.1+
Requires: %{name} = %{version}-%{release}
%description devel
cryptsetup development package
%package locale
-License: GPL-2.0+
+License: GPL-2.0+, LGPL-2.1+
Summary: The cryptsetup locale package
Group: Base/Device Management
Requires: %{name} = %{version}-%{release}
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}
%files
%manifest %{name}.manifest
-%license COPYING.GPL-2.0+
+%license COPYING.GPL-2.0+ COPYING.LGPL-2.1+
%{_libdir}/libcryptsetup.so.*
%{_prefix}/lib/tmpfiles.d/cryptsetup.conf
%{_sbindir}/cryptsetup
%files devel
%manifest %{name}.manifest
-%license COPYING.GPL-2.0+
+%license COPYING.GPL-2.0+ COPYING.LGPL-2.1+
%{_includedir}/libcryptsetup.h
%{_libdir}/libcryptsetup.so
%{_libdir}/pkgconfig/libcryptsetup.pc
%files locale
%manifest %{name}.manifest
-%license COPYING.GPL-2.0+
+%license COPYING.GPL-2.0+ COPYING.LGPL-2.1+
%{_datarootdir}/locale/cs/LC_MESSAGES/cryptsetup.mo
%{_datarootdir}/locale/da/LC_MESSAGES/cryptsetup.mo
%{_datarootdir}/locale/de/LC_MESSAGES/cryptsetup.mo
%{_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