diff --git a/files_in_srpm.txt b/files_in_srpm.txt new file mode 100644 index 0000000000000000000000000000000000000000..c014779a3471df7cca17835232babe76b6178220 --- /dev/null +++ b/files_in_srpm.txt @@ -0,0 +1,2 @@ +python-tomcli.spec +tomcli-0.9.0.tar.gz diff --git a/python-tomcli.spec b/python-tomcli.spec new file mode 100644 index 0000000000000000000000000000000000000000..ab8d23486b9f0a4f4624b5e54665ec22a356cac7 --- /dev/null +++ b/python-tomcli.spec @@ -0,0 +1,54 @@ +%global _empty_manifest_terminate_build 0 +%global pypi_name tomcli + +Name: python-%{pypi_name} +Version: 0.9.0 +Release: 1 +Summary: CLI for working with TOML files. Pronounced "tom clee." +License: MIT +URL: https://git.sr.ht/~gotmax23/tomcli +Source0: %{url}/refs/download/v%{version}/tomcli-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling +BuildRequires: python3-flit-core + +%global _description %{expand: +CLI for working with TOML files. Pronounced "tom clee."} + +%description %_description + + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} %_description + +%prep +%autosetup -p1 -n %{pypi_name}-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.md +%{_bindir}/tomcli +%{_bindir}/tomcli-formatters +%{_bindir}/tomcli-get +%{_bindir}/tomcli-set +%{python3_sitelib}/tomcli +%{python3_sitelib}/tomcli-*.dist-info/ + +%changelog +* Fri May 16 2025 Dongxing Wang - 0.9.0-1 +- Init package diff --git a/python-tomcli.src.rpm b/python-tomcli.src.rpm new file mode 100644 index 0000000000000000000000000000000000000000..8ff977365e7bfa0cf5b837b974729c0281b411a5 Binary files /dev/null and b/python-tomcli.src.rpm differ diff --git a/tomcli-0.9.0.tar.gz b/tomcli-0.9.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..5a77e3786592fec4eb0ffdf6d914b8957bc16d01 Binary files /dev/null and b/tomcli-0.9.0.tar.gz differ