Compare commits

...

9 Commits

Author SHA1 Message Date
4c712ccb26
Remove tools subpackage
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-10-28 18:15:15 +02:00
8b294b0bc9
Try again
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-10-28 18:03:22 +02:00
795b5c46fd
Try again
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-10-28 17:46:55 +02:00
5e719c1d73
Disable tools
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-10-28 17:30:22 +02:00
2c48dbad27
Try again disabling of ffmpeg
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-10-28 17:02:57 +02:00
45d7de5540
Rebuild for ffmpeg 7
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-10-28 16:39:09 +02:00
8bb446e4d4
Bootstrap again, disable ffmpeg
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-10-28 14:57:29 +02:00
bb40096ca7
Bootstrap (riscv64)
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-10-28 09:49:58 +02:00
d834b50158
Rebuilt for Fedora/RISCV (riscv64); adding .rvreX to Release:
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-10-28 09:17:01 +02:00

View File

@ -1,11 +1,13 @@
# The presence of this macro ensures the disttag changes
# when set in side tags
%bcond_with bootstrap
#%bcond_without bootstrap
%bcond bootstrap 1
%if 0%{?rhel} && 0%{?rhel} < 9
%bcond_with ffmpeg
%else
%bcond ffmpeg %{?_with_bootstrap:0}%{!?_with_bootstrap:1}
#%bcond ffmpeg %{?_with_bootstrap:0}%{!?_with_bootstrap:1}
%bcond_with ffmpeg
%endif
# Globing of libraries is against the packging guidelines
%global sover 1
@ -13,7 +15,7 @@
Name: chromaprint
Version: 1.5.1
Release: 22%{?dist}
Release: 22.3.riscv64%{?dist}
Summary: Library implementing the AcoustID fingerprinting
# Automatically converted from old format: GPLv2+ - review is highly recommended.
@ -64,23 +66,6 @@ applications which will use %{name}.
The library exposes a simple C API. The documentation for the C API can be
found in the main header file.
%if %{with ffmpeg}
%package tools
Summary: Chromaprint audio fingerprinting tools
BuildRequires: ffmpeg-free-devel
Requires: libchromaprint%{?_isa} = %{version}-%{release}
%description tools
Chromaprint library is the core component of the AcoustID project. It's a
client-side library that implements a custom algorithm for extracting
fingerprints from raw audio sources.
This is a set of Chromaprint tools related to acoustic fingerprinting
featuring fpcalc an standalone AcoustID tool used by Picard.
License for binaries is GPLv2+ but source code is MIT + LGPLv2+
%endif
%prep
%autosetup -p1
@ -89,7 +74,8 @@ License for binaries is GPLv2+ but source code is MIT + LGPLv2+
%cmake -GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTS=OFF \
-DBUILD_TOOLS=%{?with_ffmpeg:ON}%{!?with_ffmpeg:OFF}
-DBUILD_TOOLS=OFF
# -DBUILD_TOOLS=%{?with_ffmpeg:ON}%{!?with_ffmpeg:OFF}
%cmake_build
@ -108,12 +94,17 @@ rm -f %{buildroot}%{_libdir}/lib*.la
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%if %{with ffmpeg}
%files tools
%{_bindir}/fpcalc
%endif
%changelog
* Mon Oct 28 2024 David Abdurachmanov <davidlt@rivosinc.com> - 1.5.1-22.2.riscv64
- Rebuild for ffmpeg (riscv64)
* Mon Oct 28 2024 David Abdurachmanov <davidlt@rivosinc.com> - 1.5.1-22.1.riscv64
- Boostrap again, disable ffmpeg.
* Mon Oct 28 2024 David Abdurachmanov <davidlt@rivosinc.com> - 1.5.1-22.0.riscv64
- Bootstrap (riscv64)
* Fri Sep 20 2024 Neal Gompa <ngompa@fedoraproject.org> - 1.5.1-22
- Rebuild for ffmpeg 7