automatic update by autodist [release 2.7-1mamba;Tue Oct 22 2013]

This commit is contained in:
Automatic Build System 2024-01-05 16:37:10 +01:00
parent 68075e3e8d
commit 4c42d92636
2 changed files with 69 additions and 0 deletions

View File

@ -1,2 +1,6 @@
# python-serial # python-serial
PySerial encapsulates the access for the serial port.
It provides backends for Python running on Windows, Linux, BSD (possibly any POSIX compliant system), Jython and IronPython (.NET and Mono).
The module named “serial” automatically selects the appropriate backend.

65
python-serial.spec Normal file
View File

@ -0,0 +1,65 @@
Name: python-serial
Version: 2.7
Release: 1mamba
Summary: Python Serial Port Extension
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://pyserial.sourceforge.net/
Source: http://pypi.python.org/packages/source/p/pyserial/pyserial-%{version}.tar.gz
License: Python
Requires: python >= %python_version
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
%description
PySerial encapsulates the access for the serial port.
It provides backends for Python running on Windows, Linux, BSD (possibly any POSIX compliant system), Jython and IronPython (.NET and Mono).
The module named “serial” automatically selects the appropriate backend.
%prep
%setup -q -n pyserial-%{version}
%build
%{__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
# remove win32 examples
rm examples/{scanwin32.py,setup-miniterm-py2exe.py}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.filelist
%defattr(-,root,root)
%doc CHANGES.txt examples LICENSE.txt README.txt
%changelog
* Tue Oct 22 2013 Automatic Build System <autodist@mambasoft.it> 2.7-1mamba
- automatic update by autodist
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6-2mamba
- python 2.7 mass rebuild
* Wed Nov 02 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.6-1mamba
- update to 2.6
* Thu Aug 26 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.5-1mamba
- update to 2.5
* Thu Dec 17 2009 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.4-1mamba
- package created by autospec