Files
packages/anda/tools/melody/melody.spec
T
madomado 6acd48643b chore: sync with Terra 38 (#598)
* chore: sync with Terra 38

* bump: libappimage

* fix(ci): add lint and `dnf in` tests

* fix(ci): bump commit-comment to @v2

Signed-off-by: madomado <wboy111@outlook.com>

---------

Signed-off-by: madomado <wboy111@outlook.com>
2023-06-20 14:23:29 -07:00

56 lines
1.0 KiB
RPMSpec

%global common_description %{expand:
An advanced rpm-ostree compose system}
Name: melody
Summary: An advanced rpm-ostree compose system
Version: 1
Release: 8%{?dist}
License: GPL-3.0-or-later
URL: https://github.com/tau-OS/melody
Source0: https://github.com/tau-OS/melody/archive/refs/heads/main.zip
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: pyproject-rpm-macros
Requires: python3-dnf
Requires: python3-melody = %{version}-%{release}
%description %{common_description}
%package -n python3-melody
Summary: %{summary}
%description -n python3-melody %{common_description}
%prep
%autosetup -p1 -n melody-main
%generate_buildrequires
%pyproject_buildrequires -r
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files melody
%files
%license LICENSE
%doc README.md
%{_bindir}/melody
%files -n python3-melody -f %{pyproject_files}
%license LICENSE
%doc README.md
%dir %{python3_sitelib}/melody