OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnl-doc?expand=0&rev=7
56 lines
1.7 KiB
RPMSpec
56 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package libnl-doc
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: libnl-doc
|
|
%define uver 3_9_0
|
|
Version: 3.9.0
|
|
Release: 0
|
|
Summary: Documentation for libnl, a library for working with Netlink sockets
|
|
License: GPL-3.0-only
|
|
Group: Documentation/HTML
|
|
URL: http://www.carisma.slowglass.com/~tgr/libnl/
|
|
|
|
#Git-Clone: https://github.com/thom311/libnl/
|
|
#Mailing-List: http://lists.infradead.org/mailman/listinfo/libnl
|
|
Source: https://github.com/thom311/libnl/releases/download/libnl%uver/libnl-doc-%version.tar.gz
|
|
Source2: https://github.com/thom311/libnl/releases/download/libnl%uver/libnl-doc-%version.tar.gz.sig
|
|
BuildArch: noarch
|
|
BuildRequires: fdupes
|
|
|
|
%description
|
|
The libnl suite is a collection of libraries providing APIs to
|
|
Netlink protocol based Linux kernel interfaces.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
|
|
%install
|
|
b="%buildroot"
|
|
rm -Rf build-aux configure.ac
|
|
find . -name .gitignore -delete
|
|
mkdir -p "$b/%_docdir"
|
|
cp -a . "$b/%_docdir/%name"
|
|
%fdupes %buildroot/%_prefix
|
|
|
|
%files
|
|
%_docdir/%name
|
|
|
|
%changelog
|