Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.1:Rings:1-MinimalX
iprutils
iprutils.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File iprutils.spec of Package iprutils
# # spec file for package iprutils # # Copyright (c) 2015 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/ # Name: iprutils # NOTE: package's changelog is hidden in % changelog section # in file iprutils/spec/iprutils.spec Version: 2.4.8 Release: 0 Summary: Utilities for the IBM Power Linux RAID Adapters License: CPL-1.0 Group: Hardware/Other Url: http://sourceforge.net/projects/iprdd/ Source0: https://downloads.sourceforge.net/project/iprdd/iprutils%20for%202.6%20kernels/%{version}/%{name}-%{version}.tar.gz BuildRequires: libncurses5 BuildRequires: ncurses-devel BuildRequires: pciutils-devel BuildRequires: pkg-config BuildRequires: python BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(glib-2.0) BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch0: iprutils.fix_ncurses_cflags_var.patch ExclusiveArch: %ix86 x86_64 ia64 ppc ppc64 ppc64le %arm %systemd_requires %description Provides a suite of utilities to manage and configure SCSI devices supported by the ipr SCSI storage device driver. %prep %setup -q %patch0 -p1 %build export CPPFLAGS="$(ncurses5-config --cflags)" export LDFLAGS="$(ncurses5-config --libs)" %configure --sbindir=%{_sbindir} --libdir=%{_libdir} --disable-static make %install make DESTDIR=%{buildroot} install install -d $RPM_BUILD_ROOT/%{_unitdir} cp ./systemd/iprinit.service $RPM_BUILD_ROOT/%{_unitdir}/iprinit.service cp ./systemd/iprdump.service $RPM_BUILD_ROOT/%{_unitdir}/iprdump.service cp ./systemd/iprupdate.service $RPM_BUILD_ROOT/%{_unitdir}/iprupdate.service ln -s /sbin/service %{buildroot}/usr/sbin/rciprdump ln -s /sbin/service %{buildroot}/usr/sbin/rciprinit ln -s /sbin/service %{buildroot}/usr/sbin/rciprupdate # get rid of .in files rm -rf %{buildroot}/%{_datadir}/iprutils rm -f %{buildroot}/%{_sysconfdir}/ha.d/resource.d/*.in #don't package sosreport plugin rm -rf %{buildroot}/%{python_sitelib}/sos %pre %service_add_pre iprdump.service %service_add_pre iprinit.service %service_add_pre iprupdate.service %post %service_add_post iprdump.service %service_add_post iprinit.service %service_add_post iprupdate.service %preun %service_del_preun iprdump.service %service_del_preun iprinit.service %service_del_preun iprupdate.service %postun %service_del_postun iprdump.service %service_del_postun iprinit.service %service_del_postun iprupdate.service %files %defattr(-,root,root,-) %doc README LICENSE %{_sbindir}/iprconfig %{_sbindir}/iprdump %{_sbindir}/iprupdate %{_sbindir}/iprinit %{_sbindir}/iprdbg %{_sbindir}/iprsos %{_mandir}/man8/* %{_sysconfdir}/ha.d %{_sysconfdir}/ha.d/resource.d %{_sysconfdir}/ha.d/resource.d/iprha %{_sysconfdir}/bash_completion.d/* %{_unitdir}/* %{_sbindir}/rciprdump %{_sbindir}/rciprinit %{_sbindir}/rciprupdate %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