librtas/librtas-doc.spec
Marcus Meissner 1d05bfa7fe Accepting request 1127728 from home:michals
- Update to version 2.0.5 (jsc#PED-554)
  * librtas: fix buffer length determination in rtas_set_sysparm()
  * librtasevent: 'format' function attribute for printf-style functions
  * convert PAGE_SIZE to WORK_AREA_SIZE

OBS-URL: https://build.opensuse.org/request/show/1127728
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librtas?expand=0&rev=65
2023-11-23 16:23:28 +00:00

57 lines
1.7 KiB
RPMSpec

#
# spec file for package librtas-doc
#
# Copyright (c) 2023 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/
#
Name: librtas-doc
Version: 2.0.5
Release: 0
Summary: Documents for librtas
License: LGPL-2.1-or-later
Group: Documentation/Other
URL: https://github.com/ibm-power-utilities/librtas
Source0: https://github.com/ibm-power-utilities/librtas/archive/v%{version}.tar.gz#/librtas-%{version}.tar.gz
Patch0: librtas.fix_doc_path.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: libtool
ExclusiveArch: ppc ppc64 ppc64le
%description
This package provides librtas documentation
%prep
%autosetup -p1 -n librtas-%{version}
%build
./autogen.sh
%configure
%make_build CFLAGS="%{optflags} -fPIC -g -I $PWD/librtasevent_src" LIB_DIR="%{_libdir}"
%install
rm -rf doc/*/latex
make install DESTDIR=%{buildroot} LIB_DIR="%{_libdir}"
rm -rf %{buildroot}/%{_libdir}
rm -rf %{buildroot}/%{_includedir}
%fdupes %{buildroot}/%{_docdir}
%files
%doc %{_docdir}/librtas
%changelog