mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
0ce5d07a43
* chore (upiano): requiress fluidsynth Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> * rel Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --------- Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
56 lines
1.1 KiB
RPMSpec
56 lines
1.1 KiB
RPMSpec
%global pypi_name upiano
|
|
%global _desc Terminal Piano App.
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 0.1.2
|
|
Release: 3%?dist
|
|
Summary: Terminal Piano App
|
|
License: MIT
|
|
URL: https://github.com/eliasdorneles/upiano
|
|
Source0: %{pypi_source}
|
|
Source1: %url/blob/master/LICENSE
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-poetry-core
|
|
|
|
Requires: fluidsynth
|
|
|
|
Packager: Owen Zimmerman <owen@fyralabs.com>
|
|
|
|
%description
|
|
%_desc
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
%description -n python3-%{pypi_name}
|
|
%_desc
|
|
|
|
%prep
|
|
%autosetup -n upiano-%{version}
|
|
cp %{SOURCE1} .
|
|
|
|
%pyproject_patch_dependency pyfluidsynth:drop_constraints
|
|
%pyproject_patch_dependency textual:drop_constraints
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
%pyproject_install
|
|
%pyproject_save_files upiano
|
|
|
|
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_bindir}/upiano
|
|
|
|
%changelog
|
|
* Sat Jan 24 2026 Owen Zimmerman <owen@fyralabs.com>
|
|
- Initial commit
|