Marcus Meissner
5897227aa6
- version update to 2.0.0 (bsc#981294) * SO version change from 1 -> 2 * generate static libraries * minor fixes (see Changelog) This is a merge of package from SUSE:SLE-12-SP2:GA (and Leap 42.2) and the doc split already present in this devel project. OBS-URL: https://build.opensuse.org/request/show/404975 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librtas?expand=0&rev=39
55 lines
1.6 KiB
RPMSpec
55 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package librtas-doc
|
|
#
|
|
# Copyright (c) 2016 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: librtas-doc
|
|
Version: 2.0.0
|
|
Release: 0
|
|
BuildRequires: doxygen
|
|
BuildRequires: fdupes
|
|
Summary: Documents for librtas
|
|
License: LGPL-2.1+
|
|
Group: Documentation/Other
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
ExclusiveArch: ppc ppc64 ppc64le
|
|
Url: https://github.com/nfont/librtas
|
|
Source0: librtas-%{version}.tar.gz
|
|
Patch: librtas-failedmagic.patch
|
|
|
|
%description
|
|
This package provides librtas documentation
|
|
|
|
%prep
|
|
%setup -n librtas-%{version}
|
|
%patch
|
|
|
|
%build
|
|
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)
|
|
%doc %{_docdir}/librtas
|
|
|
|
%changelog
|