Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:tarakbumba:mageia-repository
argon2
argon2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File argon2.spec of Package argon2
%define major 1 %define libname %mklibname %{name}_ %{major} %define develname %mklibname %{name} -d Name: argon2 Version: 20190702 Release: %mkrel 1 Summary: The reference C implementation of Argon2 License: ASL 2.0 Group: System/Libraries Url: https://github.com/P-H-C/phc-winner-argon2 Source0: https://github.com/P-H-C/phc-winner-argon2/archive/%{version}/phc-winner-%{name}-%{version}.tar.gz Requires: %{libname} = %{version}-%{release} %description This is the reference C implementation of Argon2, the password-hashing function that won the Password Hashing Competition (PHC). Argon2 is a password-hashing function that summarizes the state of the art in the design of memory-hard functions and can be used to hash passwords for credential storage, key derivation, or other applications. #---------------------------------------------------- %package -n %{libname} Summary: The reference C implementation of Argon2 Group: System/Libraries %description -n %{libname} Reference C implementation of Argon2, the password-hashing function that won the Password Hashing Competition (PHC). #---------------------------------------------------- %package -n %{develname} Summary: Development files for argon2 Group: Development/C++ Requires: %{libname} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Provides: lib%{name}-devel = %{version}-%{release} %description -n %{develname} Headers for argon2, the reference C implementation of Argon2, the password-hashing function that won the Password Hashing Competition (PHC). #---------------------------------------------------- %prep %setup -q -n phc-winner-%{name}-%{version} %autopatch -p1 sed -i s,"LIBRARY_REL = lib","LIBRARY_REL = %{_lib}", Makefile sed -i -e "s|@UPSTREAM_VER@|%{version}|" libargon2.pc.in sed -i -e "s|@HOST_MULTIARCH@|%{_lib}|" libargon2.pc.in %build export OPTTARGET=none %make_build %install %make_install LIBRARY_REL=%{_lib} # we don't want these find %{buildroot} -name '*.a' -delete install -D -m 644 man/argon2.1 %{buildroot}%{_mandir}/man1/%{name}.1 %check %__make test %files %doc CHANGELOG.md README.md %doc argon2-specs.pdf %license LICENSE %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %files -n %{libname} %doc CHANGELOG.md README.md %{_libdir}/lib%{name}.so.%{major}{,.*} %files -n %{develname} %doc CHANGELOG.md README.md %{_includedir}/%{name}.h %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/lib%{name}.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor