Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:SquarePeg79
veracrypt
veracrypt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File veracrypt.spec of Package veracrypt
# # spec file for package veracrypt # # Copyright (c) 2022 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: veracrypt Version: 1.26.15 Release: 0 Summary: Free disk encryption software based on TrueCrypt License: Apache-2.0 Group: Productivity/Security URL: https://www.%{name}.fr Source0: https://github.com/veracrypt/VeraCrypt/archive/refs/tags/VeraCrypt_%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: sed BuildRequires: update-desktop-files BuildRequires: pcsc-lite-devel BuildRequires: wxWidgets-devel < 3.1 BuildRequires: wxWidgets-devel >= 3.0 BuildRequires: pkgconfig(fuse) BuildRequires: help2man %ifarch %{ix86} x86_64 BuildRequires: yasm %else BuildRequires: nasm %endif %description VeraCrypt is software for establishing and maintaining an on-the-fly-encrypted volume (data storage device). On-the-fly encryption means that data is automatically encrypted right before it is saved and decrypted right after it is loaded, without any user intervention. No data stored on an encrypted volume can be read (decrypted) without using the correct password/keyfile(s) or correct encryption keys. Entire file system is encrypted (e.g., file names, folder names, contents of every file, free space, meta data, etc). It is based on original TrueCrypt 7.1a with security enhancements and modifications. %package -n veracrypt-lang Summary: Translations for package veracrypt Group: System/Localization Requires: veracrypt = %{version} Provides: veracrypt-lang-all = %{version} Supplements: veracrypt BuildArch: noarch %description -n veracrypt-lang Provides translations for the "veracrypt" package. %package -n veracrypt-doc Summary: Documentation for veracrypt Group: Documentation/HTML BuildArch: noarch %description -n veracrypt-doc This package contains the documentation for veracrypt. %prep %setup -q -n VeraCrypt-VeraCrypt_%{version} %build #force downgrade to c++11, because c++17 introduced the new type std::byte, that is now colliding # with a typedef in the source-code. export CFLAGS="%{optflags}" export CXXFLAGS="$CFLAGS -std=c++11" export TC_EXTRA_CXXFLAGS="$CXXFLAGS" export TC_EXTRA_CFLAGS="$CFLAGS" make -C src %{?_smp_mflags} %install install -D -m 0755 src/Main/veracrypt "%{buildroot}/%{_bindir}/veracrypt" install -D -m 0755 -t %{buildroot}%{_sbindir} src/Setup/Linux/mount.veracrypt install -D -m 0644 -t %{buildroot}%{_datadir}/veracrypt/languages Translations/*.xml install -D -m 0644 -t %{buildroot}%{_datadir}/mime/packages src/Setup/Linux/veracrypt.xml install -D -m 0644 src/Setup/Linux/%{name}.desktop "%{buildroot}%{_datadir}/applications/%{name}.desktop" install -D -m 0644 src/Resources/Icons/VeraCrypt-256x256.xpm "%{buildroot}%{_datadir}/pixmaps/veracrypt.xpm" %suse_update_desktop_file -r -i veracrypt System Security # man page install -d -m 0755 %{buildroot}%{_mandir}/man1 help2man -N -o %{buildroot}%{_mandir}/man1/veracrypt.1 \ %{buildroot}%{_bindir}/veracrypt # see src/Build/Packaging/rpm-control/prerm.sh %preun if mount | grep -q veracrypt_aux_mnt ; then echo "Error: All VeraCrypt volumes must be dismounted first." >&2 exit 1 fi exit 0 %files %license License.txt %doc README.md doc/EFI-DCS/*.pdf %{_bindir}/veracrypt %{_sbindir}/mount.veracrypt %dir %{_datadir}/veracrypt %{_datadir}/mime/packages/veracrypt.xml %{_mandir}/man1/veracrypt.1%{?ext_man} %{_datadir}/applications/veracrypt.desktop %{_datadir}/pixmaps/veracrypt.xpm %files -n veracrypt-lang %{_datadir}/veracrypt/languages %files -n veracrypt-doc %doc doc/html %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor