50 lines
1.3 KiB
RPMSpec
50 lines
1.3 KiB
RPMSpec
|
|
%global _empty_manifest_terminate_build 0
|
||
|
|
%global pypi_name hatch-nodejs-version
|
||
|
|
%global source_name hatch_nodejs_version
|
||
|
|
|
||
|
|
Name: python-%{pypi_name}
|
||
|
|
Version: 0.3.1
|
||
|
|
Release: 1
|
||
|
|
Summary: Hatch plugin for versioning from a package.json file.
|
||
|
|
|
||
|
|
License: MIT
|
||
|
|
URL: https://github.com/agoose77/hatch-nodejs-version
|
||
|
|
Source0: https://files.pythonhosted.org/packages/1a/f7/e563b874c1ebd181e002b56801562516408fa1ff12bbba4f803faa4f433b/hatch_nodejs_version-0.3.1.tar.gz
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
BuildRequires: python3-devel
|
||
|
|
BuildRequires: python3-setuptools
|
||
|
|
BuildRequires: python3-pip
|
||
|
|
BuildRequires: python3-wheel
|
||
|
|
BuildRequires: python3-hatchling
|
||
|
|
|
||
|
|
%description
|
||
|
|
Hatch plugin for versioning from a package.json file.
|
||
|
|
|
||
|
|
|
||
|
|
%package -n python3-%{pypi_name}
|
||
|
|
Summary: %{summary}
|
||
|
|
|
||
|
|
%description -n python3-%{pypi_name}
|
||
|
|
Hatch plugin for versioning from a package.json file.
|
||
|
|
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -p1 -n %{source_name}-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
%pyproject_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%pyproject_install
|
||
|
|
|
||
|
|
%files -n python3-%{pypi_name}
|
||
|
|
%doc README.md
|
||
|
|
%license LICENSE.txt
|
||
|
|
%{python3_sitelib}/hatch_nodejs_version
|
||
|
|
%{python3_sitelib}/hatch_nodejs_version*.dist-info/
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Sun Jun 25 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.3.1-1
|
||
|
|
- Initial package 0.3.1 for mkdocs-material
|