Accepting request 1036825 from home:jengelh:branches:science

OBS-URL: https://build.opensuse.org/request/show/1036825
OBS-URL: https://build.opensuse.org/package/show/science/gap-crypting?expand=0&rev=1
This commit is contained in:
Atri Bhattacharya 2022-11-23 05:08:02 +00:00 committed by Git OBS Bridge
commit 2d51552ddb
5 changed files with 86 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
crypting-0.10.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:adef87661ec16d193ca41e45d9c375df0a48250fc82049f1788478d327391bac
size 157309

4
gap-crypting.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sat Nov 19 03:17:06 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Initial package (version 2.5.3) for build.opensuse.org

55
gap-crypting.spec Normal file
View File

@ -0,0 +1,55 @@
#
# spec file for package gap-crypting
#
# Copyright (c) 2022 SUSE LLC
#
# 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 http://bugs.opensuse.org/
#
Name: gap-crypting
Version: 0.10.3
Release: 0
Summary: GAP: Support for hashes and crypto
License: BSD-3-Clause
Group: Productivity/Scientific/Math
URL: https://gap-packages.github.io/crypting/
#Git-Clone: https://github.com/gap-packages/crypting
Source: https://github.com/gap-packages/crypting/releases/download/v%version/crypting-%version.tar.gz
BuildRequires: gap-devel
BuildRequires: gap-rpm-devel
Requires: gap-core >= 4.10
Requires: gap-gapdoc >= 1.5
%description
This GAP module implements some cryptographic primitives. At the
moment this is a custom implementation of SHA256 and HMAC, which is
needed to sign messages in the Jupyter kernel.
%prep
%autosetup -n crypting-%version
%build
./configure "%gapdir"
%make_build
find . -type f -size 0 -name _Chunks.xml -print -delete
rm -v doc/clean
%install
%gappkg_simple_install
pushd "%buildroot/$moddir/"
rm -Rf src
popd
%files -f %name.files
%changelog