[packages/gprofng-gui] - new

qboosh qboosh at pld-linux.org
Sun Mar 30 09:55:17 CEST 2025


commit 0b1b2328536442d8261675ee13a370b082d6941c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 30 09:55:02 2025 +0200

    - new

 gprofng-gui-info.patch | 14 +++++++++
 gprofng-gui.spec       | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+)
---
diff --git a/gprofng-gui.spec b/gprofng-gui.spec
new file mode 100644
index 0000000..6576b5a
--- /dev/null
+++ b/gprofng-gui.spec
@@ -0,0 +1,77 @@
+%{?use_default_jdk}
+
+Summary:	Graphical User Interface for the gprofng profiler
+Summary(pl.UTF-8):	Graficzny interfejs użytkownika do profilera gprofng
+Name:		gprofng-gui
+Version:	2.0
+Release:	1
+License:	GPL v3+
+Group:		Development/Tools
+Source0:	https://ftp.gnu.org/gnu/gprofng-gui/%{name}-%{version}.tar.gz
+# Source0-md5:	c16b90816ac06fc9ae6e211c4cbe9695
+Patch0:		%{name}-info.patch
+URL:		http://www.gnu.org/software/gprofng-gui/
+%{?buildrequires_jdk}
+BuildRequires:	rpmbuild(macros) >= 2.021
+BuildRequires:	sed >= 4.0
+BuildRequires:	texinfo
+Requires:	binutils-gprofng
+Requires:	jre
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The GNU gprofng GUI is a feature rich graphical user interface for the
+GNU gprofng tool. It makes it possible to interactively analyze and
+compare gprofng profiling experiments. Users can drill into an
+applications profile together with the applications code to gather an
+understanding and insight into what an application is doing throughout
+its runtime.
+
+The GUI is a Java application utilizing the Swing GUI framework.
+
+%description -l pl.UTF-8
+GNU gprofng GUI to bogaty w funkcje graficzny interfejs użytkownika do
+narzędzia profilującego gprofng. Umożliwia interaktywną analizę i
+porównywanie eksperymentów profilowania gprofng. Użytkownicy mogą
+zgłębiać profile aplikacji wraz z ich kodem, aby mieć wgląd i
+zrozumienie, co robi aplikacja w czasie jej uruchomienia.
+
+Graficzny interfejs jest aplikacją Javy, wykorzystującą szkielet GUI
+Swing.
+
+%prep
+%setup -q
+%patch -P0 -p1
+
+%{__sed} -i -e '1s,/usr/bin/env bash,/bin/bash,' gprofng-gui.sh
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/gp-display-gui
+%attr(755,root,root) %{_bindir}/gprofng-display-gui
+%{_datadir}/gprofng-gui
+%{_desktopdir}/gprofng-gui.desktop
+%{_iconsdir}/hicolor/*x*/apps/gprofng.png
+%{_infodir}/gprofng-gui.info*
+%{_mandir}/man1/gprofng-display-gui.1*
diff --git a/gprofng-gui-info.patch b/gprofng-gui-info.patch
new file mode 100644
index 0000000..8ecabe7
--- /dev/null
+++ b/gprofng-gui-info.patch
@@ -0,0 +1,14 @@
+--- gprofng-gui-2.0/doc/gprofng-gui.texi.orig	2025-01-23 15:49:27.000000000 +0100
++++ gprofng-gui-2.0/doc/gprofng-gui.texi	2025-03-30 09:20:56.942075439 +0200
+@@ -41,9 +41,9 @@
+ 
+ @c -- Entry for the Info dir structure ----------------------------------------
+ @ifnottex
+- at dircategory Software development
++ at dircategory Programming tools:
+ @direntry
+-* gprofng-gui: (gprofng-gui).  The GNU gprofng Graphical User Interface
++* gprofng-gui: (gprofng-gui).		The GNU gprofng Graphical User Interface
+ @end direntry
+ @end ifnottex
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gprofng-gui.git/commitdiff/0b1b2328536442d8261675ee13a370b082d6941c



More information about the pld-cvs-commit mailing list