Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Staging:B
powerpc-utils
powerpc-utils.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File powerpc-utils.spec of Package powerpc-utils
# # spec file for package powerpc-utils # # Copyright (c) 2015 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/ # Name: powerpc-utils Requires: /sbin/modprobe Requires: /sbin/shutdown Requires: bc Requires: coreutils Requires: findutils Requires: gawk Requires: grep Requires: udev Requires: util-linux Recommends: powerpc-utils-python BuildRequires: librtas-devel BuildRequires: zlib-devel Version: 1.2.26 Release: 0 Url: http://sourceforge.net/projects/powerpc-utils Summary: Utilities for PowerPC Hardware License: CPL-1.0 Group: System/Management PreReq: %insserv_prereq %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: powerpc-utils-%{version}.tar.gz Source1: nvsetenv Patch1: powerpc-utils-lsprop.patch Patch2: ofpathname_powernv.patch Patch3: powerpc-utils.bug-936383_snap-deprecated_warning_sles.patch Patch4: powerpc-utils.bug-945968_allocate-workarea-memory-instead-of-using-stac.patch Patch5: powerpc-utils.bug-945968_drmgr-Combine-the-init_node-and-examine_child-routin.patch Patch6: powerpc-utils.bug-948430-drmgr-Generate-error-message-when-PHB-is-not-found.patch ExclusiveArch: ppc ppc64 ppc64le %description The powerpc-utils package provides a set of tools and utilities and utilities for maintaining and enabling certain features of Linux on Power. %prep %setup -q %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %build %configure make CFLAGS="%optflags" %{?jobs:-j%jobs} %install make install \ DESTDIR=%buildroot \ rasdir=/usr/sbin \ mandir=%{_mandir} mkdir %buildroot/sbin mv %buildroot/usr/sbin/lsprop %buildroot/sbin install -m 755 %{SOURCE1} %buildroot%{_sbindir}/nvsetenv ln -sf /usr/sbin/serv_config %buildroot/usr/sbin/uspchrp ln -sf /usr/share/man/man8/serv_config.8 %buildroot/usr/share/man/man8/uspchrp.8 ln -sf /usr/sbin/drmgr %buildroot/usr/sbin/drslot_chrp_slot ln -sf /usr/sbin/drmgr %buildroot/usr/sbin/drslot_chrp_pci ln -sf /usr/sbin/drmgr %buildroot/usr/sbin/drslot_chrp_cpu ln -sf /usr/sbin/drmgr %buildroot/usr/sbin/drslot_chrp_phb ln -sf /usr/sbin/drmgr %buildroot/usr/sbin/drslot_chrp_mem ln -sf /usr/sbin/drmgr %buildroot/usr/sbin/drslot_chrp_hea ln -sf /usr/sbin/drmgr %buildroot/usr/sbin/drmig_chrp_pmig %files %defattr(-,root,root) %doc README COPYRIGHT Changelog %{_mandir}/man*/* %{_sbindir}/* %{_bindir}/* /sbin/lsprop %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