forked from pool/libmnl
Autobuild autoformatter for 51715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmnl?expand=0&rev=2
This commit is contained in:
parent
9c549ae494
commit
9c679de3ad
56
libmnl.spec
56
libmnl.spec
@ -1,21 +1,39 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libmnl (Version 0+git86)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2010 SUSE LINUX Products 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.
|
||||||
|
|
||||||
Name: libmnl
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Name: libmnl
|
||||||
%define soname 0
|
%define soname 0
|
||||||
Version: 0+git86
|
Version: 0+git86
|
||||||
Release: 0
|
Release: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Productivity/Networking/Security
|
Group: Productivity/Networking/Security
|
||||||
URL: http://netfilter.org/projects/libmnl/
|
Url: http://netfilter.org/projects/libmnl/
|
||||||
Source: %name-%version.tar.xz
|
Source: %name-%version.tar.xz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: pkg-config >= 0.19, xz
|
BuildRequires: pkg-config >= 0.19 xz
|
||||||
%if 0%{?suse_version} < 1130
|
%if 0%{?suse_version} < 1130
|
||||||
BuildRequires: linux-kernel-headers
|
BuildRequires: linux-kernel-headers
|
||||||
%else
|
%else
|
||||||
BuildRequires: linux-glibc-devel
|
BuildRequires: linux-glibc-devel
|
||||||
%endif
|
%endif
|
||||||
Summary: Minimalistic Netlink communication library
|
Summary: Minimalistic Netlink communication library
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libmnl is a minimalistic user-space library oriented to Netlink
|
libmnl is a minimalistic user-space library oriented to Netlink
|
||||||
@ -27,8 +45,9 @@ that allows you to re-use code and to avoid re-inventing the wheel.
|
|||||||
%define debug_package_requires %name%soname = %version-%release
|
%define debug_package_requires %name%soname = %version-%release
|
||||||
|
|
||||||
%package -n %name%soname
|
%package -n %name%soname
|
||||||
Group: System/Libraries
|
|
||||||
Summary: Minimalistic Netlink communication library
|
Group: System/Libraries
|
||||||
|
Summary: Minimalistic Netlink communication library
|
||||||
|
|
||||||
%description -n %name%soname
|
%description -n %name%soname
|
||||||
libmnl is a minimalistic user-space library oriented to Netlink
|
libmnl is a minimalistic user-space library oriented to Netlink
|
||||||
@ -38,9 +57,10 @@ and easy to get wrong. This library aims to provide simple helpers
|
|||||||
that allows you to re-use code and to avoid re-inventing the wheel.
|
that allows you to re-use code and to avoid re-inventing the wheel.
|
||||||
|
|
||||||
%package -n %name-devel
|
%package -n %name-devel
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: %name%soname = %version
|
Group: Development/Libraries/C and C++
|
||||||
Summary: Development files for libmnl
|
Requires: %name%soname = %version
|
||||||
|
Summary: Development files for libmnl
|
||||||
|
|
||||||
%description -n %name-devel
|
%description -n %name-devel
|
||||||
libmnl is a minimalistic user-space library oriented to Netlink
|
libmnl is a minimalistic user-space library oriented to Netlink
|
||||||
|
Loading…
Reference in New Issue
Block a user