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