Enable openpgp

This commit is contained in:
eabdullin 2023-06-20 16:12:08 +03:00
parent caa6fa8d54
commit 6defd9bbd4

View File

@ -184,7 +184,7 @@ end}
Summary: Mozilla Thunderbird mail/newsgroup client Summary: Mozilla Thunderbird mail/newsgroup client
Name: thunderbird Name: thunderbird
Version: 102.12.0 Version: 102.12.0
Release: 1%{?dist}.alma Release: 1%{?dist}.alma.plus
URL: http://www.mozilla.org/projects/thunderbird/ URL: http://www.mozilla.org/projects/thunderbird/
License: MPLv1.1 or GPLv2+ or LGPLv2+ License: MPLv1.1 or GPLv2+ or LGPLv2+
@ -255,7 +255,7 @@ Patch224: mozilla-1170092.patch
Patch226: rhbz-1354671.patch Patch226: rhbz-1354671.patch
Patch228: disable-openh264-download.patch Patch228: disable-openh264-download.patch
Patch229: firefox-nss-addon-hack.patch Patch229: firefox-nss-addon-hack.patch
Patch230: disable-openpgp-in-thunderbird.patch # Patch230: disable-openpgp-in-thunderbird.patch
# Upstream patches # Upstream patches
Patch415: mozilla-1670333.patch Patch415: mozilla-1670333.patch
@ -396,7 +396,7 @@ BuildRequires: xmlto
%endif %endif
# Don't require any OpenPGP backend with the librnp interface, because RHEL does not have it # Don't require any OpenPGP backend with the librnp interface, because RHEL does not have it
#Requires: thunderbird-librnp%{?_isa} Requires: thunderbird-librnp%{?_isa}
# prefer the librnp implementation bundled with thunderbird # prefer the librnp implementation bundled with thunderbird
#Not in RHEL7 Suggests: thunderbird-librnp-rnp%{?_isa} #Not in RHEL7 Suggests: thunderbird-librnp-rnp%{?_isa}
Requires: p11-kit-trust Requires: p11-kit-trust
@ -570,19 +570,19 @@ Provides: bundled(nspr) = 4.34.0
%description %description
Mozilla Thunderbird is a standalone mail and newsgroup client. Mozilla Thunderbird is a standalone mail and newsgroup client.
#%package librnp-rnp %package librnp-rnp
#Summary: OpenPGP implementation for Thunderbird based on RNP Summary: OpenPGP implementation for Thunderbird based on RNP
#Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
#Provides: thunderbird-librnp Provides: thunderbird-librnp
#Provides: thunderbird-librnp%{?_isa} Provides: thunderbird-librnp%{?_isa}
#Conflicts: thunderbird-librnp%{?_isa} Conflicts: thunderbird-librnp%{?_isa}
#%description librnp-rnp %description librnp-rnp
#The thunderbird-librnp-rnp package contains an OpenPGP implementation The thunderbird-librnp-rnp package contains an OpenPGP implementation
#based on RNP. based on RNP.
#%files librnp-rnp %files librnp-rnp
#%{mozappdir}/librnp.so %{mozappdir}/librnp.so
#%{mozappdir}/rnp-cli %{mozappdir}/rnp-cli
#%{mozappdir}/rnpkeys %{mozappdir}/rnpkeys
%prep %prep
echo "Build environment" echo "Build environment"
@ -1183,9 +1183,9 @@ touch $RPM_BUILD_ROOT%{mozappdir}/components/xpti.dat
%endif %endif
# Removing librnp.so - we cannot deliver librnp with botan crypto backend RHELs # Removing librnp.so - we cannot deliver librnp with botan crypto backend RHELs
%if !%{?use_openssl_for_librnp} # %if !%{?use_openssl_for_librnp}
%{__rm} -rf %{buildroot}%{mozappdir}/librnp.so %{buildroot}%{mozappdir}/rnp-cli %{buildroot}%{mozappdir}/rnpkeys # %{__rm} -rf %{buildroot}%{mozappdir}/librnp.so %{buildroot}%{mozappdir}/rnp-cli %{buildroot}%{mozappdir}/rnpkeys
%endif # %endif
# Register as an application to be visible in the software center # Register as an application to be visible in the software center
mkdir -p $RPM_BUILD_ROOT%{_datadir}/metainfo mkdir -p $RPM_BUILD_ROOT%{_datadir}/metainfo
@ -1291,6 +1291,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#=============================================================================== #===============================================================================
%changelog %changelog
* Tue Jun 20 2023 Eduard Abdullin <eabdullin@almalinux.org> - 102.12.0-1.alma.plus
- Enable openpgp
* Tue Jun 20 2023 Eduard Abdullin <eabdullin@almalinux.org> - 102.12.0-1.alma * Tue Jun 20 2023 Eduard Abdullin <eabdullin@almalinux.org> - 102.12.0-1.alma
- Debrand for AlmaLinux - Debrand for AlmaLinux