Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
bootchart
bootchart.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bootchart.spec of Package bootchart
# # spec file for package bootchart (Version 0.9) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: bootchart BuildRequires: fdupes python-devel sysstat Url: http://www.bootchart.org License: GPL v2 or later Group: Development/Tools/Other Summary: Boot Process Charting Application Version: 0.9 Release: 295 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %name-%{version}.tar.bz2 Source2: mkinitrd-boot.sh Source3: mkinitrd-setup.sh Source4: README.SUSE Source5: pybootchartgui-r124.tar.bz2 Patch0: pybootchartgui-r124.diff Patch1: %name-%version.diff Requires: acct python-cairo python-gtk Requires(post): mkinitrd %description bootchart patches your boot process and allows it to giva a graphical representation of what processes are running during the boot process. Authors: -------- Ziga Mahkovec <ziga.mahkovec@klika.si> %prep %setup -q -a 5 %patch0 %patch1 -p1 %build %install mkdir -p $RPM_BUILD_ROOT/lib/bootchart/mnt install -m 755 -D script/bootchartd $RPM_BUILD_ROOT/sbin/bootchartd install -m 644 -D script/bootchartd.conf $RPM_BUILD_ROOT/etc/bootchartd.conf #install -m 755 -D script/bootchart $RPM_BUILD_ROOT/usr/bin/bootchart install -d $RPM_BUILD_ROOT/usr/share/bootchart install -m 755 -D %SOURCE2 $RPM_BUILD_ROOT/lib/mkinitrd/scripts/boot-bootchart.sh install -m 755 -D %SOURCE3 $RPM_BUILD_ROOT/lib/mkinitrd/scripts/setup-bootchart.sh cp -a svg $RPM_BUILD_ROOT/usr/share/bootchart cp %SOURCE4 . cd pybootchartgui-r*/ install -d $RPM_BUILD_ROOT%py_sitedir/pybootchartgui cp pybootchartgui/*.py $RPM_BUILD_ROOT%py_sitedir/pybootchartgui install -D -m 755 pybootchartgui.py $RPM_BUILD_ROOT%_bindir/pybootchartgui pushd $RPM_BUILD_ROOT%py_sitedir/pybootchartgui python %py_libdir/py_compile.py *.py PYTHONOPTIMIZE=1 python %py_libdir/py_compile.py *.py popd %fdupes %post [ -x /sbin/mkinitrd_setup ] && mkinitrd_setup # not done automatically on purpose echo "REMINDER: run mkinitrd after installation" exit 0 %postun [ -x /sbin/mkinitrd_setup ] && mkinitrd_setup echo "REMINDER: run mkinitrd before reboot" exit 0 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING INSTALL README README.logger TODO README.SUSE /lib/bootchart /sbin/* /usr/bin/* %config(noreplace) /etc/bootchartd.conf /usr/share/bootchart /lib/mkinitrd %py_sitedir/pybootchartgui %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor