[packages/python-gprof2dot] - updated to 2022.7.29 (last for python 2.7)
qboosh
qboosh at pld-linux.org
Sun Feb 22 20:53:03 CET 2026
commit 9a6e3bbe3b0742ed715778c7770e4f50af4eaf12
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Feb 22 20:53:01 2026 +0100
- updated to 2022.7.29 (last for python 2.7)
python-gprof2dot.spec | 39 ++++++++++++++++++++-------------------
1 file changed, 20 insertions(+), 19 deletions(-)
---
diff --git a/python-gprof2dot.spec b/python-gprof2dot.spec
index 6866055..480fd53 100644
--- a/python-gprof2dot.spec
+++ b/python-gprof2dot.spec
@@ -1,19 +1,18 @@
-# TODO
-# - better group
%define module gprof2dot
-Summary: Generate a dot graph from the output of several profiles.
+Summary: Generate a dot graph from the output of several profiles
+Summary(pl.UTF-8): Generowanie grafu dot z wyjścia różnych profilowań
Name: python-%{module}
-Version: 1.0
-Release: 0.2
-License: LGPL
+Version: 2022.7.29
+Release: 1
+License: LGPL v3+
Group: Development/Languages/Python
-Source0: http://pypi.python.org/packages/source/g/%{module}/%{module}-%{version}.zip
-# Source0-md5: 519db08c9529c02479537cc5dc68fecb
-URL: http://python-mock.sourceforge.net/
-BuildRequires: python-distribute
+Source0: https://files.pythonhosted.org/packages/source/g/gprof2dot/%{module}-%{version}.tar.gz
+# Source0-md5: e5cc9688e03be98748901fc513175573
+URL: https://pypi.org/project/gprof2dot/
+BuildRequires: python-modules >= 1:2.7
+BuildRequires: python-setuptools
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.710
-Requires(post,preun): /sbin/chkconfig
+BuildRequires: rpmbuild(macros) >= 1.714
Requires: graphviz
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,6 +20,8 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Generate a dot graph from the output of several profiles.
+%description -l pl.UTF-8
+Generowanie grafu dot z wyjścia różnych profilowań.
%prep
%setup -q -n %{module}-%{version}
@@ -30,19 +31,19 @@ Generate a dot graph from the output of several profiles.
%install
rm -rf $RPM_BUILD_ROOT
+
%py_install
%py_postclean
+%{__mv} $RPM_BUILD_ROOT%{_bindir}/gprof2dot{,-2}
+
%clean
rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(644,root,root,755)
-%doc PKG-INFO
-%attr(755, root,root) %{_bindir}/%{module}
-%{py_sitescriptdir}/%{module}
-%if "%{py_ver}" > "2.4"
-%{py_sitescriptdir}/%{module}-*.egg-info
-%endif
+%doc README.md
+%attr(755, root,root) %{_bindir}/gprof2dot-2
+%{py_sitescriptdir}/gprof2dot.py[co]
+%{py_sitescriptdir}/gprof2dot-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-gprof2dot.git/commitdiff/9a6e3bbe3b0742ed715778c7770e4f50af4eaf12
More information about the pld-cvs-commit
mailing list