[packages/python3-smspdudecoder] - initial

arekm arekm at pld-linux.org
Tue Apr 30 13:10:52 CEST 2019


commit 40cfb0f8ba66f8dbc27324c02e3ca28d5c1fe7ab
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Apr 30 13:10:27 2019 +0200

    - initial

 python3-smspdudecoder.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
---
diff --git a/python3-smspdudecoder.spec b/python3-smspdudecoder.spec
new file mode 100644
index 0000000..31a483d
--- /dev/null
+++ b/python3-smspdudecoder.spec
@@ -0,0 +1,50 @@
+# Conditional build:
+%bcond_with	tests	# unit tests
+
+%define		module		smspdu
+%define		egg_name	smspdudecoder
+%define		pypi_name	smspdudecoder
+Summary:	SMS-PDU Decoder
+Name:		python3-%{pypi_name}
+Version:	1.1.0
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+Source0:	https://github.com/Qotto/smspdudecoder/archive/%{version}.tar.gz
+# Source0-md5:	d76e2a506ee62364399cc3e46de41aaf
+URL:		https://github.com/Qotto/smspdudecoder/
+BuildRequires:	python3-modules >= 3.6
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+%if %{with tests}
+BuildRequires:	python3-bitstream
+%endif
+BuildRequires:	python3-setuptools
+
+%description
+This library will help you to decode raw SMS data you can get from a
+GSM modem.
+
+It has some encoding functionality as well.
+
+It is recommended to read GSM 03.40 to facilitate understanding.
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+
+%build
+%py3_build %{?with_tests:test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-smspdudecoder.git/commitdiff/40cfb0f8ba66f8dbc27324c02e3ca28d5c1fe7ab



More information about the pld-cvs-commit mailing list