|
|
9bc681c |
%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
|
|
|
9bc681c |
|
|
|
9bc681c |
Name: python-pysctp
|
|
Neil Horman |
abf727d |
Version: 0.6
|
|
|
7dd6bbc |
Release: 6%{?dist}
|
|
|
9bc681c |
Summary: Python sctp socket api extensions bindings
|
|
|
9bc681c |
Group: System Environment/Libraries
|
|
|
9bc681c |
License: LGPLv2
|
|
|
9bc681c |
URL: http://epx.com.br/pysctp/
|
|
Neil Horman |
abf727d |
Source0: https://github.com/philpraxis/pysctp/archive/%{version}.tar.gz
|
|
Neil Horman |
abf727d |
Source1: __init__.py
|
|
|
9bc681c |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
9bc681c |
Requires: python lksctp-tools-devel
|
|
|
460676f |
BuildRequires: python-setuptools lksctp-tools-devel
|
|
|
7077332 |
BuildRequires: python-devel python
|
|
|
9bc681c |
|
|
|
9bc681c |
Patch0: pysctp-buildfix.patch
|
|
|
9bc681c |
|
|
|
9bc681c |
%description
|
|
|
9bc681c |
Python bindings for the SCTP socket api (see draft-ietf-tsvwg-sctpsocket-10.txt)
|
|
|
9bc681c |
|
|
|
9bc681c |
%prep
|
|
|
9bc681c |
%setup -q -n pysctp-%{version}
|
|
|
9bc681c |
mkdir ./pysctp
|
|
Neil Horman |
abf727d |
cp %{SOURCE1} .
|
|
|
9bc681c |
|
|
|
9bc681c |
%build
|
|
|
9bc681c |
FLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
|
|
9bc681c |
|
|
|
9bc681c |
%install
|
|
|
9bc681c |
rm -rf $RPM_BUILD_ROOT
|
|
|
9bc681c |
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
Neil Horman |
abf727d |
rm -f $RPM_BUILD_ROOT/usr/*.[ch]
|
|
|
9bc681c |
|
|
|
9bc681c |
%clean
|
|
|
9bc681c |
rm -rf $RPM_BUILD_ROOT
|
|
|
9bc681c |
|
|
|
9bc681c |
%files
|
|
|
9bc681c |
%defattr(-,root,root,-)
|
|
|
9bc681c |
%{python_sitearch}/*
|
|
Neil Horman |
abf727d |
%doc README
|
|
|
9bc681c |
|
|
|
9bc681c |
%changelog
|
|
|
7dd6bbc |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-6
|
|
|
7dd6bbc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
7dd6bbc |
|
|
|
7e736d3 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-5
|
|
|
7e736d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
7e736d3 |
|
|
|
e422955 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-4
|
|
|
e422955 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
e422955 |
|
|
|
460676f |
* Mon Jun 30 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6-3
|
|
|
460676f |
- Replace python-setuptools-devel BR with python-setuptools
|
|
|
460676f |
|
|
|
29bbbb4 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
|
|
|
29bbbb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
29bbbb4 |
|
|
Neil Horman |
abf727d |
* Tue Jul 30 2013 Neil Horman <nhorman@redhat.com> - 0.6-1
|
|
Neil Horman |
abf727d |
* Updated to latest upstream
|
|
Neil Horman |
abf727d |
|
|
|
aa8971e |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-14
|
|
|
aa8971e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
aa8971e |
|
|
|
59df502 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-13
|
|
|
59df502 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
59df502 |
|
|
|
9bd26a5 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-12
|
|
|
9bd26a5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
9bd26a5 |
|
|
|
dd5f713 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-11
|
|
|
dd5f713 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
dd5f713 |
|
|
|
5383c38 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.3.1-10
|
|
|
5383c38 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
5383c38 |
|
|
|
4510f63 |
* Fri Nov 20 2009 Neil Horman <nhorman@tuxdriver.com> - 0.3.1-9
|
|
|
4510f63 |
- Update BuildRequires (bz 539152)
|
|
|
4510f63 |
|
|
|
065d4d3 |
* Fri Nov 20 2009 Neil Horman <nhorman@tuxdriver.com> - 0.3.1-8
|
|
|
065d4d3 |
- Update BuildRequires (bz 539152)
|
|
|
065d4d3 |
|
|
|
29d84a6 |
* Fri Nov 20 2009 Neil Horman <nhorman@tuxdriver.com> - 0.3.1-7
|
|
|
29d84a6 |
- Update makefile for latest python release (bz 539152)
|
|
|
29d84a6 |
|
|
|
7e86d6d |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-6
|
|
|
7e86d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
7e86d6d |
|
|
|
2e699e5 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-5
|
|
|
2e699e5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
2e699e5 |
|
|
|
05eb4af |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.3.1-4
|
|
|
05eb4af |
- Rebuild for Python 2.6
|
|
|
05eb4af |
|
|
|
9bc681c |
* Wed Sep 10 2008 Neil Horman <nhorman@tuxdriver.com> 0.3-1-3
|
|
|
9bc681c |
- Fixed files section, last minute pre-import fixes
|
|
|
9bc681c |
|
|
|
9bc681c |
* Wed Sep 10 2008 Neil Horman <nhorman@tuxdriver.com> 0.3.1-2
|
|
|
9bc681c |
- Updated spec file with documentation
|
|
|
9bc681c |
|
|
|
9bc681c |
* Thu Apr 10 2008 Neil Horman <nhorman@tuxdriver.com> 0.3.1-1
|
|
|
9bc681c |
- Initial build
|