[pymodbus] Initial import (#765625)

Christian Krause chkr at fedoraproject.org
Mon Dec 19 22:43:51 UTC 2011


commit 6a7c1133b6341efca72253d6d64b5e2dd104c96d
Author: Christian Krause <chkr at fedoraproject.org>
Date:   Mon Dec 19 23:43:45 2011 +0100

    Initial import (#765625)

 .gitignore    |    1 +
 pymodbus.spec |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b06ab0c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pymodbus-0.9.0.tar.gz
diff --git a/pymodbus.spec b/pymodbus.spec
new file mode 100644
index 0000000..c68997f
--- /dev/null
+++ b/pymodbus.spec
@@ -0,0 +1,55 @@
+Name: pymodbus
+Version: 0.9.0
+Release: 1%{?dist}
+Summary: A Modbus Protocol Stack in Python
+
+Group: Development/Languages
+License: BSD
+URL: http://code.google.com/p/pymodbus/
+Source0: http://pymodbus.googlecode.com/files/pymodbus-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-setuptools-devel
+Requires: python-twisted >= 2.5.0
+Requires: python-nose >= 0.9.3
+Requires: pyserial >= 2.4
+
+%description
+Pymodbus is a full Modbus protocol implementation using twisted for its
+asynchronous communications core.
+
+The library currently supports the following:
+
+Client Features
+
+    * Full read/write protocol on discrete and register
+    * Most of the extended protocol (diagnostic/file/pipe/setting/information)
+    * TCP, UDP, Serial ASCII, Serial RTU, and Serial Binary
+    * asynchronous(powered by twisted) and synchronous versions
+    * Payload builder/decoder utilities
+
+Server Features
+
+    * Can function as a fully implemented Modbus server
+    * TCP, UDP, Serial ASCII, Serial RTU, and Serial Binary
+    * asynchronous(powered by twisted) and synchronous versions
+    * Full server control context (device information, counters, etc)
+    * A number of backing contexts (database, redis, a slave device)
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%{__rm} -rf $RPM_BUILD_ROOT%{python_sitelib}/test
+
+%files
+%{python_sitelib}/*
+
+%changelog
+* Wed Dec 07 2011 Christian Krause <chkr at fedoraproject.org> - 0.9.0-1
+- Initial Spec file
+
diff --git a/sources b/sources
index e69de29..dabc0f9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ea3f3b23a443ee80975514b40f11ece4  pymodbus-0.9.0.tar.gz


More information about the scm-commits mailing list