From 0bf3eeecff7b015bf4527256b2fd851113b388cc Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 22 Aug 2023 07:27:05 +0000 Subject: automatic import of python-dunamai --- .gitignore | 1 + python-dunamai.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+) create mode 100644 python-dunamai.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..1322a90 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/dunamai-1.18.0.tar.gz diff --git a/python-dunamai.spec b/python-dunamai.spec new file mode 100644 index 0000000..aafc045 --- /dev/null +++ b/python-dunamai.spec @@ -0,0 +1,51 @@ +%global _description %{expand: +Dunamai is a Python 3.5+ library and command line tool for producing dynamic, +standards-compliant version strings, derived from tags in your version control +system. This facilitates uniquely identifying nightly or per-commit builds in +continuous integration and releasing new versions of your software simply by +creating a tag.} + +Name: python-dunamai +Version: 1.18.0 +Release: 1 +Summary: Dynamic version generation + +License: MIT +URL: https://github.com/mtkennerly/dunamai +Source0: %{url}/archive/v%{version}/dunamai-%{version}.tar.gz + +BuildArch: noarch + +%description %_description + +%package -n python3-dunamai +Summary: %{summary} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-wheel +BuildRequires: python3-pip +BuildRequires: python3-poetry-core + +%description -n python3-dunamai %_description + +%prep +%autosetup -n dunamai-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-dunamai +%license LICENSE +%doc README.md CHANGELOG.md +%{_bindir}/dunamai +%{python3_sitelib}/dunamai-*.dist-info/ +%{python3_sitelib}/dunamai/ + +%changelog +* Fri Aug 18 2023 mengzhaoa - 1.18.0-1 +- Init package python-dunamai-1.18.0 diff --git a/sources b/sources new file mode 100644 index 0000000..108710b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +4bb2945cf93906f180d7a4c9fd3c20e5 dunamai-1.18.0.tar.gz -- cgit v1.2.3