From 26485e025e0096363efa854a16471d214dc5542d Mon Sep 17 00:00:00 2001 From: Paul P Komkoff Jr Date: Sun, 12 Nov 2006 12:17:33 +0000 Subject: [PATCH] auto-import pyserial-2.2-4 on branch devel from pyserial-2.2-4.src.rpm --- .cvsignore | 1 + pyserial.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+) create mode 100644 pyserial.spec diff --git a/.cvsignore b/.cvsignore index e69de29..dd7c03e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +pyserial-2.2.zip diff --git a/pyserial.spec b/pyserial.spec new file mode 100644 index 0000000..4686a8b --- /dev/null +++ b/pyserial.spec @@ -0,0 +1,51 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Summary: Python serial port access library +Name: pyserial +Version: 2.2 +Release: 4%{?dist} +Source0: http://easynews.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.zip +License: Python license +Group: Development/Libraries +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +URL: http://pyserial.sourceforge.net/ +BuildRequires: python-devel +BuildArch: noarch + +%description +This module encapsulates the access for the serial port. It provides backends +for standard Python running on Windows, Linux, BSD (possibly any POSIX +compilant system) and Jython. The module named "serial" automaticaly selects +the appropriate backend. + +%prep +export UNZIP="-aa" +%setup -q + +%build +CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc LICENSE.txt CHANGES.txt README.txt examples +%{python_sitelib}/* + +%changelog +* Mon Nov 6 2006 Paul P Komkoff Jr - 2.2-4 +- remove "export libdirname" + +* Tue Oct 24 2006 Paul P Komkoff Jr - 2.2-3 +- Minor specfile fixes + +* Sat Oct 14 2006 Paul P Komkoff Jr - 2.2-2 +- Minor specfile fixes + +* Tue May 9 2006 Paul P Komkoff Jr - 2.2-1 +- Fedora Extras submission diff --git a/sources b/sources index e69de29..94a4f5c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +14e774b7b6e5aa52820f0590d3b8c4d9 pyserial-2.2.zip