|
|
26485e0 |
Summary: Python serial port access library
|
|
|
26485e0 |
Name: pyserial
|
|
|
b0ca3a7 |
Version: 2.6
|
|
|
41183b5 |
Release: 7%{?dist}
|
|
|
d68bd78 |
Source0: http://easynews.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
|
|
|
dfd157c |
Patch0: pyserial-speed.patch
|
|
|
7b217b5 |
License: Python
|
|
|
26485e0 |
Group: Development/Libraries
|
|
|
26485e0 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
d68bd78 |
URL: http://pyserial.sourceforge.net
|
|
|
26485e0 |
BuildRequires: python-devel
|
|
|
46674a5 |
BuildRequires: python3-devel
|
|
|
26485e0 |
BuildArch: noarch
|
|
|
26485e0 |
|
|
|
26485e0 |
%description
|
|
|
26485e0 |
This module encapsulates the access for the serial port. It provides backends
|
|
|
26485e0 |
for standard Python running on Windows, Linux, BSD (possibly any POSIX
|
|
|
26485e0 |
compilant system) and Jython. The module named "serial" automaticaly selects
|
|
|
26485e0 |
the appropriate backend.
|
|
|
26485e0 |
|
|
|
46674a5 |
%package -n python3-pyserial
|
|
|
46674a5 |
Summary: Python serial port access library
|
|
|
46674a5 |
|
|
|
46674a5 |
%description -n python3-pyserial
|
|
|
46674a5 |
This module encapsulates the access for the serial port. It provides backends
|
|
|
46674a5 |
for standard Python running on Windows, Linux, BSD (possibly any POSIX
|
|
|
46674a5 |
compilant system) and Jython. The module named "serial" automaticaly selects
|
|
|
46674a5 |
the appropriate backend.
|
|
|
46674a5 |
|
|
|
46674a5 |
|
|
|
26485e0 |
%prep
|
|
|
26485e0 |
export UNZIP="-aa"
|
|
|
26485e0 |
%setup -q
|
|
|
dfd157c |
%patch0 -p1
|
|
|
46674a5 |
rm -rf %{py3dir}
|
|
|
46674a5 |
cp -a . %{py3dir}
|
|
|
26485e0 |
|
|
|
26485e0 |
%build
|
|
|
46674a5 |
CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build
|
|
|
46674a5 |
pushd %{py3dir}
|
|
|
46674a5 |
CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
|
|
|
46674a5 |
popd
|
|
|
26485e0 |
|
|
|
26485e0 |
%install
|
|
|
26485e0 |
rm -rf $RPM_BUILD_ROOT
|
|
|
46674a5 |
pushd %{py3dir}
|
|
|
46674a5 |
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
46674a5 |
popd
|
|
|
46674a5 |
%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
26485e0 |
|
|
|
26485e0 |
%clean
|
|
|
26485e0 |
rm -rf $RPM_BUILD_ROOT
|
|
|
26485e0 |
|
|
|
26485e0 |
%files
|
|
|
26485e0 |
%defattr(-,root,root)
|
|
|
26485e0 |
%doc LICENSE.txt CHANGES.txt README.txt examples
|
|
|
26485e0 |
%{python_sitelib}/*
|
|
|
9d3fb4a |
%{_bindir}/miniterm.py
|
|
|
26485e0 |
|
|
|
46674a5 |
%files -n python3-pyserial
|
|
|
46674a5 |
%doc LICENSE.txt CHANGES.txt README.txt examples
|
|
|
46674a5 |
%{python3_sitelib}/*
|
|
|
46674a5 |
|
|
|
26485e0 |
%changelog
|
|
|
46674a5 |
* Sat Sep 07 2013 Till Maas <opensource@till.name> - 2.6-7
|
|
|
46674a5 |
- Add python3 package
|
|
|
46674a5 |
|
|
|
dfd157c |
* Sat Sep 07 2013 Paul P. Komkoff <i@stingr.net> - 2.6-6
|
|
|
dfd157c |
- patched to allow arbitrary speeds bz#982368
|
|
|
dfd157c |
|
|
|
c495ad3 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-5
|
|
|
c495ad3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
c495ad3 |
|
|
|
754873f |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-4
|
|
|
754873f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
754873f |
|
|
|
b9e7d2a |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-3
|
|
|
b9e7d2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b9e7d2a |
|
|
|
1e21683 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-2
|
|
|
1e21683 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
1e21683 |
|
|
|
b0ca3a7 |
* Mon Nov 28 2011 Paul P. Komkoff Jr <i@stingr.net> - 2.6-1
|
|
|
b0ca3a7 |
- new upstream version.
|
|
|
b0ca3a7 |
|
|
|
097717c |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-2
|
|
|
097717c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
097717c |
|
|
|
817027e |
* Fri Nov 19 2010 Paul P. Komkoff Jr <i@stingr.net> - 2.5-1
|
|
|
817027e |
- new upstream version
|
|
|
817027e |
|
|
|
4dc76f0 |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 2.4-2
|
|
|
4dc76f0 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
4dc76f0 |
|
|
|
d68bd78 |
* Sun Oct 18 2009 Paul P Komkoff Jr <i@stingr.net> - 2.4-1
|
|
|
d68bd78 |
- new upstream version
|
|
|
d68bd78 |
|
|
|
5e956e2 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-9
|
|
|
5e956e2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
5e956e2 |
|
|
|
a797a71 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-8
|
|
|
a797a71 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
a797a71 |
|
|
|
f111cea |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.2-7
|
|
|
f111cea |
- Rebuild for Python 2.6
|
|
|
f111cea |
|
|
|
7b217b5 |
* Fri Aug 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2-6
|
|
|
7b217b5 |
- fix license tag
|
|
|
7b217b5 |
|
|
|
e36e8c4 |
* Tue Dec 12 2006 Paul P. Komkoff Jr <i@stingr.net>
|
|
|
e36e8c4 |
- rebuilt
|
|
|
e36e8c4 |
|
|
|
26485e0 |
* Mon Nov 6 2006 Paul P Komkoff Jr <i@stingr.net> - 2.2-4
|
|
|
26485e0 |
- remove "export libdirname"
|
|
|
26485e0 |
|
|
|
26485e0 |
* Tue Oct 24 2006 Paul P Komkoff Jr <i@stingr.net> - 2.2-3
|
|
|
26485e0 |
- Minor specfile fixes
|
|
|
26485e0 |
|
|
|
26485e0 |
* Sat Oct 14 2006 Paul P Komkoff Jr <i@stingr.net> - 2.2-2
|
|
|
26485e0 |
- Minor specfile fixes
|
|
|
26485e0 |
|
|
|
26485e0 |
* Tue May 9 2006 Paul P Komkoff Jr <i@stingr.net> - 2.2-1
|
|
|
26485e0 |
- Fedora Extras submission
|