File ca-certificates-core-rus.spec of Package ca-certificates-core-rus
#
# spec file for package ca-certificates-core-rus
#
# Copyright (c) 2023 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/
#
%define certdir %{_datadir}/pki/trust/anchors
Name: ca-certificates-core-rus
Version: 1
Release: 0
Group: Productivity/Networking/Security
Summary: CA certificates for LibertaCasa
License: to-do
URL: https://gu-st.ru/
Source: https://gu-st.ru/content/lending/russian_trusted_root_ca_pem.crt
BuildRequires: ca-certificates
Requires(pre): ca-certificates
BuildArch: noarch
%description
CA certificates needed for connection to various internal services.
%prep
%build
%install
install -dm0755 %{buildroot}/%{certdir}
install -m0644 %{SOURCE0} %{buildroot}/%{certdir}
%post
update-ca-certificates || true
%postun
update-ca-certificates
%files
%{certdir}/russian_trusted_root_ca_pem.crt
%changelog