[python-arc] Importing python-arc

Cleber Rosa cleber at fedoraproject.org
Thu Jan 23 18:38:20 UTC 2014


commit 8c280edf48ce74d69ca7ef3f6e46b2bd194f8dd8
Author: Cleber Rosa <crosa at redhat.com>
Date:   Thu Jan 23 15:38:28 2014 -0300

    Importing python-arc

 .gitignore      |    1 +
 python-arc.spec |   85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 87 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6f3379d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/arc-0.7.1-73a4f9e.tar.gz
diff --git a/python-arc.spec b/python-arc.spec
new file mode 100644
index 0000000..d3ee8e3
--- /dev/null
+++ b/python-arc.spec
@@ -0,0 +1,85 @@
+%define shortname arc
+%global commit 73a4f9e7a1f512114f98d48e7f8d87c198e333a4
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Summary: Autotest RPC Client
+Name: python-arc
+Version: 0.7.1
+Release: 1%{?dist}
+License: GPLv2
+Group: Development/Libraries
+URL: http://github.com/autotest/arc
+BuildArch: noarch
+Source0: https://github.com/autotest/%{shortname}/archive/%{commit}/%{shortname}-%{version}-%{shortcommit}.tar.gz
+BuildRequires: python2-devel, python-docutils, python-sphinx
+Requires: python, python-pygments
+
+%description
+Arc is the Autotest RPC Client. It provides libraries and tools that interact
+with an Autotest RPC Server. It allows one to send test jobs, add test hosts,
+query available tests, etc.
+
+%prep
+%setup -q -n %{shortname}-%{commit}
+
+%build
+%{__python2} setup.py build
+%{__python2} setup.py build_doc
+%{__mv} build/sphinx/html api
+%{__python2} man/manpage-writer man/arcli.rst man/build/arcli.1
+
+%install
+%{__python2} setup.py install --root %{buildroot} --skip-build
+%{__mkdir} -p %{buildroot}%{_mandir}/man1
+%{__install} -m 0644 man/build/arcli.1 %{buildroot}%{_mandir}/man1/arcli.1
+
+%files
+%config(noreplace) %{_sysconfdir}/arc.conf
+%doc README.md LICENSE api
+%{python_sitelib}/arc
+%{python_sitelib}/arc-*.egg-info
+%{_mandir}/man1/arcli.1.gz
+%{_bindir}/arcli
+
+%changelog
+* Thu Jan 23 2014 Cleber Rosa <cleber at redhat.com> - 0.7.1-1
+- Updated to version 0.7.1
+- Includes upstream packaging bugfix
+
+* Thu Jan 23 2014 Cleber Rosa <cleber at redhat.com> - 0.7.0-1
+- Updated to version 0.7.0
+- Replaced "python" macros for "python2"
+
+* Thu Dec  5 2013 Cleber Rosa <cleber at redhat.com> - 0.6.0-1
+- Updated to version 0.6.0
+- Added python-pygments as new requirement
+- Follow rpmlint suggests wrt cleaning the egg files on the builtroot
+
+* Thu Sep 19 2013 Cleber Rosa <cleber at redhat.com> - 0.5.0-1
+- Updated to version 0.5.0
+- Change Source0 to reflect the project's new source code location
+- Add API documentation to its own sub directory
+
+* Sat Sep 14 2013 Cleber Rosa <cleber at redhat.com> - 0.4.0-1
+- Updated to version 0.4.0
+- Package now includes man page and API docs
+
+* Thu Jul 25 2013 Cleber Rosa <cleber at redhat.com> - 0.3.0-1
+- Updated to version 0.3.0
+
+* Thu Jul 25 2013 Cleber Rosa <cleber at redhat.com> - 0.2.0-2
+- Followed suggestions from Fedora package review
+
+* Thu Jul 18 2013 Cleber Rosa <cleber at redhat.com> - 0.2.0-1
+- Updated to version 0.2.0
+
+* Tue Feb 19 2013 Cleber Rosa <cleber at redhat.com> - 0.0.2-2
+- Replaced python commands for respective macros
+- Add python as a build time requirement
+
+* Tue Feb 19 2013 Cleber <cleber at redhat.com> - 0.0.2-1
+- Updated to version 0.0.2
+
+* Tue Oct 16 2012 Cleber Rosa <cleber at redhat.com> - python-arc.0.0.0-1
+- Initial build.
+
diff --git a/sources b/sources
index e69de29..d19bc00 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+57078d04aa2e1418409468fba11dd9e2  arc-0.7.1-73a4f9e.tar.gz


More information about the scm-commits mailing list