diff options
author | CoprDistGit <infra@openeuler.org> | 2024-07-29 06:39:11 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-07-29 06:39:11 +0000 |
commit | f21f0227ac9ed2eb3c8e4eadc1fd68f248c72965 (patch) | |
tree | a4d2a769650dec562719dd327cb035a37f64ddfc | |
parent | ace0bd8cfff9b65c19a7921c00e367c820c209b8 (diff) |
automatic import of libsodiumopeneuler24.03_LTS
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | libsodium.spec | 71 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 73 insertions, 0 deletions
@@ -0,0 +1 @@ +/libsodium-1.0.20.tar.gz diff --git a/libsodium.spec b/libsodium.spec new file mode 100644 index 0000000..a4894f4 --- /dev/null +++ b/libsodium.spec @@ -0,0 +1,71 @@ +Name: libsodium +Summary: The Sodium crypto library +Version: 1.0.20 +Release: 1 +License: ISC +URL: https://github.com/jedisct1/libsodium +Source0: https://github.com/jedisct1/libsodium/releases/download/%{version}-RELEASE/%{name}-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: make +Obsoletes: libsodium23 <= %{version} + +%description +Sodium is a modern, easy-to-use software library for encryption, decryption, signatures, password +hashing and more. It is a portable, cross-compilable, installable6, packageable fork of NaCl, with +a compatible API, and an extended API to improve usability even further. + +Its goal is to provide all of the core operations needed to build higher-level cryptographic tools. + +%package devel +Summary: Development headers and libraries files for libsodium + +Requires: libsodium = %{version}-%{release} +Provides: libsodium-static = %{version}-%{release} +Obsoletes: libsodium23-devel <= %{version} libsodium-static < %{version}-%{release} + +%description devel +This package contains libraries and header files for developing applications that use libsodium libraries. + +%prep +%autosetup -p1 + +%build +%configure --disable-silent-rules --disable-opt +%make_build + +%install +%make_install +%delete_la + +%check +%make_build check + +%files +%license LICENSE +%{_libdir}/libsodium.so.26* + +%files devel +%doc AUTHORS ChangeLog README.markdown THANKS +%doc test/default/*.{c,exp,h} test/quirks/quirks.h +%{_includedir}/sodium.h +%{_includedir}/sodium/ +%{_libdir}/libsodium.so +%{_libdir}/pkgconfig/libsodium.pc +%{_libdir}/libsodium.a + +%changelog +* Mon Jul 29 2024 Funda Wang <fundawang@yeah.net> - 1.0.20-1 +- update to 1.0.20 + +* Tue Oct 17 2023 yaoxin <yao_xin001@hoperun.com> - 1.0.19-1 +- Upgrade to 1.0.19 + +* Mon Jul 27 2020 lingsheng <lingsheng@huawei.com> - 1.0.18-1 +- update to 1.0.18 + +* Thu Jan 15 2019 Lei Zhang <ricky.z@huawei.com> - 1.0.16-7 +- modify the unavailable source address + +* Wed Nov 13 2019 Lijin Yang <yanglijin@huawei.com> - 1.0.16-6 +- init package @@ -0,0 +1 @@ +597f2c7811f84e63e45e2277dfb5da46 libsodium-1.0.20.tar.gz |