Accepting request 786146 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/786146 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnet?expand=0&rev=23
This commit is contained in:
commit
9823f7120b
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 18 11:12:53 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Drop python2 bindings as they don't make sense to be built with
|
||||||
|
python2 removal
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 1 04:22:18 UTC 2018 - bwiedemann@suse.com
|
Wed Aug 1 04:22:18 UTC 2018 - bwiedemann@suse.com
|
||||||
|
|
||||||
|
34
libdnet.spec
34
libdnet.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libdnet
|
# spec file for package libdnet
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -21,8 +21,7 @@ Version: 1.12
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for Portable Interface to Low-Level Networking Routines
|
Summary: Library for Portable Interface to Low-Level Networking Routines
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/C and C++
|
URL: https://github.com/dugsong/libdnet
|
||||||
Url: https://github.com/dugsong/libdnet
|
|
||||||
Source0: https://github.com/dugsong/libdnet/archive/%{name}-%{version}.tar.gz
|
Source0: https://github.com/dugsong/libdnet/archive/%{name}-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM: properly name the dirs for new autoreconf to work
|
# PATCH-FIX-UPSTREAM: properly name the dirs for new autoreconf to work
|
||||||
Patch0: libdnet-autoreconf.patch
|
Patch0: libdnet-autoreconf.patch
|
||||||
@ -34,7 +33,6 @@ Patch2: libdnet-fortify.patch
|
|||||||
Patch3: reproducible.patch
|
Patch3: reproducible.patch
|
||||||
BuildRequires: libbsd-devel
|
BuildRequires: libbsd-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: python-devel
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libdnet provides a portable interface to several low-level
|
libdnet provides a portable interface to several low-level
|
||||||
@ -48,7 +46,6 @@ networking routines, including:
|
|||||||
|
|
||||||
%package -n libdnet1
|
%package -n libdnet1
|
||||||
Summary: Library for Portable Interface to Low-Level Networking Routines
|
Summary: Library for Portable Interface to Low-Level Networking Routines
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libdnet1
|
%description -n libdnet1
|
||||||
libdnet provides a portable interface to several low-level
|
libdnet provides a portable interface to several low-level
|
||||||
@ -62,7 +59,6 @@ networking routines, including:
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for libdnet
|
Summary: Development files for libdnet
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Requires: libdnet1 = %{version}
|
Requires: libdnet1 = %{version}
|
||||||
|
|
||||||
@ -76,14 +72,6 @@ networking routines, including:
|
|||||||
- IP tunnelling (BSD/Linux tun, Universal TUN/TAP device)
|
- IP tunnelling (BSD/Linux tun, Universal TUN/TAP device)
|
||||||
- raw IP packet and Ethernet frame transmission
|
- raw IP packet and Ethernet frame transmission
|
||||||
|
|
||||||
%package python
|
|
||||||
Summary: Python bindings for libdnet
|
|
||||||
Group: Development/Languages/Python
|
|
||||||
Requires: libdnet1 = %{version}
|
|
||||||
|
|
||||||
%description python
|
|
||||||
Dnet library Python 2 bindings.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{name}-%{version}
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
%patch0
|
%patch0
|
||||||
@ -94,31 +82,21 @@ Dnet library Python 2 bindings.
|
|||||||
%build
|
%build
|
||||||
ACLOCAL="aclocal -I config" autoreconf -fvi
|
ACLOCAL="aclocal -I config" autoreconf -fvi
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
pushd python
|
|
||||||
python setup.py build
|
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
pushd python
|
|
||||||
python setup.py install --skip-build --root %{buildroot}
|
|
||||||
popd
|
|
||||||
|
|
||||||
%post -n libdnet1 -p /sbin/ldconfig
|
%post -n libdnet1 -p /sbin/ldconfig
|
||||||
%postun -n libdnet1 -p /sbin/ldconfig
|
%postun -n libdnet1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libdnet1
|
%files -n libdnet1
|
||||||
%{_libdir}/libdnet.so.1*
|
%{_libdir}/libdnet.so.1*
|
||||||
|
|
||||||
%files python
|
|
||||||
%{python_sitearch}/*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc LICENSE README TODO THANKS
|
%license LICENSE
|
||||||
|
%doc README TODO THANKS
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%{_bindir}/dnet-config
|
%{_bindir}/dnet-config
|
||||||
%{_includedir}/dnet.h
|
%{_includedir}/dnet.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user