(cherry picked from commit 51cf277003)

Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2026-01-02 20:01:10 -08:00
committed by GitHub
parent e2c0a39566
commit f539605fa5
3 changed files with 55 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "jade.spec"
}
}
+48
View File
@@ -0,0 +1,48 @@
%global pypi_name jade
%global _desc Exoplanet evolution code.
Name: python-%{pypi_name}
Version: 0.1.0
Release: 1%?dist
Summary: Exoplanet evolution code
License: LGPL-3.0
URL: https://gitlab.unige.ch/spice_dune/jade
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
Provides: jade
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
%_desc
%prep
%autosetup -n jade-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files jade
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md
%license LICENSE
%{_bindir}/jade
%changelog
* Fri Jan 02 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
+1
View File
@@ -0,0 +1 @@
rpm.version(pypi("jade"));