Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:garloff:bcachefs
libscrypt
libscrypt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libscrypt.spec of Package libscrypt
%define somajor 0 Name: libscrypt%{somajor} Summary: library implementing scrypt() Version: 1.22 Release: 0 Url: https://github.com/technion/libscrypt License: BSD-2-clause Group: System/Libraries #Source: https://github.com/technion/libscrypt/archive/v%{version}.tar.gz Source: libscrypt-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: make BuildRequires: gcc BuildRequires: glibc-devel %if 0%{?rhel_version} == 600 BuildRequires: -libcom_err2 BuildRequires: -libext2fs2 %endif %description A shared library that implements scrypt() functionality - a replacement for bcrypt() Author: Joshua Small %package -n libscrypt-devel Summary: Header and devel files for libscrypt Group: Development/Libraries/C and C++ Requires: libscrypt%{somajor} = %{version} %description -n libscrypt-devel This package contains the header file and the .so library to link against for apps that want to use libscrypt. %prep %setup -q -n libscrypt-%{version} %build #autoreconf -fiv #% configure make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags}" %check make %{?_smp_mflags} check %install make install DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBDIR=%{_libdir} DOCDIR=%{_docdir}/libscrypt%{somajor} mkdir -p %buildroot/%_includedir install -m 0644 libscrypt.h %buildroot/%_includedir/ #ln -s libscrypt.so.%somajor %buildroot/%_libdir/libscrypt.so %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc README.md LICENSE %defattr(0755,root,root) %{_libdir}/libscrypt.so.* %files -n libscrypt-devel %defattr(0755,root,root) %{_libdir}/libscrypt.so %defattr(0644,root,root) %{_includedir}/libscrypt.h %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