[python-rtstool] Initial import (#927427)
Eric Harney
eharney at fedoraproject.org
Tue Mar 26 18:42:58 UTC 2013
commit ad6dde86187e160ddab5e7d2654561dfb2f4bd6f
Author: Eric Harney <eharney at redhat.com>
Date: Tue Mar 26 14:01:10 2013 -0400
Initial import (#927427)
.gitignore | 1 +
python-rtstool.spec | 38 ++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 40 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ae029a0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/rtstool-0.1a3.tar.gz
diff --git a/python-rtstool.spec b/python-rtstool.spec
new file mode 100644
index 0000000..aedf136
--- /dev/null
+++ b/python-rtstool.spec
@@ -0,0 +1,38 @@
+%global modname rtstool
+%global modver 0.1a3
+
+Name: python-%{modname}
+License: AGPLv3
+Summary: Command-line interface for rtslib
+Version: 0.1
+Release: 0.1.a3%{?dist}
+URL: https://github.com/eharney/%{modname}/
+Source: https://pypi.python.org/packages/source/r/%{modname}/%{modname}-%{modver}.tar.gz
+BuildArch: noarch
+BuildRequires: python2-devel
+Requires: python-rtslib
+
+%description
+A command-line interface for rtslib, used to manage iSCSI targets
+
+%prep
+%setup -q -n %{modname}-%{modver}
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install --skip-build --root %{buildroot}
+
+mkdir -p %{buildroot}%{_mandir}/man8
+install -p -D -m 644 rtstool.8 %{buildroot}%{_mandir}/man8/
+
+%files
+%{_bindir}/rtstool
+%{python_sitelib}/*
+%doc COPYING
+%doc %{_mandir}/man8/rtstool.8.gz
+
+%changelog
+* Mon Mar 26 2013 Eric Harney <eharney at redhat.com> - 0.1-0.1.a3
+- Initial packaging
diff --git a/sources b/sources
index e69de29..0f60244 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+30e29ebdffecef321482d3dc8cc80715 rtstool-0.1a3.tar.gz
More information about the scm-commits
mailing list