## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 27 %bcond check 1 %global crate sequoia-octopus-librnp %global tb_plugindir %{_libdir}/thunderbird %global __provides_exclude_from ^%{tb_plugindir}/.*\\.so$ Name: rust-sequoia-octopus-librnp Version: 1.10.0 Release: %autorelease Summary: Reimplementation of RNP's interface using Sequoia for use with Thunderbird License: LGPL-2.0-or-later URL: https://crates.io/crates/sequoia-octopus-librnp Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: sequoia-octopus-librnp-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * bump sequoia-gpg-agent dependency from 0.4 to 0.5 # * bump sequoia-policy-config dependency from 0.6 to 0.7 # * bump sequoia-wot dependency from 0.12 to 0.13 # * switch crypto backend from Nettle to OpenSSL # * enable default features in rand_distr to fix build failures # * drop build script and build-dependencies (unavailable git versioning) # * exclude files only useful for upstream development Patch: sequoia-octopus-librnp-fix-metadata.diff Patch: 0001-drop-broken-build-script-based-git-versioning.patch Patch: 0002-Port-to-sequoia-gpg-agent-0.5.patch # exclude architectures where thunderbird is not available ExcludeArch: %{ix86} %{arm} s390x BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Reimplementation of RNP's interface using Sequoia for use with Thunderbird.} %description %{_description} %package -n %{crate} Summary: %{summary} # (Apache-2.0 OR MIT) AND BSD-3-Clause # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # 0BSD OR MIT OR Apache-2.0 # Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR ISC OR MIT # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-2-Clause OR Apache-2.0 OR MIT # BSL-1.0 # LGPL-2.0-or-later # MIT # MIT OR Apache-2.0 # MIT OR Apache-2.0 OR Zlib # MIT OR LGPL-3.0-or-later # MIT OR Zlib OR Apache-2.0 # MPL-2.0 # Unlicense OR MIT # Zlib OR Apache-2.0 OR MIT License: LGPL-2.0-or-later AND Apache-2.0 AND BSD-3-Clause AND BSL-1.0 AND MIT AND MPL-2.0 AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR LGPL-3.0-or-later) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown Requires: thunderbird%{?_isa} Provides: thunderbird-librnp Provides: thunderbird-librnp%{?_isa} Conflicts: thunderbird-librnp%{?_isa} %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE.txt %license LICENSE.dependencies %doc README.md %{tb_plugindir}/librnp.so %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install mkdir -p %{buildroot}/%{tb_plugindir} cp -pav target/release/libsequoia_octopus_librnp.so %{buildroot}/%{tb_plugindir}/librnp.so %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Fri Dec 06 2024 Fabio Valentini - 1.10.0-3 - Bump sequoia-policy-config dependency from 0.6 to 0.7 * Wed Nov 27 2024 Fabio Valentini - 1.10.0-2 - Bump sequoia-gpg-agent dep to 0.5 and sequoia-wot dep to 0.13 * Tue Sep 24 2024 Fabio Valentini - 1.10.0-1 - Update to version 1.10.0; Fixes RHBZ#2304095 * Sat Jul 20 2024 Fedora Release Engineering - 1.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 15 2024 Fabio Valentini - 1.9.0-1 - Update to version 1.9.0; Fixes RHBZ#2292506 * Thu May 23 2024 Fabio Valentini - 1.8.1-4 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Thu Apr 25 2024 Fabio Valentini - 1.8.1-3 - Rebuild for rustix 0.38.34 * Mon Apr 22 2024 Fabio Valentini - 1.8.1-2 - Switch crypto backend from Nettle to OpenSSL * Tue Mar 19 2024 Fabio Valentini - 1.8.1-1 - Update to version 1.8.1; Fixes RHBZ#2270324 * Wed Feb 21 2024 Fabio Valentini - 1.8.0-1 - Update to version 1.8.0; Fixes RHBZ#2265375 * Fri Jan 26 2024 Fedora Release Engineering - 1.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 25 2024 Fabio Valentini - 1.7.0-1 - Update to version 1.7.0; Fixes RHBZ#2260139 * Tue Dec 19 2023 Fabio Valentini - 1.6.1-1 - Update to version 1.6.1; Fixes RHBZ#2254574 * Fri Dec 01 2023 Fabio Valentini - 1.5.0-4 - Rebuild for openssl crate >= v0.10.60 (RUSTSEC-2023-0044, RUSTSEC-2023-0072) * Fri Jul 21 2023 Fedora Release Engineering - 1.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu May 18 2023 Fabio Valentini - 1.5.0-2 - Rebuild for sequoia-openpgp v1.16 * Sat May 06 2023 Fabio Valentini - 1.5.0-1 - Update to version 1.5.0; Fixes RHBZ#2175238 * Wed May 03 2023 Fabio Valentini - 1.4.1-8 - Rebuild for tokio, h2, and openssl crate security updates * Fri Apr 14 2023 Fabio Valentini - 1.4.1-7 - Bump to sequoia-autocrypt v0.25, sequoia-ipc v0.30, and sequoia-net v0.27 * Wed Mar 01 2023 Fabio Valentini - 1.4.1-6 - Bump rusqlite dependency from 0.26 to 0.28 * Sun Feb 26 2023 Fabio Valentini - 1.4.1-5 - Rebuild for bzip2 0.4.4 (CVE-2023-22895 / RUSTSEC-2023-0004) * Sun Feb 05 2023 Fabio Valentini - 1.4.1-4 - Rebuild for fixed frame pointer compiler flags in Rust RPM macros * Sat Jan 21 2023 Fedora Release Engineering - 1.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Dec 01 2022 Fabio Valentini - 1.4.1-2 - Rebuild with capnp v0.14.11 for CVE-2022-46149 / RUSTSEC-2022-0068 * Wed Sep 07 2022 Fabio Valentini - 1.4.1-1 - Update to version 1.4.1; Fixes RHBZ#2103181 * Sat Jul 23 2022 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat May 07 2022 Fabio Valentini - 1.4.0-1 - Update to version 1.4.0; Fixes RHBZ#2068321 * Wed Mar 16 2022 Fabio Valentini - 1.2.1-1 - Update to version 1.2.1; Fixes RHBZ#2031067 * Fri Jan 21 2022 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Nov 13 2021 Robert-André Mauchin - 1.1.0-1 - Update to 1.1.0 Close: rhbz#2005256 * Tue Sep 14 2021 Sahana Prasad - 1.0.1-4 - Rebuilt with OpenSSL 3.0.0 * Fri Jul 23 2021 Fedora Release Engineering - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat May 22 2021 Fabio Valentini - 1.0.1-2 - Packaging changes to match official Fedora thunderbird package. * Mon Apr 26 2021 Fabio Valentini - 1.0.1-1 - Initial package ## END: Generated by rpmautospec