-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgit-incrypt.spec
More file actions
44 lines (37 loc) · 1.03 KB
/
git-incrypt.spec
File metadata and controls
44 lines (37 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Name: git-incrypt
Version: 0.9.0
Release: 1
Summary: A git remote helper to encrypt git repositories incrementally
License: GPL-2.0
Source: git-incrypt-%{version}.tar.xz
BuildArch: noarch
Requires: git-core
Requires: python3
Requires: gpg
Requires: python-pygit2
BuildRequires: asciidoc
BuildRequires: xmlto
BuildRequires: git-core
#BuildRequires: gpg
#BuildRequires: python-pygit2
#BuildRequires: man
%description
A git remote helper to encrypt git repositories incrementally
%prep
%autosetup -p1
%build
%make_build
%define gitexecdir %(git --exec-path)
%check
#git config --global user.email "testuser@example.com"
#git config --global user.name "Test User"
#gpg --batch --gen-key .github/workflows/testkey.conf
#make KEY:=$(gpg --list-keys --with-colons | awk -F: '/^pub/ {print $5; exit}') test
%install
make DESTDIR:="%{buildroot}" DOCDIR:=%{_docdir} MANDIR:=%{_mandir} LICENSEDIR:=/usr/share/licenses install
%files
%license COPYING
%{gitexecdir}/git-incrypt
%{gitexecdir}/git-remote-incrypt
%{_docdir}/%{name}
%{_mandir}/man1/git-incrypt.1*