Accepting request 578902 from devel:tools:scm
- Create subpackage for libsecret credential helper. (forwarded request 578783 from fcrozat) OBS-URL: https://build.opensuse.org/request/show/578902 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=214
This commit is contained in:
parent
85d3f7f9bb
commit
b6a179e197
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 21 12:19:29 UTC 2018 - fcrozat@suse.com
|
||||||
|
|
||||||
|
- Create subpackage for libsecret credential helper.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Feb 18 02:45:50 UTC 2018 - avindra@opensuse.org
|
Sun Feb 18 02:45:50 UTC 2018 - avindra@opensuse.org
|
||||||
|
|
||||||
|
27
git.spec
27
git.spec
@ -30,6 +30,8 @@
|
|||||||
%bcond_with git_gnome_keyring
|
%bcond_with git_gnome_keyring
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%bcond_without git_libsecret
|
||||||
|
|
||||||
%bcond_without docs
|
%bcond_without docs
|
||||||
|
|
||||||
Name: git
|
Name: git
|
||||||
@ -73,6 +75,9 @@ BuildRequires: libexpat-devel
|
|||||||
%if %{with git_gnome_keyring}
|
%if %{with git_gnome_keyring}
|
||||||
BuildRequires: libgnome-keyring-devel
|
BuildRequires: libgnome-keyring-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with git_libsecret}
|
||||||
|
BuildRequires: libsecret-devel
|
||||||
|
%endif
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
%if 0%{?suse_version} > 1320
|
%if 0%{?suse_version} > 1320
|
||||||
BuildRequires: libsha1detectcoll-devel
|
BuildRequires: libsha1detectcoll-devel
|
||||||
@ -176,6 +181,17 @@ Requires: gnome-keyring
|
|||||||
A Git credential backend which uses the GNOME keyring as storage.
|
A Git credential backend which uses the GNOME keyring as storage.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with git_libsecret}
|
||||||
|
%package credential-libsecret
|
||||||
|
Summary: Git credential backend using libsecret to access keyring
|
||||||
|
Group: Development/Tools/Version Control
|
||||||
|
Requires: git-core = %{version}
|
||||||
|
|
||||||
|
%description credential-libsecret
|
||||||
|
A Git credential backend which uses libsecret API to acces keyrings such as
|
||||||
|
kwallet or GNOME keyring.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package arch
|
%package arch
|
||||||
Summary: Git tools for importing Arch repositories
|
Summary: Git tools for importing Arch repositories
|
||||||
Group: Development/Tools/Version Control
|
Group: Development/Tools/Version Control
|
||||||
@ -299,6 +315,9 @@ chmod 755 .make
|
|||||||
%if %{with git_gnome_keyring}
|
%if %{with git_gnome_keyring}
|
||||||
./.make -C contrib/credential/gnome-keyring
|
./.make -C contrib/credential/gnome-keyring
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with git_libsecret}
|
||||||
|
./.make -C contrib/credential/libsecret
|
||||||
|
%endif
|
||||||
./.make -C contrib/subtree/
|
./.make -C contrib/subtree/
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -340,6 +359,9 @@ install -m 644 -D contrib/completion/git-prompt.sh %{buildroot}/etc/bash_complet
|
|||||||
%if %{with git_gnome_keyring}
|
%if %{with git_gnome_keyring}
|
||||||
install -m 755 -D contrib/credential/gnome-keyring/git-credential-gnome-keyring %{buildroot}/%{gitexecdir}/git-credential-gnome-keyring
|
install -m 755 -D contrib/credential/gnome-keyring/git-credential-gnome-keyring %{buildroot}/%{gitexecdir}/git-credential-gnome-keyring
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with git_libsecret}
|
||||||
|
install -m 755 -D contrib/credential/libsecret/git-credential-libsecret %{buildroot}/%{gitexecdir}/git-credential-libsecret
|
||||||
|
%endif
|
||||||
# contrib/workdir
|
# contrib/workdir
|
||||||
install -m 755 -D contrib/workdir/git-new-workdir %{buildroot}/%{_bindir}
|
install -m 755 -D contrib/workdir/git-new-workdir %{buildroot}/%{_bindir}
|
||||||
# process tcsh completion
|
# process tcsh completion
|
||||||
@ -427,6 +449,11 @@ fi
|
|||||||
%{gitexecdir}/git-credential-gnome-keyring
|
%{gitexecdir}/git-credential-gnome-keyring
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with git_libsecret}
|
||||||
|
%files credential-libsecret
|
||||||
|
%{gitexecdir}/git-credential-libsecret
|
||||||
|
%endif
|
||||||
|
|
||||||
%files arch
|
%files arch
|
||||||
%{gitexecdir}/git-archimport
|
%{gitexecdir}/git-archimport
|
||||||
%{!?_without_docs: %{_mandir}/man1/git-archimport.1*}
|
%{!?_without_docs: %{_mandir}/man1/git-archimport.1*}
|
||||||
|
Loading…
Reference in New Issue
Block a user