1 Star 0 Fork 18

XWwalker/nettle

forked from src-openEuler/nettle 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nettle.spec 2.69 KB
一键复制 编辑 原始数据 按行查看 历史
xh 提交于 2022-03-25 15:48 . delete useless so file
Name: nettle
Version: 3.7.3
Release: 2
Summary: A low-level cryptographic library
License: LGPLv3+ or GPLv2+
URL: https://www.lysator.liu.se/~nisse/nettle/
Source0: https://www.lysator.liu.se/~nisse/archive/%{name}-%{version}.tar.gz
Patch0: 0000-nettle-3.3-remove-ecc-testsuite.patch
BuildRequires: automake autoconf fipscheck gcc gettext-devel gmp-devel libtool m4
Provides: libnettle.so.6()(64bit) libnettle.so.6(NETTLE_6)(64bit) libhogweed.so.4()(64bit) libhogweed.so.4(HOGWEED_4)(64bit)
%description
Nettle is a cryptographic library designed to fit any context:
in crypto toolkits for object-oriented languages, in applications
like LSH or GnuPG, or even in kernel space.
%package devel
Summary: Development headers for %{name} package
Requires: %{name} = %{version}-%{release} gmp-devel
%description devel
The devel for %{name}
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
sed s/ggdb3/g/ -i configure
sed 's/ecc-secp192r1.c//g' -i Makefile.in
sed 's/ecc-secp224r1.c//g' -i Makefile.in
%build
autoreconf -ifv
%configure --enable-shared --enable-fat
%make_build
%install
%make_install
make install-shared
install -D -p -m0644 nettle.info "$RPM_BUILD_ROOT%{_infodir}/nettle.info"
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/libnettle.so.8.*
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/libhogweed.so.6.*
%check
make check
%files
%defattr(-,root,root)
%doc AUTHORS descore.README nettle.pdf
%license COPYINGv2 COPYINGv3 COPYING.LESSERv3
%{_infodir}/nettle.info.gz
%{_libdir}/libnettle.so.8*
%{_libdir}/libhogweed.so.6*
%exclude %{_bindir}/*
%files devel
%defattr(-,root,root)
%{_includedir}/nettle/
%{_libdir}/*.a
%{_libdir}/libnettle.so
%{_libdir}/libhogweed.so
%{_libdir}/pkgconfig/*
%files help
%defattr(-,root,root)
%doc NEWS README
%doc nettle.html
%ldconfig_scriptlets
%changelog
* Fri Mar 25 2022 xingwei <xingwei14@h-partners.com> - 3.7.3-2
- Type:bugfix
- Id:NA
- SUG:restart
- DESC:delete useless so file
* Sat Mar 19 2022 quanhongfei <quanhongfei@h-partners.com> - 3.7.3-1
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update nettle to 3.7.3
* Mon Aug 16 2021 gaihuiying <gaihuiying1@huawei.com> - 3.6-7
- Type:CVE
- CVE:CVE-2021-3580
- SUG:NA
- DESC:fix CVE-2021-3580
* Mon Apr 19 2021 xihaochen <xihaochen@huawei.com> - 3.6-6
- Type:CVE
- CVE:CVE-2021-20305
- SUG:NA
- DESC:fix CVE-2021-20305
* Tue Jul 21 2020 cuibaobao <cuibaobao1@huawei.com> - 3.6-5
- Type:update
- Id:NA
- SUG:NA
- DESC:update to 3.6
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.4.1rc1-4
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:add COPYINGv3 in license
* Wed Sep 04 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.4.1rc1-3
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/XWwalker/nettle.git
git@gitee.com:XWwalker/nettle.git
XWwalker
nettle
nettle
master

搜索帮助