Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory
librtas
librtas.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File librtas.spec of Package librtas
# # spec file for package librtas # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define sover 2 Name: librtas Version: 2.0.5 Release: 0 Summary: Libraries to provide access to RTAS calls and RTAS events License: LGPL-2.1-or-later Group: System/Libraries URL: https://github.com/ibm-power-utilities/librtas Source0: https://github.com/ibm-power-utilities/librtas/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: baselibs.conf Source2: activate-firmware-regress Source3: vpdupdate-regress Patch0: librtas.fix_doc_path.patch Patch1: 0001-librtas-expose-low-level-RTAS-call-APIs-internally.patch Patch2: 0002-librtas-move-VPD-code-into-separate-module.patch Patch3: 0003-librtas-move-system-parameter-code-to-separate-modul.patch Patch4: 0004-librtas-vendor-papr-miscdev.h.patch Patch5: 0005-librtas-vpd-prefer-dev-papr-vpd-when-available.patch Patch6: 0006-librtas-sysparm-prefer-dev-papr-sysparm-when-availab.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig ExclusiveArch: ppc ppc64 ppc64le %description The librtas shared library provides userspace with an interface through which certain RTAS calls can be made. The library uses either of the RTAS User Module or the RTAS system call to direct the kernel in making these calls. The librtasevent shared library provides users with a set of definitions and common routines useful in parsing and dumping the contents of RTAS events. %package devel Summary: Devel librtas files Group: Development/Libraries/C and C++ BuildRequires: pkgconfig Requires: %{name}%{sover} = %{version} %description devel This package provides devel files of librtas %package devel-static Summary: Static librtas files Group: Development/Libraries/C and C++ Requires: %{name}%{sover} = %{version} %description devel-static This package provides devel files of librtas %package -n %{name}%{sover} Summary: Libraries to provide access to RTAS calls and RTAS events Group: System/Libraries %description -n %{name}%{sover} The librtas shared library provides userspace with an interface through which certain RTAS calls can be made. The library uses either of the RTAS User Module or the RTAS system call to direct the kernel in making these calls. The librtasevent shared library provides users with a set of definitions and common routines useful in parsing and dumping the contents of RTAS events. %prep %autosetup -p1 %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects ./autogen.sh %configure make -O V=1 VERBOSE=1 CFLAGS="%{optflags} -fPIC -g -I $PWD/librtasevent_src" LIB_DIR="%{_libdir}" %{?_smp_mflags} %install rm -rf doc/*/latex make install DESTDIR=%{buildroot} LIB_DIR="%{_libdir}" # documents are in -doc subpackage rm -rf %{buildroot}%{_docdir} /sbin/ldconfig -n %{buildroot}%{_libdir} chmod -x %{buildroot}%{_libdir}/*.a find %{buildroot} -type f -name "*.la" -delete -print install -v -m 755 -D -t %{buildroot}%{_docdir}/%{name} %{SOURCE2} %{SOURCE3} %post -n %{name}%{sover} -p /sbin/ldconfig %postun -n %{name}%{sover} -p /sbin/ldconfig %files -n %{name}%{sover} %license COPYING.LESSER %doc Changelog README %{_libdir}/lib*.so.* %files devel %license COPYING.LESSER %{_docdir}/%{name} %{_libdir}/librtasevent.so %{_libdir}/librtas.so %{_includedir}/librtas.h %{_includedir}/librtasevent.h %{_includedir}/librtasevent_v4.h %{_includedir}/librtasevent_v6.h %files devel-static %license COPYING.LESSER %{_libdir}/librtas.a %{_libdir}/librtasevent.a %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