Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
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) 2016 SUSE LINUX 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 version_unconverted 1.3.2 Name: powerpc-utils Version: 1.3.2 Release: 0 Summary: Utilities for PowerPC Hardware License: GPL-2.0+ Group: System/Management Url: https://github.com/nfont/powerpc-utils Source0: powerpc-utils-%{version}.tar.gz Source1: nvsetenv Patch1: powerpc-utils-lsprop.patch Patch2: ofpathname_powernv.patch Patch3: systemd-dir.patch Patch4: libvirt-service-dep.patch Patch5: powerpc-utils-fix_integer_to_float_cast.patch Patch6: powerpc-utils-Include_GPL_header.patch Patch7: powerpc-utils-lparstat_Fix_segfault_when_parsing_proc_interrupts.patch Patch8: powerpc-utils-lparstat_Ignore_whitespace_at_beginning_of_proc_interrupts_SPU_line.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: librtas-devel BuildRequires: systemd-rpm-macros BuildRequires: zlib-devel Requires: bc Requires: coreutils Requires: findutils Requires: gawk Requires: grep Requires: kmod-compat Requires: systemd-sysvinit Requires: udev Requires: util-linux Recommends: powerpc-utils-python BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: ppc ppc64 ppc64le %{?systemd_requires} %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 %patch7 -p1 %patch8 -p1 %build autoreconf -fvi %configure \ --disable-silent-rules \ --with-systemd=%{buildroot}%{_unitdir} make CFLAGS="%{optflags}" %{?_smp_mflags} %install make install \ DESTDIR=%{buildroot} \ rasdir=%{_sbindir} \ mandir=%{_mandir} mkdir %{buildroot}/sbin ln -sf %{_sbindir}/lsprop %{buildroot}/sbin/lsprop install -m 755 %{SOURCE1} %{buildroot}%{_sbindir}/nvsetenv ln -sf serv_config %{buildroot}%{_sbindir}/uspchrp ln -sf %{_mandir}/man8/serv_config.8 %{buildroot}%{_mandir}/man8/uspchrp.8 ln -sf drmgr %{buildroot}%{_sbindir}/drslot_chrp_slot ln -sf drmgr %{buildroot}%{_sbindir}/drslot_chrp_pci ln -sf drmgr %{buildroot}%{_sbindir}/drslot_chrp_cpu ln -sf drmgr %{buildroot}%{_sbindir}/drslot_chrp_phb ln -sf drmgr %{buildroot}%{_sbindir}/drslot_chrp_mem ln -sf drmgr %{buildroot}%{_sbindir}/drslot_chrp_hea ln -sf drmgr %{buildroot}%{_sbindir}/drmig_chrp_pmig ln -s service %{buildroot}%{_sbindir}/rcsmt_off %pre %service_add_pre smt_off.service %post %service_add_post smt_off.service %preun %service_del_preun smt_off.service %postun %service_del_postun smt_off.service %files %defattr(-,root,root) %doc README COPYING Changelog %{_mandir}/man*/* %{_sbindir}/* %{_bindir}/* /sbin/lsprop %{_unitdir}/smt_off.service %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