diff options
1 files changed, 52 insertions, 0 deletions
diff --git a/python-nitrate.spec b/python-nitrate.spec
new file mode 100644
index 0000000..a9c7aa7
--- /dev/null
+++ b/python-nitrate.spec
@@ -0,0 +1,52 @@
+Name: python-nitrate
+Version: 0.7
+Release: 1%{?dist}
+Summary: Python API for the Nitrate test case management system
+Group: Development/Languages
+License: LGPLv2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+BuildRequires: python-devel
+Requires: python-kerberos
+python-nitrate is a Python interface to the Nitrate test case
+management system. The package consists of a high-level Python
+module (provides natural object interface), a low-level driver
+(allows to directly access Nitrate's XMLRPC API) and a command
+line interpreter (useful for fast debugging and experimenting).
+%setup -q
+gzip -c documentation/ > documentation/nitrate.1.gz
+chmod 644 examples/*
+rm -rf %{buildroot}
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{python_sitelib}/nitrate
+install -m 644 source/*.py %{buildroot}%{python_sitelib}/nitrate
+mkdir -p %{buildroot}%{_bindir}
+install source/nitrate %{buildroot}%{_bindir}
+mkdir -p %{buildroot}%{_mandir}/man1
+install -m 644 documentation/*.1.gz %{buildroot}%{_mandir}/man1
+%doc COPYING README examples
+* Wed Feb 23 2012 Petr Splichal <> 0.7-1
+- Initial packaging.