Sync from SUSE:ALP:Source:Standard:1.0 libb2 revision 53300de8b6c60ee8ac312fd4689c5df2
This commit is contained in:
commit
2c8c0b5b2e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
libb2-0.98.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
libb2-0.98.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
4
libb2.changes
Normal file
4
libb2.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 13 09:02:55 UTC 2019 - Ismail Dönmez <idonmez@suse.com>
|
||||
|
||||
- Initial release for openSUSE
|
86
libb2.spec
Normal file
86
libb2.spec
Normal file
@ -0,0 +1,86 @@
|
||||
#
|
||||
# spec file for package libb2
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define so_suffix 1
|
||||
Name: libb2
|
||||
Version: 0.98.1
|
||||
Release: 0
|
||||
Summary: C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp
|
||||
License: CC0-1.0
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/BLAKE2/libb2
|
||||
Source: https://github.com/BLAKE2/libb2/releases/download/v%{version}/libb2-0.98.1.tar.gz
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%description
|
||||
C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp.
|
||||
|
||||
BLAKE2 is a cryptographic hash function faster than MD5, SHA-1, SHA-2,
|
||||
and SHA-3, yet is at least as secure as the latest standard SHA-3.
|
||||
|
||||
%package -n libb2-%{so_suffix}
|
||||
Summary: C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libb2-%{so_suffix}
|
||||
C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp.
|
||||
|
||||
BLAKE2 is a cryptographic hash function faster than MD5, SHA-1, SHA-2,
|
||||
and SHA-3, yet is at least as secure as the latest standard SHA-3.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for the Blake2 library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name}-%{so_suffix} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{summary}
|
||||
|
||||
This package contains the development files.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-silent-rules \
|
||||
--enable-static=no \
|
||||
--enable-native=no
|
||||
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
rm -f %{buildroot}%{_libdir}/libb2.la
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
%post -n libb2-%{so_suffix} -p /sbin/ldconfig
|
||||
%postun -n libb2-%{so_suffix} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{name}-%{so_suffix}
|
||||
%license COPYING
|
||||
%{_libdir}/libb2.so.%{so_suffix}*
|
||||
|
||||
%files devel
|
||||
%{_libdir}/libb2.so
|
||||
%{_includedir}/blake2.h
|
||||
%{_libdir}/pkgconfig/libb2.pc
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user