[packages/python3-pskc] new

atler atler at pld-linux.org
Mon Jan 26 00:06:02 CET 2026


commit 433328b023e038ca1ac944c193d27ee41df40286
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Jan 26 00:04:49 2026 +0100

    new

 python3-pskc.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
---
diff --git a/python3-pskc.spec b/python3-pskc.spec
new file mode 100644
index 0000000..2d60a2c
--- /dev/null
+++ b/python3-pskc.spec
@@ -0,0 +1,52 @@
+Summary:	Python module for handling PSKC files
+Name:		python3-pskc
+Version:	1.4
+Release:	1
+License:	LGPL v2+
+Group:		Libraries/Python
+Source0:	https://files.pythonhosted.org/packages/source/p/python-pskc/python_pskc-%{version}.tar.gz
+# Source0-md5:	bb1f89bfc1f5539f06d1c1b8d944c699
+URL:		https://arthurdejong.org/python-pskc/
+BuildRequires:	python3 >= 1:3.8
+BuildRequires:	python3-modules >= 1:3.8
+BuildRequires:	python3-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.8
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A Python module to handle Portable Symmetric Key Container (PSKC)
+files as defined in RFC 6030. PSKC files are used to transport and
+provision symmetric keys and key meta data (seed files) to different
+types of crypto modules, commonly one-time password systems or other
+authentication devices.
+
+This module can be used to extract keys from PSKC files for use in an
+OTP authentication system. The module can also be used for authoring
+PSKC files.
+
+This module should be able to handle most common PSKC files.
+
+%prep
+%setup -q -n python_pskc-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/csv2pskc
+%attr(755,root,root) %{_bindir}/pskc2csv
+%attr(755,root,root) %{_bindir}/pskc2pskc
+%{py3_sitescriptdir}/pskc
+%{py3_sitescriptdir}/python_pskc-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-pskc.git/commitdiff/433328b023e038ca1ac944c193d27ee41df40286



More information about the pld-cvs-commit mailing list