summaryrefslogtreecommitdiff
path: root/python-id.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-id.spec')
-rw-r--r--python-id.spec50
1 files changed, 50 insertions, 0 deletions
diff --git a/python-id.spec b/python-id.spec
new file mode 100644
index 0000000..8363f5d
--- /dev/null
+++ b/python-id.spec
@@ -0,0 +1,50 @@
+Name: python-id
+Version: 1.5.0
+Release: 1
+Summary: A tool for generating OIDC identities
+
+License: Apache-2.0
+URL: https://github.com/di/id
+Source: %{pypi_source id}
+
+BuildArch: noarch
+BuildRequires: python3-devel
+BuildRequires: python3-pytest
+BuildRequires: python3-pretend
+
+
+%global _description %{expand:
+id is a Python tool for generating OIDC identities. It can automatically
+detect and produce OIDC credentials on a number of environments,
+including GitHub Actions, GitLab pipelines and Google Cloud.}
+
+%description %_description
+
+%package -n python3-id
+Summary: %{summary}
+
+%description -n python3-id %_description
+
+%prep
+%autosetup -p1 -n id-%{version}
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install
+
+%check
+%pytest
+
+
+%files -n python3-id
+%license LICENSE
+%doc README.md
+%{python3_sitelib}/id
+%{python3_sitelib}/id-*.dist-info/
+
+
+%changelog
+* Fri Mar 14 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.5.0-1
+- package init