2011-09-16 15:11:10 +02:00
|
|
|
#
|
|
|
|
# spec file for package dynamips
|
|
|
|
#
|
2018-02-19 12:37:25 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-09-16 15:11:10 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2008-09-22 17:39:15 +02:00
|
|
|
|
2011-09-16 15:11:10 +02:00
|
|
|
Name: dynamips
|
2018-02-19 12:37:25 +01:00
|
|
|
Version: 0.2.17
|
2012-07-26 17:27:42 +02:00
|
|
|
Release: 0
|
2018-02-19 12:37:25 +01:00
|
|
|
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
|
2014-11-30 15:15:54 +01:00
|
|
|
BuildRequires: cmake
|
2014-05-11 20:16:05 +02:00
|
|
|
BuildRequires: libelf-devel
|
2012-07-26 17:27:42 +02:00
|
|
|
BuildRequires: libpcap-devel
|
2011-04-11 16:59:47 +02:00
|
|
|
%ifarch x86_64
|
2014-02-19 19:16:17 +01:00
|
|
|
%if %{undefined fedora}
|
2014-02-19 19:35:22 +01:00
|
|
|
BuildRequires: glibc-32bit
|
2014-05-11 17:08:29 +02:00
|
|
|
BuildRequires: glibc-devel-32bit
|
2014-02-19 19:16:17 +01:00
|
|
|
%endif
|
2011-04-11 16:59:47 +02:00
|
|
|
%endif
|
2008-09-22 17:39:15 +02:00
|
|
|
|
|
|
|
%description
|
2011-04-11 16:59:47 +02:00
|
|
|
Cisco Router Emulator supported by GNS3 Community
|
2008-09-22 17:39:15 +02:00
|
|
|
|
2011-04-11 17:02:09 +02:00
|
|
|
Dynamips emulates Cisco 7200/3600/3725/3745/2691 Routers on a traditional PC.
|
|
|
|
You can use dynamips to create labs. It uses IOS Images (which are not part
|
|
|
|
of this package). Of course, this emulator cannot replace a real router. It is
|
|
|
|
simply a complementary tool to real labs for administrators of Cisco networks
|
|
|
|
or people wanting to pass their CCNA/CCNP/CCIE exams.
|
|
|
|
|
2008-09-22 17:39:15 +02:00
|
|
|
%prep
|
2014-04-01 11:53:04 +02:00
|
|
|
%setup -q
|
2017-02-28 17:12:15 +01:00
|
|
|
%patch1 -p1
|
2008-09-22 17:39:15 +02:00
|
|
|
|
|
|
|
%build
|
2018-02-19 12:37:25 +01:00
|
|
|
%cmake \
|
2014-02-19 19:35:22 +01:00
|
|
|
%ifarch x86_64
|
2018-02-19 12:37:25 +01:00
|
|
|
-DYNAMIPS_ARCH=amd64 \
|
2014-02-19 19:35:22 +01:00
|
|
|
%endif
|
2018-02-19 12:37:25 +01:00
|
|
|
..
|
|
|
|
%make_jobs
|
2008-09-22 17:39:15 +02:00
|
|
|
|
|
|
|
%install
|
2018-02-19 12:37:25 +01:00
|
|
|
%cmake_install
|
2008-09-22 17:39:15 +02:00
|
|
|
|
|
|
|
%files
|
2014-07-11 11:48:15 +02:00
|
|
|
%{_bindir}/%{name}
|
2008-09-22 17:39:15 +02:00
|
|
|
%{_bindir}/nvram_export
|
2018-02-19 12:37:25 +01:00
|
|
|
%{_mandir}/man1/%{name}.1%{ext_man}
|
|
|
|
%{_mandir}/man1/nvram_export.1%{ext_man}
|
|
|
|
%{_mandir}/man7/hypervisor_mode.7%{ext_man}
|
2014-07-11 11:48:15 +02:00
|
|
|
%{_datadir}/doc/%{name}
|
2011-09-16 15:11:10 +02:00
|
|
|
|
|
|
|
%changelog
|