[packages/python3-gbinder] - finished package

qboosh qboosh at pld-linux.org
Thu Jan 26 19:40:16 CET 2023


commit 9263791551ba5a39cbe8db50c124c76a958284da
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jan 26 19:41:24 2023 +0100

    - finished package

 python3-gbinder.spec | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/python3-gbinder.spec b/python3-gbinder.spec
index fab2abd..f31cb31 100644
--- a/python3-gbinder.spec
+++ b/python3-gbinder.spec
@@ -1,12 +1,12 @@
 %define		module	gbinder
-Summary:	-
-Summary(pl.UTF-8):	-
-# Name must match the python module/package name (as on pypi or in 'import' statement)
+Summary:	Cython extension module for C++ gbinder functions
+Summary(pl.UTF-8):	Moduł rozszerzenia Cythona do funkcji C++ biblioteki gbinder
 Name:		python3-%{module}
 Version:	1.1.1
-Release:	0.1
-License:	- (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
+Release:	1
+License:	GPL v3
 Group:		Libraries/Python
+#Source0Download: https://github.com/erfanoabdi/gbinder-python/tags/
 Source0:	https://github.com/erfanoabdi/gbinder-python/archive/%{version}/%{name}-%{version}.tar.gz
 # Source0-md5:	47e15c2768963a5184a489ae2d073116
 URL:		https://github.com/erfanoabdi/gbinder-python
@@ -22,13 +22,14 @@ Requires:	python3-modules >= 1:3.2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
+Cython extension module for C++ gbinder functions.
+
+%description -l pl.UTF-8
+Moduł rozszerzenia Cythona do funkcji C++ biblioteki gbinder.
 
 %prep
 %setup -q -n %{module}-python-%{version}
 
-# fix #!/usr/bin/env python -> #!/usr/bin/python:
-#%{__sed} -i -e '1s,^#!.*python3,#!%{__python3},' %{name}.py
-
 %build
 %py3_build build_ext --cython
 
@@ -43,5 +44,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README.md
-%attr(755,root,root) %{py3_sitedir}/%{module}.*.so
+%attr(755,root,root) %{py3_sitedir}/gbinder.cpython-*.so
 %{py3_sitedir}/gbinder_python-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-gbinder.git/commitdiff/9263791551ba5a39cbe8db50c124c76a958284da



More information about the pld-cvs-commit mailing list