libsodium/libsodium.spec

68 lines
1.9 KiB
RPMSpec
Raw Permalink Normal View History

2020-02-20 20:34:47 -05:00
Name: libsodium
Summary: The Sodium crypto library
2023-10-17 11:29:08 +08:00
Version: 1.0.19
2020-07-27 11:19:27 +08:00
Release: 1
2020-02-20 20:34:47 -05:00
License: ISC
2023-10-17 11:29:08 +08:00
URL: https://github.com/jedisct1/libsodium
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
2020-02-20 20:34:47 -05:00
BuildRequires: gcc
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
%check
make check
%files
%license LICENSE
2023-10-17 11:29:08 +08:00
%{_libdir}/libsodium.so.26*
2020-02-20 20:34:47 -05:00
%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
%exclude %{_libdir}/libsodium.la
%changelog
2023-10-17 11:29:08 +08:00
* Tue Oct 17 2023 yaoxin <yao_xin001@hoperun.com> - 1.0.19-1
- Upgrade to 1.0.19
2020-07-27 14:30:29 +08:00
* Mon Jul 27 2020 lingsheng <lingsheng@huawei.com> - 1.0.18-1
2020-07-27 11:19:27 +08:00
- update to 1.0.18
2020-02-20 20:34:47 -05:00
* 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