Disable Mono bindings for RHEL 9+ for now

epel9 imports/e9/libappindicator-12.10.0-33.el9
Neal Gompa 3 years ago
parent 287b099311
commit dd5e8efa7d

@ -1,6 +1,12 @@
%if 0%{?rhel} >= 9
%bcond_with mono
%else
%bcond_without mono
%endif
Name: libappindicator Name: libappindicator
Version: 12.10.0 Version: 12.10.0
Release: 32%{?dist} Release: 33%{?dist}
Summary: Application indicators library Summary: Application indicators library
License: LGPLv2 and LGPLv3 License: LGPLv2 and LGPLv3
@ -25,12 +31,14 @@ BuildRequires: gtk2-devel
BuildRequires: gtk3-devel BuildRequires: gtk3-devel
BuildRequires: libindicator-devel BuildRequires: libindicator-devel
BuildRequires: libindicator-gtk3-devel BuildRequires: libindicator-gtk3-devel
%if %{with mono}
%ifarch %{mono_arches} %ifarch %{mono_arches}
BuildRequires: gtk-sharp2-devel BuildRequires: gtk-sharp2-devel
BuildRequires: gtk-sharp2-gapi BuildRequires: gtk-sharp2-gapi
BuildRequires: mono-devel BuildRequires: mono-devel
BuildRequires: mono-nunit-devel BuildRequires: mono-nunit-devel
%endif %endif
%endif
%description %description
A library to allow applications to export a menu into the Unity Menu bar. Based A library to allow applications to export a menu into the Unity Menu bar. Based
@ -81,6 +89,7 @@ This package contains the documentation for the appindicator and
appindicator-gtk3 libraries. appindicator-gtk3 libraries.
%if %{with mono}
%ifarch %{mono_arches} %ifarch %{mono_arches}
%package sharp %package sharp
Summary: Application indicators library - C# Summary: Application indicators library - C#
@ -103,6 +112,7 @@ Requires: %{name}-sharp = %{version}-%{release}
%description sharp-devel %description sharp-devel
This package contains the development files for the appindicator-sharp library. This package contains the development files for the appindicator-sharp library.
%endif %endif
%endif
%prep %prep
@ -193,6 +203,7 @@ find %{buildroot} -type f -name '*.la' -delete
%doc %{_datadir}/gtk-doc/html/libappindicator/ %doc %{_datadir}/gtk-doc/html/libappindicator/
%if %{with mono}
%ifarch %{mono_arches} %ifarch %{mono_arches}
%files sharp %files sharp
%doc AUTHORS README COPYING COPYING.LGPL.2.1 %doc AUTHORS README COPYING COPYING.LGPL.2.1
@ -219,9 +230,13 @@ find %{buildroot} -type f -name '*.la' -delete
%files sharp-devel %files sharp-devel
%{_libdir}/pkgconfig/appindicator-sharp-0.1.pc %{_libdir}/pkgconfig/appindicator-sharp-0.1.pc
%endif
%endif %endif
%changelog %changelog
* Sun Jun 26 2022 Neal Gompa <ngompa@fedoraproject.org> - 12.10.0-33
- Disable Mono bindings for RHEL 9+ for now
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 12.10.0-32 * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 12.10.0-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

Loading…
Cancel
Save