From 8f52b8e32e5436da294a977ea37587cc3e5333f3 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Mar 03 2010 16:34:41 +0000 Subject: Initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..97d8306 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +GitPython-0.1.6.tar.gz diff --git a/GitPython.spec b/GitPython.spec new file mode 100644 index 0000000..ac85d5f --- /dev/null +++ b/GitPython.spec @@ -0,0 +1,62 @@ +# sitelib for noarch packages, sitearch for others (remove the unneeded one) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: GitPython +Version: 0.1.6 +Release: 2%{?dist} +Summary: Python Git Library + +Group: Development/Languages +License: BSD +URL: http://pypi.python.org/pypi/GitPython/ +Source0: http://pypi.python.org/packages/source/G/GitPython/GitPython-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel python-setuptools + +%description +GitPython is a python library used to interact with Git repositories. + +GitPython provides object model access to your git repository. Once you have +created a repository object, you can traverse it to find parent commit(s), +trees, blobs, etc. + +GitPython is a port of the grit library in Ruby created by Tom Preston-Werner +and Chris Wanstrath. + + +%prep +%setup -q + + +%build +%{__python} setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc README CHANGES LICENSE AUTHORS +# For noarch packages: sitelib +%{python_sitelib}/GitPython-%{version}-py*.egg-info +%{python_sitelib}/git + + +%changelog +* Mon Jan 08 2010 Terje Rosten - 0.1.6-2 +- Add python-setuptools to buildreq +- Explicit file list +- Use version macro in source url + +* Wed Jan 06 2010 Jesse Keating - 0.1.6-1 +- Initial Fedora package + diff --git a/import.log b/import.log new file mode 100644 index 0000000..9dcaecd --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +GitPython-0_1_6-2_fc12:HEAD:GitPython-0.1.6-2.fc12.src.rpm:1267633922 diff --git a/sources b/sources index e69de29..330c985 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +da9af1ffefbe03cf424f0e00bef0c868 GitPython-0.1.6.tar.gz