add libargon2 containing dynamic library for argon2
This commit is contained in:
parent
cd9fa75c28
commit
7169a65b2f
32
argon2.spec
32
argon2.spec
@ -1,14 +1,13 @@
|
|||||||
Name: argon2
|
Name: argon2
|
||||||
Version: 20161029
|
Version: 20161029
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: A password-hashing tool
|
Summary: A password-hashing tool
|
||||||
License: Public Domain or ASL 2.0
|
License: Public Domain or ASL 2.0
|
||||||
URL: https://github.com/P-H-C/phc-winner-argon2
|
URL: https://github.com/P-H-C/phc-winner-argon2
|
||||||
Source0: https://github.com/P-H-C/phc-winner-argon2/archive/1c4fc41f81f358283755eea88d4ecd05e43b7fd3/phc-winner-argon2-20161029-1c4fc41.tar.gz
|
Source0: https://github.com/P-H-C/phc-winner-argon2/archive/1c4fc41f81f358283755eea88d4ecd05e43b7fd3/phc-winner-argon2-20161029-1c4fc41.tar.gz
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
Provides: libargon2
|
Requires: libargon2%{?_isa} = %{version}-%{release}
|
||||||
Obsoletes: libargon2
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Argon2 is a password-hashing function that summarizes the state of the art in the design of
|
Argon2 is a password-hashing function that summarizes the state of the art in the design of
|
||||||
@ -35,15 +34,19 @@ time, given in number of iterations
|
|||||||
- A memory cost, which defines the memory usage, given in kibibytes
|
- A memory cost, which defines the memory usage, given in kibibytes
|
||||||
- A parallelism degree, which defines the number of parallel threads
|
- A parallelism degree, which defines the number of parallel threads
|
||||||
|
|
||||||
%package devel
|
%package -n libargon2-devel
|
||||||
Summary: Development library files for argon2
|
Summary: Development library files for argon2
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: libargon2%{?_isa} = %{version}-%{release}
|
||||||
Provides: libargon2-devel
|
|
||||||
Obsoletes: libargon2-devel
|
|
||||||
|
|
||||||
%description devel
|
%description -n libargon2-devel
|
||||||
This package contains development library files and headers for the argon2.
|
This package contains development library files and headers for the argon2.
|
||||||
|
|
||||||
|
%package -n libargon2
|
||||||
|
Summary: The password-hashing library for argon2
|
||||||
|
|
||||||
|
%description -n libargon2
|
||||||
|
This package contains dynamic library for argon2
|
||||||
|
|
||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -84,17 +87,21 @@ make test
|
|||||||
|
|
||||||
%preun
|
%preun
|
||||||
|
|
||||||
%post -n %{name} -p /sbin/ldconfig
|
%post -n libargon2 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{name} -p /sbin/ldconfig
|
%postun -n libargon2 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
|
%files -n libargon2
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%license LICENSE
|
||||||
%{_libdir}/libargon2.so.*
|
%{_libdir}/libargon2.so.*
|
||||||
|
|
||||||
%files devel
|
%files -n libargon2-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/%{name}.h
|
%{_includedir}/%{name}.h
|
||||||
%{_libdir}/libargon2.so
|
%{_libdir}/libargon2.so
|
||||||
@ -105,5 +112,8 @@ make test
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 20161029-8
|
||||||
|
- add libargon2 containing dynamic library for argon2; change argon2-devel to libargon2-devel
|
||||||
|
|
||||||
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 20161029-7
|
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 20161029-7
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user