2024-01-05 16:48:04 +01:00
|
|
|
%define pkgmajver %(echo %{version} | cut -d. -f 1-2)
|
|
|
|
|
|
|
|
Name: python-twisted
|
2024-01-05 16:48:05 +01:00
|
|
|
Version: 16.5.0
|
2024-01-05 16:48:04 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 16:48:04 +01:00
|
|
|
Summary: Event-driven networking framework written in Python
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Tiziana Ferro <tiziana.ferro@email.it>
|
|
|
|
URL: http://www.twistedmatrix.com/
|
2024-01-05 16:48:04 +01:00
|
|
|
Source: https://pypi.debian.net/Twisted/Twisted-%{version}.tar.bz2
|
2024-01-05 16:48:04 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libpython-devel >= %python_version
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:48:04 +01:00
|
|
|
BuildRequires: python
|
|
|
|
BuildRequires: python-zopeinterface
|
|
|
|
Requires: python >= %python_version
|
|
|
|
Requires: python-zopeinterface
|
2024-01-05 16:48:04 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
Provides: python-Twisted = %{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
An event-driven networking framework written in Python and licensed under the LGPL.
|
|
|
|
Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols (including HTTP, NNTP, SSH, IRC, FTP, andothers), and much more.
|
|
|
|
|
|
|
|
%package docs
|
|
|
|
Summary: Documentation for the Twisted networking framework
|
|
|
|
Group: Documentation
|
|
|
|
|
|
|
|
%description docs
|
|
|
|
An event-driven networking framework written in Python and licensed under the LGPL.
|
|
|
|
Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols (including HTTP, NNTP, SSH, IRC, FTP, andothers), and much more.
|
|
|
|
|
|
|
|
This package contains all the documentation for Twisted.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Twisted-%{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
|
|
|
|
|
2024-01-05 16:48:04 +01:00
|
|
|
sed -i "/iocpsupport.so/d" %{name}.filelist
|
|
|
|
#install -d %{buildroot}%{_mandir}/man1/
|
|
|
|
#cp -a doc/*/man/*.1 %{buildroot}%{_mandir}/man1/
|
2024-01-05 16:48:04 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 16:48:04 +01:00
|
|
|
%files -f %{name}.filelist
|
2024-01-05 16:48:04 +01:00
|
|
|
%defattr(-, root, root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:48:05 +01:00
|
|
|
* Thu Nov 24 2016 Automatic Build System <autodist@mambasoft.it> 16.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:48:05 +01:00
|
|
|
* Mon Sep 19 2016 Automatic Build System <autodist@mambasoft.it> 16.4.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:48:05 +01:00
|
|
|
* Fri Aug 19 2016 Automatic Build System <autodist@mambasoft.it> 16.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:48:04 +01:00
|
|
|
* Wed Aug 17 2016 Automatic Build System <autodist@mambasoft.it> 16.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:48:04 +01:00
|
|
|
* Wed Jul 13 2016 Automatic Build System <autodist@mambasoft.it> 16.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:48:04 +01:00
|
|
|
* Thu Jun 02 2016 Automatic Build System <autodist@mambasoft.it> 16.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:48:04 +01:00
|
|
|
* Sat Apr 30 2016 Automatic Build System <autodist@mambasoft.it> 16.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:48:04 +01:00
|
|
|
* Sat Mar 19 2016 Automatic Build System <autodist@mambasoft.it> 16.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:48:04 +01:00
|
|
|
* Thu Dec 03 2015 Automatic Build System <autodist@mambasoft.it> 15.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:48:04 +01:00
|
|
|
* Thu Sep 24 2015 Automatic Build System <autodist@mambasoft.it> 15.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:48:04 +01:00
|
|
|
* Sat Sep 12 2015 Automatic Build System <autodist@mambasoft.it> 15.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:48:04 +01:00
|
|
|
* Fri Jun 05 2015 Automatic Build System <autodist@mambasoft.it> 15.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:48:04 +01:00
|
|
|
* Mon Apr 13 2015 Automatic Build System <autodist@mambasoft.it> 15.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:48:04 +01:00
|
|
|
* Sat Jan 31 2015 Automatic Build System <autodist@mambasoft.it> 15.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:48:04 +01:00
|
|
|
* Fri Sep 19 2014 Automatic Build System <autodist@mambasoft.it> 14.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 18 2014 Automatic Build System <autodist@mambasoft.it> 14.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:48:04 +01:00
|
|
|
* Sun Jun 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 14.0.0-1mamba
|
|
|
|
- update to 14.0.0
|
|
|
|
|
2024-01-05 16:48:04 +01:00
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 10.2.0-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Wed Oct 05 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 10.2.0-1mamba
|
|
|
|
- update to 10.2.0
|
|
|
|
|
|
|
|
* Mon Aug 23 2010 Davide Madrisan <davide.madrisan@gmail.com> 8.2.0-1mamba
|
|
|
|
- update to 8.2.0
|
|
|
|
|
|
|
|
* Sun Dec 07 2008 gil <puntogil@libero.it> 8.1.0-2mamba
|
|
|
|
- built with python 2.6 and new python-twisted
|
|
|
|
|
|
|
|
* Mon Aug 11 2008 gil <puntogil@libero.it> 8.1.0-1mamba
|
|
|
|
- update to 8.1.0
|
|
|
|
- changed buildrequires python-devel with libpython-devel
|
|
|
|
- edit source
|
|
|
|
|
|
|
|
* Thu Aug 16 2007 Tiziana Ferro <tiziana.ferro@email.it> 2.5.0-1mamba
|
|
|
|
- package created by autospec
|