Blame whipper.spec

6a21f6
%global srcname whipper
6a21f6
%global sum Python CD-DA ripper preferring accuracy over speed
6a21f6
%global desc CD ripper preferring accuracy over speed
6a21f6
6a21f6
Name:    %{srcname}
528b99
Version: 0.7.3
3a9732
Release: 3%{?dist}
6a21f6
Summary: %{sum}
053392
URL:     https://github.com/whipper-team/whipper
6a21f6
License: GPLv3+
6a21f6
053392
Source0: https://github.com/whipper-team/%{srcname}/archive/v%{version}.tar.gz
6a21f6
# Patch places accuraterip-checksum binary in proper bindir and provide debug info.
6a21f6
Patch1: accuraterip-checksum.patch
6a21f6
6a21f6
BuildRequires: python2-devel
6a21f6
BuildRequires: python2-setuptools
6a21f6
BuildRequires: gcc
6a21f6
BuildRequires: libsndfile-devel
820081
BuildRequires: libappstream-glib
6a21f6
6a21f6
Requires: cdrdao
6a21f6
Requires: libcdio-paranoia
b213bd
Requires: gobject-introspection
b213bd
Requires: python2-gobject
6a21f6
Requires: python2-setuptools
6a21f6
Requires: python2-musicbrainzngs
6a21f6
Requires: python2-mutagen
6a21f6
Requires: python2-requests
6a21f6
Requires: pycdio
6a21f6
Requires: flac
6a21f6
Requires: sox
6a21f6
338220
# Exclude s390x due to missing cdrdao dep
338220
ExcludeArch: s390x
338220
6a21f6
%description
6a21f6
%{desc}
6a21f6
6a21f6
%prep
6a21f6
%setup -q
6a21f6
%patch1 -p1
6a21f6
6a21f6
%build
6a21f6
%make_build -C src
6a21f6
%py2_build
6a21f6
6a21f6
%install
6a21f6
%make_install -C src
6a21f6
%py2_install
e071db
e071db
%if "%_metainfodir" != "%{_datadir}/metainfo"
e39f26
mv %{buildroot}%{_datadir}/metainfo/ \
e071db
   %{buildroot}%{_metainfodir}/
e071db
%endif
e071db
820081
appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/com.github.whipper_team.Whipper.metainfo.xml
6a21f6
6a21f6
%files
6a21f6
%{_bindir}/whipper
6a21f6
%{_bindir}/accuraterip-checksum
6a21f6
%{python2_sitelib}/whipper-%{version}-py2.7.egg-info
6a21f6
%{python2_sitelib}/whipper
820081
%{_metainfodir}/com.github.whipper_team.Whipper.metainfo.xml
6a21f6
%license LICENSE
6a21f6
%doc README.md TODO CHANGELOG.md HACKING
6a21f6
6a21f6
%changelog
3a9732
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-3
3a9732
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3a9732
e5a391
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-2
e5a391
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e5a391
528b99
* Mon Dec 17 2018 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.7.3-1
528b99
- Update to 0.7.3
528b99
e39f26
* Thu Nov 01 2018 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.7.2-3
e39f26
- Adjustment to metainfodir fix
e39f26
e071db
* Thu Nov 01 2018 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.7.2-2
e071db
- Fix metainfodir on f27
e071db
820081
* Thu Nov 01 2018 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.7.2-1
820081
- Update to version 0.7.2
820081
b213bd
* Tue Oct 23 2018 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.7.1-1
b213bd
- Update to version 0.7.1
b213bd
053392
* Mon Oct 22 2018 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.7.0-3
053392
- New upstream repository
053392
1cdd34
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
1cdd34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1cdd34
3ee778
* Mon Apr 16 2018 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.7.0-1
3ee778
- Update to version 0.7.0.
3ee778
338220
* Tue Feb 20 2018 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.6.0-7
338220
- Exclude s390x due to missing cdrdao dependency.
338220
6a21f6
* Sat Feb 17 2018 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.6.0-6
6a21f6
- Added gcc build requirement.
6a21f6
6a21f6
* Tue Feb 13 2018 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.6.0-5
6a21f6
- Fix missing python2-setuptools requirement.
6a21f6
6a21f6
* Mon Feb 12 2018 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.6.0-4
6a21f6
- Fix ownership of directories and returned to a single package.
6a21f6
6a21f6
* Wed Feb 7 2018 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.6.0-3
6a21f6
- Fix incorrect gobject dependency.
6a21f6
6a21f6
* Fri Feb 2 2018 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.6.0-2
6a21f6
- Split Requires into separate lines and commenting patch.
6a21f6
6a21f6
* Fri Feb 2 2018 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.6.0-1
6a21f6
- Update to version 0.6.0.
6a21f6
6a21f6
* Tue Jan 23 2018 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.5.1-5
6a21f6
- Adjust accuraterip patch to include debug info.
6a21f6
6a21f6
* Tue Jun 27 2017 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.5.1-4
6a21f6
- Move python2 sitelib into python2 subpackage.
6a21f6
6a21f6
* Tue Apr 25 2017 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.5.1-3
6a21f6
- Added license and doc macros to conform with proper best practices.
6a21f6
6a21f6
* Mon Apr 24 2017 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.5.1-2
6a21f6
- Remove libsndfile dependency, rpm picks that up on build.
6a21f6
6a21f6
* Mon Apr 24 2017 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.5.1-1
6a21f6
- Version 0.5.1
6a21f6
6a21f6
* Sun Jan 8 2017 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.4.2-1
6a21f6
- Version 0.4.2 released. Removal of submodule logic.
6a21f6
b213bd
* Wed Dec 21 2016 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.4.0-3
6a21f6
- Fixed setup macro and patches accuraterip-checksum to the correct bin
6a21f6
  directory
6a21f6
6a21f6
* Wed Dec 21 2016 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.4.0-2
6a21f6
- Added forgotten python2 requirement
6a21f6
6a21f6
* Wed Dec 21 2016 Matthew Ruszczyk <mruszczyk17@gmail.com> - 0.4.0-1
6a21f6
- Initial RPM release