python-pysvn/python-pysvn.spec

52 lines
1.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-pysvn
Version: 1.7.8
Release: 1mamba
Summary: Python SVN Extension
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
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 <stefano.cotta@openmamba.org> 1.7.8-1mamba
- update to 1.7.8
* Fri May 14 2010 gil <puntogil@libero.it> 1.7.2-1mamba
- package created by autospec