[packages/bootchart2] Up to 0.14.9
arekm
arekm at pld-linux.org
Wed May 20 15:05:31 CEST 2026
commit 5c00f7525d225b2179c6aa69f2fac52c8330a76a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed May 20 15:05:15 2026 +0200
Up to 0.14.9
bootchart2.spec | 45 ++++++++++++++++++++++++++-------------------
1 file changed, 26 insertions(+), 19 deletions(-)
---
diff --git a/bootchart2.spec b/bootchart2.spec
index e95193b..3cc7454 100644
--- a/bootchart2.spec
+++ b/bootchart2.spec
@@ -1,14 +1,14 @@
Summary: Boot Process Performance Visualization
Summary(pl.UTF-8): Wizualizacja wydajności procesu startu systemu
Name: bootchart2
-Version: 0.14.5
-Release: 2
+Version: 0.14.9
+Release: 1
License: GPL v2
Group: Base
-Source0: https://github.com/downloads/mmeeks/bootchart/%{name}-%{version}.tar.bz2
-# Source0-md5: eecd1a57892a27792cfeed55fdf8409b
-URL: https://github.com/mmeeks/bootchart
-BuildRequires: python
+Source0: https://github.com/xrmx/bootchart/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 7c8bdc1c720a69a4e31b4d86e579f060
+URL: https://github.com/xrmx/bootchart
+BuildRequires: python3
BuildRequires: rpmbuild(macros) >= 1.641
Requires(post,preun,postun): systemd-units >= 38
Requires: systemd-units >= 38
@@ -29,41 +29,48 @@ w formacie PNG, SVG lub EPS.
%package gui
Summary: GUI for bootchart2
Group: Base
-Requires: python-pycairo
-Requires: python-pygobject
-Requires: python-pygtk-gtk
+Requires: python3-pycairo
+Requires: python3-pygobject3
%description gui
A tool which renders the output of the boot-logger tool bootchart2 to
either the screen or files in PNG, SVF or EPS encoded chart.
-%description -l pl.UTF-8
+%description gui -l pl.UTF-8
Narzędzie tworzące wykres wyświetlany na ekranie lub zapisywany do
plików w formacie PNG, SVG lub EPS na podstawie danych dostarczonych
przez bootchart2.
%prep
-%setup -q
+%setup -q -n bootchart-%{version}
+%{__sed} -i -e '1s,#!.*python.*,#!%{__python3},' pybootchartgui.py
%build
%{__make} \
CC="%{__cc}" \
- CFLAGS="%{rpmcflags}"
+ CFLAGS="%{rpmcflags}" \
+ CPPFLAGS="%{rpmcppflags}" \
+ LDFLAGS="%{rpmldflags}"
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
NO_PYTHON_COMPILE=1 \
- PY_LIBDIR=%{py_scriptdir} \
+ PYTHON=%{__python3} \
+ PY_LIBDIR=%{py3_sitescriptdir} \
+ PY_SITEDIR=%{py3_sitescriptdir} \
SYSTEMD_UNIT_DIR=%{systemdunitdir} \
DESTDIR=$RPM_BUILD_ROOT
+# drop upstream docs dir; %doc handles README files
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/docs
+
%post
-%systemd_post bootchart.service
+%systemd_post bootchart2.service
%preun
-%systemd_preun bootchart.service
+%systemd_preun bootchart2.service
%postun
%systemd_reload
@@ -79,9 +86,9 @@ rm -rf $RPM_BUILD_ROOT
%dir /lib/bootchart/tmpfs
%attr(755,root,root) /lib/bootchart/bootchart-collector
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bootchartd.conf
-%{systemdunitdir}/bootchart-done.service
-%{systemdunitdir}/bootchart-done.timer
-%{systemdunitdir}/bootchart.service
+%{systemdunitdir}/bootchart2-done.service
+%{systemdunitdir}/bootchart2-done.timer
+%{systemdunitdir}/bootchart2.service
%{_mandir}/man1/bootchart2.1*
%{_mandir}/man1/bootchartd.1*
@@ -90,4 +97,4 @@ rm -rf $RPM_BUILD_ROOT
%doc README.pybootchart
%attr(755,root,root) %{_bindir}/pybootchartgui
%{_mandir}/man1/pybootchartgui.1*
-%{py_sitescriptdir}/pybootchartgui
+%{py3_sitescriptdir}/pybootchartgui
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bootchart2.git/commitdiff/5c00f7525d225b2179c6aa69f2fac52c8330a76a
More information about the pld-cvs-commit
mailing list