Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
bootchart
bootchart.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bootchart.spec of Package bootchart
# # spec file for package bootchart # # Copyright (c) 2011 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/ # %define real_bootchart2_version 0.12.4 %if 0%{?suse_version} %define system_requires lsb-release python-cairo python-gtk %else %define system_requires meego-lsb %define py_sitedir /usr/lib/python2.6/site-packages %define py_libdir /usr/lib/python2.6 %endif Name: bootchart BuildRequires: python-devel BuildRequires: fdupes Url: http://www.bootchart.org License: GPL-2.0+ Group: Development/Tools/Other Summary: Boot Process Charting Application Version: 2.%{real_bootchart2_version} Release: 2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: bootchart2-%{real_bootchart2_version}.tar.bz2 Source3: mkinitrd-boot.sh Source4: mkinitrd-setup.sh Patch1: bootchart_init.patch Requires: %system_requires Requires(post): mkinitrd %description bootchart2 instruments your boot process and provides a tool to render a graph of what was happening during the boot process later. %prep %setup -q -n bootchart2-%{real_bootchart2_version} %patch1 -p1 %build export PY_LIBDIR=%py_libdir export PY_SITEDIR=%py_sitedir make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} %install export PY_LIBDIR=%py_libdir export PY_SITEDIR=%py_sitedir make install DESTDIR=$RPM_BUILD_ROOT # SUSE specific bits. ## Remove for now since they are broken, see bnc# #install -m 755 -D %SOURCE3 $RPM_BUILD_ROOT/lib/mkinitrd/scripts/boot-bootchart.sh #install -m 755 -D %SOURCE4 $RPM_BUILD_ROOT/lib/mkinitrd/scripts/setup-bootchart.sh %fdupes %{buildroot}/%{_datadir} #%post #[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup #if [ "$YAST_IS_RUNNING" != "instsys" -a \ # ! -e /.buildenv -a \ # -x /sbin/update-bootloader -a \ # -x /sbin/mkinitrd ]; then # /sbin/mkinitrd # /sbin/update-bootloader --refresh #fi #exit 0 #%postun #[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup #if [ "$YAST_IS_RUNNING" != "instsys" -a \ # ! -e /.buildenv -a \ # -x /sbin/update-bootloader -a \ # -x /sbin/mkinitrd ]; then # /sbin/mkinitrd # /sbin/update-bootloader --refresh #fi #exit 0 %files %defattr(-,root,root) %doc README COPYING %dir /lib/bootchart %dir /lib/bootchart/tmpfs /lib/bootchart/bootchart-collector /sbin/* /usr/bin/* %config(noreplace) /etc/bootchartd.conf #/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