+#
+# Conditional build:
+%bcond_without epiphany # don't build epiphany extension (it requires
+ # epiphany-1.2.x)
+#
Summary: Beagle - An indexing subsystem
Summary(pl): Beagle - podsystem indeksuj±cy
Name: beagle
URL: http://www.gnome.com/
BuildRequires: dotnet-evolution-sharp-devel >= 0.3
BuildRequires: dotnet-gtk-sharp-devel
+%if %{with epiphany}
BuildRequires: epiphany-devel >= 1.2.1
+BuildRequires: epiphany-devel < 1.3.0
+%endif
BuildRequires: gtk+2-devel >= 2:2.4.0
BuildRequires: libxml2-devel >= 2.6.0
BuildRequires: mono
Group: X11/Applications/Networking
Requires: %{name} = %{version}-%{release}
Requires: epiphany >= 1.2.1
+Requires: epiphany < 1.3.0
%description -n epiphany-extension-beagle
Epiphany extension that allows Beagle to index every page the user
%setup -q
%build
-%configure
+%configure \
+%if %{with epiphany}
+ --enable-epiphany-extension
+%else
+ --disable-epiphany-extension
+%endif
+
%{__make}
%install
%defattr(644,root,root,755)
%{_pkgconfigdir}/*
+%if %{with epiphany}
%files -n epiphany-extension-beagle
%defattr(644,root,root,755)
%doc epiphany-extension/README
%attr(755,root,root)%{_libdir}/epiphany/extensions/libbeagleextension.so*
+%endif