File tree Expand file tree Collapse file tree 2 files changed +58
-17
lines changed
Expand file tree Collapse file tree 2 files changed +58
-17
lines changed Original file line number Diff line number Diff line change 11# Maintainer: Robert Schiele <[email protected] >22
3- pkgname=git-incrypt
4- pkgver=0.9.0
3+ pkgname=git-incrypt-git
4+ pkgver=0.9.0.r2.g40433bf
55pkgrel=1
66pkgdesc=" git-incrypt: A git remote helper to encrypt git repositories incrementally"
77arch=(' i686' ' x86_64' )
88url=" https://github.com/schiele/git-incrypt/"
99license=(' GPL2' )
1010depends=(' git' ' python-pygit2' )
1111makedepends=(' asciidoc' ' xmlto' )
12- source=(" COPYING" " FORMAT.md" " Makefile" " README.md" " asciidoc.conf" " git-incrypt" " git-incrypt.adoc" " manpage-bold-literal.xsl" " manpage-normal.xsl" )
13- sha256sums=(' SKIP' ' SKIP' ' SKIP' ' SKIP' ' SKIP' ' SKIP' ' SKIP' ' SKIP' ' SKIP' )
12+ source=(" git+https://github.com/schiele/git-incrypt.git" )
13+ sha256sums=(' SKIP' )
14+
15+ pkgver () {
16+ cd git-incrypt
17+ git describe --long --abbrev=7 | sed ' s/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
18+ }
1419
1520build () {
16- make clean
17- make
18- gzip man1/git-incrypt.1
21+ cd git-incrypt
22+ make clean
23+ make
1924}
2025
2126package () {
22- mkdir -p " $pkgdir " /usr/lib/git-core
23- install -m 755 git-incrypt " $pkgdir " /usr/lib/git-core/
24- ln -s git-incrypt " $pkgdir " /usr/lib/git-core/git-remote-incrypt
25- mkdir -p " $pkgdir " /usr/share/licenses/$pkgname
26- install -m 644 COPYING " $pkgdir " /usr/share/licenses/$pkgname /
27- mkdir -p " $pkgdir " /usr/share/doc/$pkgname
28- install -m 644 FORMAT.md " $pkgdir " /usr/share/doc/$pkgname /
29- install -m 644 README.md " $pkgdir " /usr/share/doc/$pkgname /
30- mkdir -p " $pkgdir " /usr/share/man/man1
31- install -m 644 man1/git-incrypt.1.gz " $pkgdir " /usr/share/man/man1/
27+ cd git-incrypt
28+ make PKGNAME:=" $pkgname " DESTDIR:=" $pkgdir " install
3229}
Original file line number Diff line number Diff line change 1+ Name: git-incrypt
2+ Version: 0.9.0
3+ Release: 1
4+ Summary: A git remote helper to encrypt git repositories incrementally
5+ License: GPL-2.0
6+ Source: git-incrypt-%{version }.tar.xz
7+ BuildArch: noarch
8+ Requires: git-core
9+ Requires: python3
10+ Requires: gpg
11+ Requires: python-pygit2
12+ BuildRequires: asciidoc
13+ BuildRequires: xmlto
14+ BuildRequires: git-core
15+ #BuildRequires: gpg
16+ #BuildRequires: python-pygit2
17+ #BuildRequires: man
18+
19+ %description
20+ A git remote helper to encrypt git repositories incrementally
21+
22+ %prep
23+ %autosetup -p1
24+
25+ %build
26+ %make_build
27+
28+ %define gitexecdir %(git --exec-path)
29+
30+ %check
31+ #
git config --global user.email "[email protected] " 32+ #git config --global user.name "Test User"
33+ #gpg --batch --gen-key .github/workflows/testkey.conf
34+ #make KEY:=$(gpg --list-keys --with-colons | awk -F: '/^pub/ {print $5; exit}') test
35+
36+ %install
37+ make DESTDIR:=" %{buildroot}" DOCDIR:=%{_docdir } MANDIR:=%{_mandir } LICENSEDIR:=/usr/share/licenses install
38+
39+ %files
40+ %license COPYING
41+ %{gitexecdir }/git-incrypt
42+ %{gitexecdir }/git-remote-incrypt
43+ %{_docdir }/%{name }
44+ %{_mandir }/man1/git-incrypt.1.gz
You can’t perform that action at this time.
0 commit comments