[packages/python-serial] - rel 2; package miniterm
arekm
arekm at pld-linux.org
Sun Feb 2 11:13:27 CET 2014
commit d44bac7c59ef475ea88163237f827f99976a7ae8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Feb 2 11:13:24 2014 +0100
- rel 2; package miniterm
python-serial.spec | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/python-serial.spec b/python-serial.spec
index e29e584..0774cbf 100644
--- a/python-serial.spec
+++ b/python-serial.spec
@@ -9,7 +9,7 @@ Summary: Serial port interface module
Summary(pl.UTF-8): Moduł interfejsu do portu szeregowego
Name: python-serial
Version: 2.7
-Release: 1
+Release: 2
License: GPL
Group: Development/Languages/Python
Source0: http://pypi.python.org/packages/source/p/pyserial/pyserial-%{version}.tar.gz
@@ -55,6 +55,16 @@ backends for Python running on Windows, Linux, BSD (possibly any POSIX
compilant system) and Jython. The module named "serial" automatically
selects the appropriate backend.
+%package -n miniterm
+Summary: Very simple serial terminal
+Version: %{version}
+Release: %{release}
+Group: Applications/Communications
+Requires: python%{?with_python3:3}-%{module} = %{version}-%{release}
+
+%description -n miniterm
+Very simple serial terminal written in Python.
+
%prep
%setup -q -n pyserial-%{version}
@@ -111,3 +121,7 @@ rm -rf $RPM_BUILD_ROOT
%{py3_sitescriptdir}/%{module}
%{py3_sitescriptdir}/*egg-info
%endif
+
+%files -n miniterm
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/miniterm.py
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-serial.git/commitdiff/d44bac7c59ef475ea88163237f827f99976a7ae8
More information about the pld-cvs-commit
mailing list