File python-serial.spec of Package python-serial
#
# spec file for package python-serial (Version 2.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: python-serial
BuildRequires: python-devel
Summary: Python Serial Port Extension
Version: 2.4
Release: 1
Source: pyserial-%{version}.tar.bz2
License: Python Copyright
Group: Development/Libraries/Python
Url: http://pyserial.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Prefix: %{_prefix}
%{py_requires}
%description
This module encapsulates the access for the serial port. It provides
backends for Python running on Windows, Linux, BSD (possibly any POSIX
compliant system) and Jython. The module named "serial" automatically
selects the appropriate backend.
Authors:
--------
Chris Liechti <cliechti@gmx.net>
%prep
%setup -n pyserial-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --record-rpm=INSTALLED_FILES --root="$RPM_BUILD_ROOT"
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
%clean
rm -rf "$RPM_BUILD_ROOT"
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc CHANGES.txt LICENSE.txt PKG-INFO README.txt examples
%changelog
* Fri Sep 12 2008 matejcik@suse.cz
- update to 2.4
* iterator interface
* inter-character timeout
* support for Jython and IronPython
* bugfixes
* Tue Feb 28 2006 jmatejek@suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Oct 06 2005 matejcik@suse.cz
- update to 2.2
* Tue Nov 30 2004 mcihar@suse.cz
- spec file cleanup
* Thu Aug 26 2004 garloff@suse.de
- Initial creation of package python-serial (pyserial).