auto-import pyserial-2.2-4 on branch devel from pyserial-2.2-4.src.rpm

This commit is contained in:
Paul P Komkoff Jr 2006-11-12 12:17:33 +00:00
parent c4393ac055
commit 26485e025e
3 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1 @@
pyserial-2.2.zip

51
pyserial.spec Normal file
View File

@ -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 <i@stingr.net> - 2.2-4
- remove "export libdirname"
* Tue Oct 24 2006 Paul P Komkoff Jr <i@stingr.net> - 2.2-3
- Minor specfile fixes
* Sat Oct 14 2006 Paul P Komkoff Jr <i@stingr.net> - 2.2-2
- Minor specfile fixes
* Tue May 9 2006 Paul P Komkoff Jr <i@stingr.net> - 2.2-1
- Fedora Extras submission

View File

@ -0,0 +1 @@
14e774b7b6e5aa52820f0590d3b8c4d9 pyserial-2.2.zip