2016-06-15 08:20:40 +02:00
|
|
|
#
|
|
|
|
# spec file for package librtas-doc
|
|
|
|
#
|
2017-04-03 11:37:51 +02:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: librtas-doc
|
2016-10-13 21:37:36 +02:00
|
|
|
Version: 2.0.1
|
2016-06-15 08:20:40 +02:00
|
|
|
Release: 0
|
2016-10-13 21:37:36 +02:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2016-06-15 08:20:40 +02:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: fdupes
|
2016-10-13 21:37:36 +02:00
|
|
|
BuildRequires: libtool
|
2016-06-15 08:20:40 +02:00
|
|
|
Summary: Documents for librtas
|
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: Documentation/Other
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
ExclusiveArch: ppc ppc64 ppc64le
|
2017-04-03 11:37:51 +02:00
|
|
|
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
|
2016-10-13 21:37:36 +02:00
|
|
|
Patch0: librtas.fix_doc_path.patch
|
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
|
2017-04-03 11:37:51 +02:00
|
|
|
%setup -n librtas-%{version}
|
2016-10-13 21:37:36 +02:00
|
|
|
%patch0 -p1
|
2016-06-15 08:20:40 +02:00
|
|
|
|
|
|
|
%build
|
2016-10-13 21:37:36 +02:00
|
|
|
./autogen.sh
|
|
|
|
%configure
|
2016-06-15 08:20:40 +02:00
|
|
|
make 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}"
|
|
|
|
rm -rf %buildroot/%_libdir
|
|
|
|
rm -rf %buildroot/%_includedir
|
|
|
|
%fdupes %buildroot/%_docdir
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2017-04-03 11:37:51 +02:00
|
|
|
%doc %{_docdir}/librtas
|
2016-06-15 08:20:40 +02:00
|
|
|
|
|
|
|
%changelog
|