2014-05-03 15:51:26 +00:00
|
|
|
# Contributor: Johannes Dewender arch at JonnyJD dot net
|
|
|
|
pkgname=targetcli-fb
|
2016-06-29 00:23:59 +00:00
|
|
|
pkgver=2.1.fb43
|
|
|
|
pkgrel=1
|
2014-05-03 15:51:26 +00:00
|
|
|
pkgdesc="free branch of the targetcli LIO administration shell (iSCSI + Co)"
|
|
|
|
arch=('any')
|
|
|
|
url="https://github.com/agrover/targetcli-fb"
|
|
|
|
license=('Apache')
|
|
|
|
groups=()
|
2016-01-29 01:01:46 +00:00
|
|
|
depends=('python-rtslib-fb>=2.1.fb52' 'python-configshell-fb>=1.1.fb17'
|
|
|
|
'python-dbus')
|
2014-05-03 15:51:26 +00:00
|
|
|
makedepends=('python-setuptools')
|
|
|
|
# TODO: optdepend on python-ethtool when available for python3
|
|
|
|
optdepends=()
|
|
|
|
provides=('targetcli')
|
|
|
|
backup=()
|
|
|
|
options=()
|
|
|
|
install=
|
|
|
|
source=(https://fedorahosted.org/releases/t/a/targetcli-fb/$pkgname-$pkgver.tar.gz)
|
2016-06-29 00:23:59 +00:00
|
|
|
sha256sums=('63e7c85df26ffd2b1ef34e9113585d7eb8b3fd8d4bf84ebe025a14bf518e7459')
|
2014-05-03 15:51:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
python setup.py build
|
|
|
|
gzip --stdout targetcli.8 > "targetcli.8.gz"
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
python setup.py install --skip-build --root="$pkgdir/" --optimize=1
|
|
|
|
|
|
|
|
install -D -m 644 targetcli.8.gz "$pkgdir/usr/share/man/man8/targetcli.8.gz"
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|