+ totem-pl-parser-3.26.4-3

Disable quvi support on RHEL
This commit is contained in:
Bastien Nocera 2020-02-14 15:42:43 +01:00
parent 742332a96b
commit a97f325c04

View File

@ -1,6 +1,6 @@
Name: totem-pl-parser
Version: 3.26.4
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Totem Playlist Parser library
License: LGPLv2+
@ -12,7 +12,9 @@ BuildRequires: libxml2-devel
BuildRequires: gobject-introspection-devel
BuildRequires: gettext
BuildRequires: gtk-doc
%if ! 0%{?rhel}
BuildRequires: libquvi-devel
%endif
BuildRequires: libarchive-devel
BuildRequires: libgcrypt-devel
BuildRequires: meson
@ -32,12 +34,25 @@ developing applications that use %{name}.
%autosetup -p1
%build
%meson -Denable-gtk-doc=true
%meson -Denable-gtk-doc=true \
%if 0%{?rhel}
-Denable-quvi=no \
%endif
%if ! 0%{?rhel}
-Denable-quvi=yes \
%endif
-Denable-libarchive=yes \
-Denable-libgcrypt=yes \
-Dintrospection=true
%meson_build
%install
%meson_install
%if 0%{?rhel}
mkdir -p %{buildroot}/%{_libexecdir}/totem-pl-parser/
%endif
%find_lang %{name} --with-gnome
%ldconfig_scriptlets
@ -47,9 +62,12 @@ developing applications that use %{name}.
%doc AUTHORS NEWS README
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0/*.typelib
%if 0%{?fedora} || 0%{?rhel} > 7
%if 0%{?fedora}
%{_libexecdir}/totem-pl-parser/
%endif
%if 0%{?rhel}
%dir %{_libexecdir}/totem-pl-parser/
%endif
%files devel
%{_includedir}/*
@ -60,6 +78,10 @@ developing applications that use %{name}.
%{_datadir}/gir-1.0/*.gir
%changelog
* Fri Feb 14 2020 Bastien Nocera <bnocera@redhat.com> - 3.26.4-3
+ totem-pl-parser-3.26.4-3
- Disable quvi support on RHEL
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.26.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild