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