]> git.pld-linux.org Git - packages/bootchart2.git/blob - bootchart2.spec
- updated to 0.14.5
[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.5
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:  eecd1a57892a27792cfeed55fdf8409b
10 URL:            https://github.com/mmeeks/bootchart
11 BuildRequires:  python
12 BuildRequires:  rpmbuild(macros) >= 1.641
13 Requires(post,preun,postun):    systemd-units >= 38
14 Requires:       systemd-units >= 38
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 A tool for performance analysis and visualization of the GNU/Linux
19 boot process. Resource utilization and process information are
20 collected during the boot process and are later rendered in a PNG, SVG
21 or EPS encoded chart.
22
23 %description -l pl.UTF-8
24 Narzędzie do analizy i wizualizacji wydajności procesu startu systemu
25 GNU/Linux. Podczas startu systemu zbirane są informacje o procesach i
26 wykorzystaniu zasobów, a następnie są przedstawiane w postaci wykresu
27 w formacie PNG, SVG lub EPS.
28
29 %package gui
30 Summary:        GUI for bootchart2
31 Group:          Base
32 Requires:       python-pycairo
33 Requires:       python-pygobject
34 Requires:       python-pygtk-gtk
35
36 %description gui
37 A tool which renders the output of the boot-logger tool bootchart2 to
38 either the screen or files in PNG, SVF or EPS encoded chart.
39
40 %description -l pl.UTF-8
41 Narzędzie tworzące wykres wyświetlany na ekranie lub zapisywany do
42 plików w formacie PNG, SVG lub EPS na podstawie danych dostarczonych
43 przez bootchart2.
44
45 %prep
46 %setup -q
47
48 %build
49 %{__make} \
50         CC="%{__cc}" \
51         CFLAGS="%{rpmcflags}"
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         NO_PYTHON_COMPILE=1 \
58         PY_LIBDIR=%{py_scriptdir} \
59         SYSTEMD_UNIT_DIR=%{systemdunitdir} \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %post
63 %systemd_post bootchart.service
64
65 %preun
66 %systemd_preun bootchart.service
67
68 %postun
69 %systemd_reload
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc AUTHORS NEWS README TODO
77 %attr(755,root,root) /sbin/bootchartd
78 %dir /lib/bootchart
79 %dir /lib/bootchart/tmpfs
80 %attr(755,root,root) /lib/bootchart/bootchart-collector
81 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bootchartd.conf
82 %{systemdunitdir}/bootchart-done.service
83 %{systemdunitdir}/bootchart-done.timer
84 %{systemdunitdir}/bootchart.service
85 %{_mandir}/man1/bootchart2.1*
86 %{_mandir}/man1/bootchartd.1*
87
88 %files gui
89 %defattr(644,root,root,755)
90 %doc README.pybootchart
91 %attr(755,root,root) %{_bindir}/pybootchartgui
92 %{_mandir}/man1/pybootchartgui.1*
93 %{py_sitescriptdir}/pybootchartgui
This page took 0.130804 seconds and 3 git commands to generate.