aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/rpm/python3-meshbay-common.spec
blob: 7687e90a9dbbbaf66df5bcaaf58c2eaa73209954 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Name:           python3-meshbay-common
Version:        0.1.0
Release:        1%{?dist}
Summary:        MeshBay shared cryptographic primitives and protocol types
License:        AGPLv3+
URL:            https://meshbay.org
Source0:        meshbay-common-%{version}.tar.gz

BuildArch:      noarch
BuildRequires:  python3-devel >= 3.12
BuildRequires:  python3-pip
BuildRequires:  python3-hatchling

Requires:       python3 >= 3.12
Requires:       python3-cryptography >= 43.0
Requires:       python3-pyjwt >= 2.9
Requires:       python3-blake3 >= 1.0
Requires:       python3-msgpack >= 1.1
Requires:       python3-zstandard >= 0.23

%description
Shared library for MeshBay hub and node packages.
Provides: Ed25519/X25519 operations, GEK wrap/unwrap, chunk
encryption/signing, keystore AES-256-GCM, and MNP protocol types.

%prep
%autosetup -n meshbay-common-%{version}

%build
%{python3} -m pip wheel --no-deps --wheel-dir dist .

%install
%{python3} -m pip install --root %{buildroot} --no-index --find-links dist meshbay-common

%files
%license LICENSE
%{python3_sitelib}/meshbay_common/
%{python3_sitelib}/meshbay_common-*.dist-info/

%changelog
* Sat Aug 09 2026 MeshBay Team <team@meshbay.org> - 0.1.0-1
- Initial package