%bcond_without javahl # build without javahl support (Java high-level bindings)
%bcond_without tests # don't perform "make check"
%bcond_without kwallet # build without kde4 wallet support
+%bcond_without gnome # build without gnome keyring support
#
%ifnarch i586 i686 pentium3 pentium4 athlon %{x8664}
%undefine with_javahl
BuildRequires: bison
BuildRequires: expat-devel
BuildRequires: gettext-devel
-BuildRequires: gnome-keyring-devel
+%{?with_gnome:BuildRequires: gnome-keyring-devel}
%{?with_kwallet:BuildRequires: kde4-kdelibs-devel}
BuildRequires: libtool >= 1.4-9
BuildRequires: sed >= 4.0
%if %{with kwallet}
--with-kwallet \
%endif
+%if %{with gnome}
--with-gnome-keyring
+%endif
%{__make} -j1
%{_libdir}/libsvn_subr-1.a
%{_libdir}/libsvn_wc-1.a
+%if %{with gnome}
%files -n gnome-keyring-subversion
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libsvn_auth_gnome_keyring-1.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libsvn_auth_gnome_keyring-1.so.0
+%endif
%if %{with kwallet}
%files -n kde4-kwallet-subversion