forked from pool/dynamips
osc copypac from project:home:elvigia package:dynamips revision:10
OBS-URL: https://build.opensuse.org/package/show/Education/dynamips?expand=0&rev=2
This commit is contained in:
parent
73141122b1
commit
085aee8beb
@ -1,13 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 22 17:37:20 CEST 2008 - lars@linux-schulserver.de
|
||||
|
||||
- moved to Education base repository
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 13 10:22:47 CEST 2008 - andrea@opensuse.org
|
||||
|
||||
- Moved to Education Repository
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 20 21:22:47 CEST 2008 - crrodriguez@suse.de
|
||||
|
||||
|
@ -1,68 +1,52 @@
|
||||
#
|
||||
# spec file for package dynamips
|
||||
#
|
||||
# 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.
|
||||
|
||||
# norootforbuild
|
||||
#norootforbuild
|
||||
|
||||
%define pkg_extraver RC2
|
||||
|
||||
Name: dynamips
|
||||
Summary: Cisco router Emulator
|
||||
Group: Productivity/Networking/Other
|
||||
Version: 0.2.8.RC2
|
||||
Url: http://www.ipflow.utc.fr/
|
||||
%define realversion 0.2.8
|
||||
Name: dynamips
|
||||
Version: 0.2.8
|
||||
Release: 1
|
||||
License: GPL
|
||||
Packager: Andrea Florio <andrea@opensuse.org>
|
||||
Vendor: openSUSE-Education
|
||||
BuildRequires: libelf-devel libpcap-devel
|
||||
Source: %{name}-%{realversion}-%{pkg_extraver}.tar.bz2
|
||||
Patch0: dynamips-0.2.8-RC2-make.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libelf-devel libpcap-devel
|
||||
Source: %{name}-%{version}-%{pkg_extraver}.tar.bz2
|
||||
Group: Emulators
|
||||
Summary: Cisco router Emulator
|
||||
Patch0: dynamips-0.2.8-RC2-make.patch
|
||||
|
||||
%description
|
||||
Dynamips emulates Cisco 7200/3600/3725/3745/2600/1700 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. For a Command Line
|
||||
Interface for dynamips see dynagen or gns3 package.
|
||||
|
||||
|
||||
|
||||
|
||||
Cisco Router Emulator
|
||||
|
||||
%debug_package
|
||||
%prep
|
||||
%setup -q -n %{name}-%{realversion}-%{pkg_extraver}
|
||||
|
||||
%setup -q -n %{name}-%{version}-%{pkg_extraver}
|
||||
%patch0
|
||||
|
||||
%ifarch x86_64
|
||||
%{__sed} -i -e 's@=x86@=amd64@g' Makefile
|
||||
%endif
|
||||
|
||||
%build
|
||||
|
||||
CFLAGS="%{optflags} -I/usr/include/libelf -fno-strict-aliasing"
|
||||
CXXFLAGS="%{optflags} -I/usr/include/libelf -fno-strict-aliasing"
|
||||
%if 0%{?suse_version} > 1000
|
||||
CFLAGS="$CFLAGS -fstack-protector"
|
||||
CXXFLAGS="$CXXFLAGS -fstack-protector"
|
||||
%endif
|
||||
|
||||
export CFLAGS
|
||||
export CXXFLAGS
|
||||
%{__make} %{?jobs:-j%{jobs}}
|
||||
|
||||
|
||||
%{__make}
|
||||
|
||||
%install
|
||||
%{makeinstall}
|
||||
|
||||
%{__make} install DESTDIR=%{buildroot} mandir=%{_mandir} bindir=%{_bindir}
|
||||
|
||||
%clean
|
||||
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
@ -70,5 +54,3 @@ export CXXFLAGS
|
||||
%{_bindir}/dynamips
|
||||
%{_bindir}/nvram_export
|
||||
%{_mandir}/man?/*.?.gz
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user