Don't require totem-pl-parser

Resolves: RHEL-52826
This commit is contained in:
Tomas Popela 2024-08-05 11:31:35 +02:00
parent e4aa801d20
commit 92d9a374f7

View File

@ -11,10 +11,14 @@
%global with_enca 0
%global with_libcue 0
%global with_rss 0
%if 0%{?rhel} >= 10
%global with_totem-pl-parser 0
%endif
%else
%global with_enca 1
%global with_libcue 1
%global with_rss 1
%global with_totem-pl-parser 1
%endif
%global tracker_version 3.7
@ -33,7 +37,7 @@
Name: tracker-miners
Version: 3.7.3
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Tracker miners and metadata extractors
# libtracker-extract and libtracker-miner libraries are LGPLv2+; the miners are a mix of GPLv2+ and LGPLv2+ code
@ -75,7 +79,9 @@ BuildRequires: pkgconfig(libseccomp)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(poppler-glib)
%if 0%{?with_totem-pl-parser}
BuildRequires: pkgconfig(totem-plparser)
%endif
BuildRequires: pkgconfig(tracker-sparql-3.0) >= %{tracker_version}
BuildRequires: pkgconfig(vorbisfile)
%if !0%{?flatpak}
@ -124,6 +130,9 @@ This package contains various miners and metadata extractors for tracker.
%endif
%if ! 0%{?flatpak}
-Dsystemd_user_services_dir=%{_userunitdir} \
%endif
%if ! 0%{?with_totem-pl-parser}
-Dplaylist=disabled \
%endif
%{nil}
@ -179,6 +188,9 @@ install -D -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/%{name}-flatpak-fixup.sh
%changelog
* Mon Aug 05 2024 Tomas Popela <tpopela@redhat.com> - 3.7.3-3
- totem-pl-parser won't be part of RHEL 10
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.7.3-2
- Bump release for June 2024 mass rebuild