commit 7ee9ac9f41030df9bf428c3cec4035952142dc90fd055815f7def1ac03207371 Author: Jan Matejek Date: Mon Jun 19 15:17:03 2017 +0000 Accepting request 504767 from home:okurz:matrix-synapse Initial submission, dependency for matrix-synapse OBS-URL: https://build.opensuse.org/request/show/504767 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-signedjson?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..0568a4e --- /dev/null +++ b/_service @@ -0,0 +1,18 @@ + + + python-signedjson + + @PARENT_TAG@ + v(.*) + git://github.com/matrix-org/python-signedjson.git + git + v1.0.0 + enable + okurz@suse.com + + + xz + *.tar + + + diff --git a/python-signedjson-1.0.0.tar.xz b/python-signedjson-1.0.0.tar.xz new file mode 100644 index 0000000..8510cd6 --- /dev/null +++ b/python-signedjson-1.0.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4fb4edf126b3f36c22357212cd94d1de05858c2a466975dbbfe6ecf799dc067f +size 7924 diff --git a/python-signedjson.changes b/python-signedjson.changes new file mode 100644 index 0000000..126239d --- /dev/null +++ b/python-signedjson.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Feb 27 13:49:57 UTC 2017 - okurz@suse.com + +- Initial submission + diff --git a/python-signedjson.spec b/python-signedjson.spec new file mode 100644 index 0000000..864422b --- /dev/null +++ b/python-signedjson.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-signedjson +# +# Copyright (c) 2017 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 http://bugs.opensuse.org/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%global modname signedjson + +Name: python-%{modname} +Version: 1.0.0 +Release: 0 +License: Apache-2.0 +Summary: Sign JSON with Ed25519 signatures +Url: https://github.com/matrix-org/%{name} +Source: https://github.com/matrix-org/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.xz +Group: Development/Languages/Python +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%python_subpackages + +%description +Features: + +* More than one entity can sign the same object. +* Each entity can sign the object with more than one key making it easier to + rotate keys +* ED25519 can be replaced with a different algorithm. +* Unprotected data can be added to the object under the "unsigned" key. + + +%prep +%setup -q -n %{name}-%{version} + +%build + +%python_build + +%install +%python_install +%fdupes %{buildroot}%{_prefix} + +%files %{python_files} +%defattr(-,root,root,-) +%{python_sitelib}/* + +%changelog