2016-06-15 08:20:40 +02:00
|
|
|
#
|
|
|
|
# spec file for package librtas-doc
|
|
|
|
#
|
2024-02-01 09:49:01 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2016-06-15 08:20:40 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-09-15 16:00:15 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-06-15 08:20:40 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: librtas-doc
|
2023-11-23 17:23:28 +01:00
|
|
|
Version: 2.0.5
|
2016-06-15 08:20:40 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Documents for librtas
|
2019-09-15 16:00:15 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2016-06-15 08:20:40 +02:00
|
|
|
Group: Documentation/Other
|
2022-01-12 16:59:08 +01:00
|
|
|
URL: https://github.com/ibm-power-utilities/librtas
|
2017-04-03 11:37:51 +02:00
|
|
|
Source0: https://github.com/ibm-power-utilities/librtas/archive/v%{version}.tar.gz#/librtas-%{version}.tar.gz
|
2024-01-04 17:53:48 +01:00
|
|
|
Source2: activate-firmware-regress
|
|
|
|
Source3: vpdupdate-regress
|
2016-10-13 21:37:36 +02:00
|
|
|
Patch0: librtas.fix_doc_path.patch
|
2024-01-04 17:53:48 +01:00
|
|
|
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
|
2023-01-24 18:41:14 +01:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: libtool
|
2024-01-04 17:53:48 +01:00
|
|
|
BuildRequires: pkgconfig
|
2023-01-24 18:41:14 +01:00
|
|
|
ExclusiveArch: ppc ppc64 ppc64le
|
2016-06-15 08:20:40 +02:00
|
|
|
|
2017-04-03 11:37:51 +02:00
|
|
|
%description
|
2016-06-15 08:20:40 +02:00
|
|
|
This package provides librtas documentation
|
|
|
|
|
|
|
|
%prep
|
2023-01-24 18:41:14 +01:00
|
|
|
%autosetup -p1 -n librtas-%{version}
|
2016-06-15 08:20:40 +02:00
|
|
|
|
|
|
|
%build
|
2016-10-13 21:37:36 +02:00
|
|
|
./autogen.sh
|
|
|
|
%configure
|
2024-01-04 17:53:48 +01:00
|
|
|
make -O V=1 VERBOSE=1 CFLAGS="%{optflags} -fPIC -g -I $PWD/librtasevent_src" LIB_DIR="%{_libdir}" %{?_smp_mflags}
|
2016-06-15 08:20:40 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf doc/*/latex
|
2023-01-24 18:41:14 +01:00
|
|
|
make install DESTDIR=%{buildroot} LIB_DIR="%{_libdir}"
|
|
|
|
rm -rf %{buildroot}/%{_libdir}
|
|
|
|
rm -rf %{buildroot}/%{_includedir}
|
|
|
|
%fdupes %{buildroot}/%{_docdir}
|
2016-06-15 08:20:40 +02:00
|
|
|
|
|
|
|
%files
|
2017-04-03 11:37:51 +02:00
|
|
|
%doc %{_docdir}/librtas
|
2016-06-15 08:20:40 +02:00
|
|
|
|
|
|
|
%changelog
|