diff --git a/README.md b/README.md index 2dbd02d..ccca69e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-pysvn +pysvn enable tools written in Python to use Subversion. + diff --git a/python-pysvn.spec b/python-pysvn.spec new file mode 100644 index 0000000..e737827 --- /dev/null +++ b/python-pysvn.spec @@ -0,0 +1,51 @@ +Name: python-pysvn +Version: 1.7.8 +Release: 1mamba +Summary: Python SVN Extension +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://pysvn.tigris.org/ +Source: http://pysvn.barrys-emacs.org/source_kits/pysvn-%{version}.tar.gz +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpython-devel +BuildRequires: libpython27-devel +## AUTOBUILDREQ-END +BuildRequires: libpython-devel +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +pysvn enable tools written in Python to use Subversion. + +%prep +%setup -q -n pysvn-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%files -f %{name}.filelist +%defattr(-,root,root) +%doc Docs/pysvn.html Docs/pysvn_prog_guide.html Docs/pysvn_prog_ref.html +%doc Docs/pysvn_prog_ref.js Examples LICENSE.txt + +%changelog +* Mon Feb 24 2014 Stefano Cotta Ramusino 1.7.8-1mamba +- update to 1.7.8 + +* Fri May 14 2010 gil 1.7.2-1mamba +- package created by autospec