Compare commits
No commits in common. "rawhide" and "f42" have entirely different histories.
2 changed files with 30 additions and 57 deletions
19
.packit.yaml
19
.packit.yaml
|
|
@ -1,19 +0,0 @@
|
|||
# See the documentation for more information:
|
||||
# https://packit.dev/docs/configuration/
|
||||
|
||||
jobs:
|
||||
- job: pull_from_upstream
|
||||
trigger: release
|
||||
dist_git_branches:
|
||||
rawhide:
|
||||
fast_forward_merge_into:
|
||||
- fedora-branched
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
- job: bodhi_update
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-branched
|
||||
version_update_mask: \d+\.\d+\.
|
||||
68
whipper.spec
68
whipper.spec
|
|
@ -1,63 +1,58 @@
|
|||
Name: whipper
|
||||
%global srcname whipper
|
||||
%global sum Python CD-DA ripper preferring accuracy over speed
|
||||
%global desc CD ripper preferring accuracy over speed
|
||||
|
||||
|
||||
Name: %{srcname}
|
||||
Version: 0.10.0
|
||||
Release: %autorelease
|
||||
Summary: Python CD-DA ripper preferring accuracy over speed
|
||||
Summary: %{sum}
|
||||
URL: https://github.com/whipper-team/whipper
|
||||
License: GPL-3.0-or-later
|
||||
Source: https://github.com/whipper-team/%{name}/archive/v%{version}.tar.gz
|
||||
|
||||
Source0: https://github.com/whipper-team/%{srcname}/archive/v%{version}.tar.gz
|
||||
# Fix now deprecated usage of dump in ruamel.yaml causing crash (https://github.com/whipper-team/whipper/issues/626)
|
||||
# Cherry pick commit fixing this from upstream
|
||||
Patch: https://patch-diff.githubusercontent.com/raw/whipper-team/whipper/pull/543.patch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-setuptools_scm
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libsndfile-devel
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: python3dist(musicbrainzngs)
|
||||
BuildRequires: python3dist(mutagen)
|
||||
BuildRequires: python3dist(pycdio)
|
||||
BuildRequires: python3dist(pygobject)
|
||||
BuildRequires: python3dist(ruamel-yaml)
|
||||
BuildRequires: python3dist(twisted)
|
||||
BuildRequires: python3-pkg-resources
|
||||
|
||||
Requires: cdrdao
|
||||
Requires: flac
|
||||
Requires: libcdio-paranoia
|
||||
Requires: python3dist(discid)
|
||||
Requires: python3dist(musicbrainzngs)
|
||||
Requires: python3dist(mutagen)
|
||||
Requires: python3dist(pycdio)
|
||||
Requires: python3dist(pygobject)
|
||||
Requires: python3dist(ruamel-yaml)
|
||||
Requires: gobject-introspection
|
||||
Requires: python3-gobject
|
||||
Requires: python3-setuptools
|
||||
Requires: python3-musicbrainzngs
|
||||
Requires: python3-mutagen
|
||||
Requires: python3-requests
|
||||
Requires: python3-ruamel-yaml
|
||||
Requires: python3-pycdio
|
||||
Requires: python3-discid
|
||||
Requires: flac
|
||||
Requires: sox
|
||||
|
||||
|
||||
# Exclude s390x due to missing cdrdao dep
|
||||
ExcludeArch: s390x
|
||||
|
||||
|
||||
%description
|
||||
CD ripper preferring accuracy over speed
|
||||
|
||||
%{desc}
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
|
||||
%build
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||
%pyproject_wheel
|
||||
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||
%pyproject_install
|
||||
%pyproject_save_files -l %{name} 'accuraterip*'
|
||||
%py3_install
|
||||
|
||||
%if "%_metainfodir" != "%{_datadir}/metainfo"
|
||||
mv %{buildroot}%{_datadir}/metainfo/ \
|
||||
|
|
@ -66,18 +61,15 @@ mv %{buildroot}%{_datadir}/metainfo/ \
|
|||
|
||||
appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/com.github.whipper_team.Whipper.metainfo.xml
|
||||
|
||||
|
||||
%check
|
||||
%pyproject_check_import
|
||||
|
||||
|
||||
%files -f %{pyproject_files}
|
||||
%doc CHANGELOG.md
|
||||
%doc README.md
|
||||
%files
|
||||
%{_bindir}/whipper
|
||||
%{_bindir}/accuraterip-checksum
|
||||
%{_metainfodir}/com.github.whipper_team.Whipper.metainfo.xml
|
||||
|
||||
%{python3_sitearch}/%{srcname}/
|
||||
%{python3_sitearch}/%{srcname}-*.egg-info/
|
||||
%{python3_sitearch}/accuraterip*
|
||||
%license LICENSE
|
||||
%doc README.md TODO CHANGELOG.md HACKING COVERAGE
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue