SHA256
1
0
forked from pool/dynamips

Accepting request 577709 from home:avindra

- new upstream version 0.2.17
  * Set nonblocking I/O for UDP sockets
  * NM-16ESW: process packets even if MAC address table is full
- remove dos2unix, no longer needed
- use cmake macros to build

OBS-URL: https://build.opensuse.org/request/show/577709
OBS-URL: https://build.opensuse.org/package/show/Education/dynamips?expand=0&rev=47
This commit is contained in:
andrea florio 2018-02-19 11:37:25 +00:00 committed by Git OBS Bridge
parent 7dd4d21c8d
commit 15ac62a7c7
4 changed files with 28 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0fcf18d701898a77cb589bd9bad16dde436ac1ccb87516fefe07d09de1a196c0
size 832173

3
dynamips-0.2.17.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d524ef32b78dd7384775920604912d3b4b212ded338cc4df930b0086df1e81ed
size 832721

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Feb 18 08:54:40 UTC 2018 - avindra@opensuse.org
- new upstream version 0.2.17
* Set nonblocking I/O for UDP sockets
* NM-16ESW: process packets even if MAC address table is full
- remove dos2unix, no longer needed
- use cmake macros to build
-------------------------------------------------------------------
Tue Feb 28 15:50:00 UTC 2017 - mpost@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package dynamips
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -17,26 +17,23 @@
Name: dynamips
Version: 0.2.16
Version: 0.2.17
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Cisco router Emulator
License: GPL-2.0+
Group: System/Emulators/Other
Url: https://www.gns3.net
Source: https://github.com/GNS3/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch1: define-s390x-arch.patch
BuildRequires: cmake
BuildRequires: dos2unix
BuildRequires: libelf-devel
BuildRequires: libpcap-devel
Url: http://www.gns3.net
%ifarch x86_64
%if %{undefined fedora}
BuildRequires: glibc-32bit
BuildRequires: glibc-devel-32bit
%endif
%endif
Source: %{name}-%{version}.tar.gz
Patch1: define-s390x-arch.patch
Summary: Cisco router Emulator
License: GPL-2.0+
Group: System/Emulators/Other
%description
Cisco Router Emulator supported by GNS3 Community
@ -52,28 +49,22 @@ or people wanting to pass their CCNA/CCNP/CCIE exams.
%patch1 -p1
%build
mkdir build
cd build
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;
%cmake \
%ifarch x86_64
cmake -DYNAMIPS_ARCH=amd64 -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} ..
%else
cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} ..
-DYNAMIPS_ARCH=amd64 \
%endif
%__make %{?_smp_mflags}
..
%make_jobs
%install
cd build
make DESTDIR=%{buildroot} install
cd ..
dos2unix COPYING README.md README.hypervisor TODO
%cmake_install
%files
%defattr(-,root,root)
%{_bindir}/%{name}
%{_bindir}/nvram_export
%{_mandir}/man*/*
%{_mandir}/man1/%{name}.1%{ext_man}
%{_mandir}/man1/nvram_export.1%{ext_man}
%{_mandir}/man7/hypervisor_mode.7%{ext_man}
%{_datadir}/doc/%{name}
%changelog