subversion add gnome-keyring option
Signed-off-by: basebuilder_pel7ppc64lebuilder0 <basebuilder@powerel.org>master
parent
84f24d821e
commit
80329a8ff5
|
@ -3,6 +3,7 @@
|
|||
|
||||
%global _hardened_build 1
|
||||
|
||||
%define with_gnomekeyring 0
|
||||
%define with_java 0
|
||||
%define with_kwallet 0
|
||||
|
||||
|
@ -106,6 +107,7 @@ Requires: apr-devel%{?_isa}, apr-util-devel%{?_isa}
|
|||
The subversion-devel package includes the libraries and include files
|
||||
for developers interacting with the subversion package.
|
||||
|
||||
%if %{with_gnomekeyring}
|
||||
%package gnome
|
||||
Group: Development/Tools
|
||||
Summary: GNOME Keyring support for Subversion
|
||||
|
@ -115,6 +117,7 @@ BuildRequires: libgnome-keyring-devel, dbus-devel
|
|||
%description gnome
|
||||
The subversion-gnome package adds support for storing Subversion
|
||||
passwords in the GNOME Keyring.
|
||||
%endif
|
||||
|
||||
%if %{with_kwallet}
|
||||
%package kde
|
||||
|
@ -242,7 +245,9 @@ export CC=gcc CXX=g++ JAVA_HOME=%{jdk_path} CFLAGS="$RPM_OPT_FLAGS"
|
|||
--disable-static --with-sasl=%{_prefix} \
|
||||
--disable-neon-version-check \
|
||||
--with-libmagic=%{_prefix} \
|
||||
%if %{with_gnomekeyring}
|
||||
--with-gnome-keyring \
|
||||
%endif
|
||||
%if %{with_java}
|
||||
--enable-javahl \
|
||||
--with-junit=%{_prefix}/share/java/junit.jar \
|
||||
|
@ -452,16 +457,20 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||
%if %{with_kwallet}
|
||||
%exclude %{_libdir}/libsvn_auth_kwallet*
|
||||
%endif
|
||||
%if %{with_gnomekeyring}
|
||||
%exclude %{_libdir}/libsvn_auth_gnome*
|
||||
%endif
|
||||
|
||||
%files python
|
||||
%defattr(-,root,root)
|
||||
%{python_sitearch}/svn
|
||||
%{python_sitearch}/libsvn
|
||||
|
||||
%if %{with_gnomekeyring}
|
||||
%files gnome
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libsvn_auth_gnome_keyring-*.so.*
|
||||
%endif
|
||||
|
||||
%if %{with_kwallet}
|
||||
%files kde
|
||||
|
|
Loading…
Reference in New Issue