]> git.pld-linux.org Git - packages/bootchart2.git/blame - bootchart2.spec
- rel 1; R:systemd-init, install rework, files
[packages/bootchart2.git] / bootchart2.spec
CommitLineData
3bb862c3
AF
1Summary: Boot Process Performance Visualization
2Summary(pl.UTF-8): Wizualizacja wydajności procesu startu systemu
3Name: bootchart2
4Version: 0.14.2
2af7bb4e 5Release: 1
3bb862c3
AF
6License: GPL v2
7Group: Base
8Source0: https://github.com/downloads/mmeeks/bootchart/%{name}-%{version}.tar.bz2
9# Source0-md5: 298487b2bda897e974f9862f0a0ad0ee
10URL: https://github.com/mmeeks/bootchart
11BuildRequires: python
2af7bb4e 12Requires: systemd-init
3bb862c3
AF
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16A tool for performance analysis and visualization of the GNU/Linux
17boot process. Resource utilization and process information are
18collected during the boot process and are later rendered in a PNG, SVG
19or EPS encoded chart.
20
21%description -l pl.UTF-8
22Narzędzie do analizy i wizualizacji wydajności procesu startu systemu
23GNU/Linux. Podczas startu systemu zbirane są informacje o procesach i
24wykorzystaniu zasobów, a następnie są przedstawiane w postaci wykresu
25w formacie PNG, SVG lub EPS.
26
27%package gui
28Summary: GUI for bootchart2
29Group: Base
2af7bb4e
BZ
30Requires: python-pycairo
31Requires: python-pygobject
32Requires: python-pygtk-gtk
3bb862c3
AF
33
34%description gui
35A tool for performance analysis and visualization of the GNU/Linux
36boot process. Resource utilization and process information are
37collected during the boot process and are later rendered in a PNG, SVG
38or EPS encoded chart.
39
40%prep
41%setup -q
42
43%build
44%{__make} \
3bb862c3
AF
45 CC="%{__cc}" \
46 CFLAGS="%{rpmcflags}"
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
2af7bb4e
BZ
52 NO_PYTHON_COMPILE=1 \
53 PY_LIBDIR=%{py_scriptdir} \
54 SYSTEMD_UNIT_DIR=%{systemdunitdir} \
3bb862c3
AF
55 DESTDIR=$RPM_BUILD_ROOT
56
2af7bb4e
BZ
57%post
58%systemd_post
59%systemd_enable bootchart.service
60
61%preun
62%systemd_preun bootchart.service
63
64%postun
65%systemd_postun bootchart.service
66
3bb862c3
AF
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
71%defattr(644,root,root,755)
72%attr(755,root,root) /sbin/bootchartd
2af7bb4e
BZ
73%dir /lib/bootchart
74%dir /lib/bootchart/tmpfs
3bb862c3 75%attr(755,root,root) /lib/bootchart/bootchart-collector
2af7bb4e 76%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bootchartd.conf
3bb862c3
AF
77%{systemdunitdir}/bootchart-done.service
78%{systemdunitdir}/bootchart-done.timer
79%{systemdunitdir}/bootchart.service
80%{_mandir}/man1/bootchart2.1*
81%{_mandir}/man1/bootchartd.1*
82
83%files gui
84%defattr(644,root,root,755)
85%attr(755,root,root) %{_bindir}/pybootchartgui
86%{_mandir}/man1/pybootchartgui.1*
87%{py_sitescriptdir}/pybootchartgui
This page took 0.237067 seconds and 4 git commands to generate.