Compare commits
11 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba491af745 | ||
|
|
2424d6cb4d | ||
|
|
695aa0aef2 | ||
|
|
8c834ebd84 | ||
|
|
da35e4d616 | ||
|
|
065659c5ec | ||
|
|
9d4699e4a4 | ||
|
|
6e21b115f3 | ||
|
|
362b44d33d | ||
|
|
de36f2bc26 | ||
|
|
9044d551d0 |
2 changed files with 57 additions and 30 deletions
19
.packit.yaml
Normal file
19
.packit.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# 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,58 +1,63 @@
|
|||
%global srcname whipper
|
||||
%global sum Python CD-DA ripper preferring accuracy over speed
|
||||
%global desc CD ripper preferring accuracy over speed
|
||||
|
||||
|
||||
Name: %{srcname}
|
||||
Name: whipper
|
||||
Version: 0.10.0
|
||||
Release: %autorelease
|
||||
Summary: %{sum}
|
||||
Summary: Python CD-DA ripper preferring accuracy over speed
|
||||
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: libcdio-paranoia
|
||||
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: libcdio-paranoia
|
||||
Requires: python3dist(discid)
|
||||
Requires: python3dist(musicbrainzngs)
|
||||
Requires: python3dist(mutagen)
|
||||
Requires: python3dist(pycdio)
|
||||
Requires: python3dist(pygobject)
|
||||
Requires: python3dist(ruamel-yaml)
|
||||
Requires: sox
|
||||
|
||||
|
||||
# Exclude s390x due to missing cdrdao dep
|
||||
ExcludeArch: s390x
|
||||
|
||||
|
||||
%description
|
||||
%{desc}
|
||||
CD ripper preferring accuracy over speed
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
|
||||
%build
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||
%py3_build
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
%install
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
||||
%py3_install
|
||||
%pyproject_install
|
||||
%pyproject_save_files -l %{name} 'accuraterip*'
|
||||
|
||||
%if "%_metainfodir" != "%{_datadir}/metainfo"
|
||||
mv %{buildroot}%{_datadir}/metainfo/ \
|
||||
|
|
@ -61,15 +66,18 @@ mv %{buildroot}%{_datadir}/metainfo/ \
|
|||
|
||||
appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/com.github.whipper_team.Whipper.metainfo.xml
|
||||
|
||||
%files
|
||||
|
||||
%check
|
||||
%pyproject_check_import
|
||||
|
||||
|
||||
%files -f %{pyproject_files}
|
||||
%doc CHANGELOG.md
|
||||
%doc README.md
|
||||
%{_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