5 Star 0 Fork 11

src-openEuler/python-nss

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-nss.spec 2.80 KB
一键复制 编辑 原始数据 按行查看 历史
Name: python-nss
Version: 1.0.1
Release: 16
Summary: Bindings the Python for Network Security Services(NSS)
License: MPLv2.0 or GPLv2+ or LGPLv2+
URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Python_binding_for_NSS
Source0: https://ftp.mozilla.org/pub/mozilla.org/security/python-nss/releases/PYNSS_RELEASE_1_0_1/src/python-nss-%{version}.tar.bz2
#https://github.com/cipherboy/python-nss/commit/079d4f65a743fb9e952ab109c1a24997c15398a7
Patch0001: Rename-DSA-RSA-PublicKey-to-Py-DSA-RSA-PublicKey.patch
BuildRequires: gcc nspr-devel nss-devel python3-devel python3-sphinx
%description
The python-nss provides Python bindings for Netscape Portable Runtime (NSPR)\
and Network Security Services (NSS)\
The NSS is a server applications and set of libraries supporting\
security-enabled client and The Applications built with NSS can support SSL v2\
and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3\
certificates, and other security standards. Specific NSS implementations\
have been FIPS-140 certified.
%package -n python3-nss
Summary: Bindings the Python3 for Network Security Services(NSS)
BuildRequires: python3-devel python3-setuptools python3-sphinx
%{?python_provide:%python_provide python3-nss}
%description -n python3-nss
The python-nss provides Python bindings for Netscape Portable Runtime (NSPR)\
and Network Security Services (NSS)\
The NSS is a server applications and set of libraries supporting\
security-enabled client and The Applications built with NSS can support SSL v2\
and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3\
certificates, and other security standards. Specific NSS implementations\
have been FIPS-140 certified.
%package help
Summary: The examples and API documentation
Provides: python-nss-doc = %{version}-%{release}
Obsoletes: python-nss-doc < %{version}-%{release}
%description help
The examples and API documentation
%prep
%autosetup -n python-nss-%{version} -p1
%build
%py3_build
%{__python3} setup.py build_doc
%install
%py3_install
%{__python3} setup.py install_doc --docdir %{_docdir}/%{name}-%{version} --skip-build --root $RPM_BUILD_ROOT
find $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version} -type f | xargs chmod a-x
chmod 0755 $RPM_BUILD_ROOT/%{python3_sitearch}/nss/*.so
%files -n python3-nss
%{python3_sitearch}/*
%doc %{_docdir}/%{name}-%{version}/{LICENSE.gpl,LICENSE.lgpl,LICENSE.mpl}
%files help
%doc %{_docdir}/%{name}-%{version}/{examples,test,api,ChangeLog,README}
%changelog
* Mon Jul 31 2023 yaoxin <yao_xin001@hoperun.com> - 1.0.1-16
- Fix build failure caused by python-sphinx update to 7.0.1
* Wed Mar 30 2022 yangping <yangping69@huawei.com> - 1.0.1-15
- Fix build error caused by conflicting struct names
* Mon Apr 20 2020 yaokai <yaokai13@huawei.com> - 1.0.1-14
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-nss.git
git@gitee.com:src-openeuler/python-nss.git
src-openeuler
python-nss
python-nss
master

搜索帮助