File dislocker.spec of Package dislocker

#
# spec file for package dislocker
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

Name:           dislocker
Version:        0.7.3
Release:        0
License:        GPL-2.0
Summary:        FUSE driver to read/write Windows' BitLocker-ed volumes under Linux / Mac OSX 
Url:            https://github.com/Aorimn/dislocker
Group:          System/Filesystems
Source:         %{name}-%{version}.tar.xz
BuildRequires:  gcc
BuildRequires:  cmake
BuildRequires:  make
BuildRequires:  fuse-devel
BuildRequires:  mbedtls-devel
BuildRequires:  ruby-devel

%description
This software has been designed to read BitLocker encrypted partitions under a Linux system.

The driver has the capability to read/write on:
- Windows Vista, 7, 8, 8.1 and 10 encrypted partitions - that's AES-CBC, AES-XTS, 128 or 256 bits, with or without the Elephant diffuser, encrypted partitions;
- BitLocker-To-Go encrypted partitions - that's USB/FAT32 partitions.

%prep
%setup -q

%build
%cmake
%cmake_build

%install
%cmake_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc *.md
%license LICENSE.txt
%{_bindir}/dislocker*
%{_libdir}/libdislocker.so*
%{_mandir}/man1/dislocker*

%changelog
openSUSE Build Service is sponsored by