[python-vcstools/f16] Initial import

rmattes rmattes at fedoraproject.org
Sat Jun 9 00:23:46 UTC 2012


commit 26c85e93d38440663321b0fb25b783cc6320093f
Author: Rich Mattes <richmattes at gmail.com>
Date:   Fri Jun 8 20:22:37 2012 -0400

    Initial import

 .gitignore           |    1 +
 python-vcstools.spec |   75 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 77 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..06ce7a1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/vcstools-0.1.17.tar.bz2
diff --git a/python-vcstools.spec b/python-vcstools.spec
new file mode 100644
index 0000000..d9c135f
--- /dev/null
+++ b/python-vcstools.spec
@@ -0,0 +1,75 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+%global realname vcstools
+%global hghash 6205f4fc
+
+Name:           python-%{realname}
+Version:        0.1.17
+Release:        3.20120606hg%{hghash}%{?dist}
+Summary:        Version Control System tools for Python
+
+License:        BSD
+URL:            https://kforge.ros.org/projects/vcstools/
+#source obtained from hg snapshot:
+#hg clone https://kforge.ros.org/vcstools/hg vcstools; cd vcstools
+#hg checkout 6205f4fc; rm -rf .hg*; cd ..; mv vcstools vcstools-0.1.17
+#tar cjf vcstools-0.1.17.tar.bz2 vcstools-0.1.17
+Source0:        %{realname}-%{version}.tar.bz2
+BuildArch:      noarch
+
+
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools-devel
+BuildRequires:  python-sphinx
+
+%description
+The vcstools module provides a Python API for interacting with different 
+version control systems (VCS/SCMs). The VcsClient class provides an API 
+for seamless interacting with Git, Mercurial (Hg), Bzr and SVN. The focus 
+of the API is manipulating on-disk checkouts of source-controlled trees. 
+Its main use is to support the rosinstall tool.
+
+%prep
+%setup -q -n %{realname}-%{version}
+sed -i 's/haiku/default/' doc/conf.py
+sed -i 's/:special-members://' doc/vcstools.rst
+
+%build
+pushd doc
+make html
+%if ! 0%{?rhel}
+make man
+%endif
+popd
+
+%install
+%{__python} setup.py install --root $RPM_BUILD_ROOT
+%if ! 0%{?rhel}
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+chmod -x doc/_build/man/vcstools.1
+install -p -m 0644 doc/_build/man/vcstools.1 $RPM_BUILD_ROOT%{_mandir}/man1/
+%endif
+rm -rf doc/_build/html/.buildinfo
+
+%files
+%doc doc/_build/html
+%{python_sitelib}/%{realname}
+%{python_sitelib}/%{realname}-*.egg-info
+%if ! 0%{?rhel}
+%{_mandir}/man1/*.gz
+%endif
+
+%changelog
+* Fri Jun 08 2012 Rich Mattes <richmattes at gmail.com> - 0.1.17-3.20120606hg6205f4fc
+- Added el6 support
+- Enabled unit tests
+
+* Wed Jun 06 2012 Rich Mattes <richmattes at gmail.com> - 0.1.17-2.20120606hg6205f4fc
+- Update package release to include hg checkout info
+- Remove el5 specific RPM_BUILD_ROOT removal from install section
+
+* Tue Jun 05 2012 Rich Mattes <richmattes at gmail.com> - 0.1.17-1
+- Update to release 0.1.17
+
+* Wed Apr 25 2012 Rich Mattes <richmattes at gmail.com> - 0.1.4-1
+- Initial package
diff --git a/sources b/sources
index e69de29..7848769 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+02133b41116630b161773b9b40f3a5c1  vcstools-0.1.17.tar.bz2


More information about the scm-commits mailing list