diff --git a/totem-pl-parser.spec b/totem-pl-parser.spec index 4aded70..96d003b 100644 --- a/totem-pl-parser.spec +++ b/totem-pl-parser.spec @@ -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 - 3.26.4-3 ++ totem-pl-parser-3.26.4-3 +- Disable quvi support on RHEL + * Fri Jan 31 2020 Fedora Release Engineering - 3.26.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild