[svn] r6077 - in trunk/rpms: . dynagen dynamips
packagers at lists.rpmforge.net
packagers at lists.rpmforge.net
Thu Jan 3 20:21:09 CET 2008
Author: dries
Date: 2008-01-03 20:19:41 +0100 (Thu, 03 Jan 2008)
New Revision: 6077
Added:
trunk/rpms/dynagen/
trunk/rpms/dynagen/dynagen.spec
trunk/rpms/dynamips/
trunk/rpms/dynamips/dynamips.spec
Log:
add
Added: trunk/rpms/dynagen/dynagen.spec
===================================================================
--- trunk/rpms/dynagen/dynagen.spec (rev 0)
+++ trunk/rpms/dynagen/dynagen.spec 2008-01-03 19:19:41 UTC (rev 6077)
@@ -0,0 +1,55 @@
+# $Id$
+# Authority: dries
+
+Summary: Dynamips Configuration Generator
+Name: dynagen
+Version: 0.10.1
+Release: 1
+License: GPL
+Group: Applications/Emulators
+URL: http://www.dynagen.org/
+
+Source: http://dl.sf.net/dyna-gen/dynagen-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+Buildarch: noarch
+Requires: python, dynamips
+
+%description
+Dynagen is a front-end for use with the Dynamips Cisco router emulator. It
+uses an INI-like configuration file to provision Dynamips emulator networks.
+It takes care of specifying the right port adapters, generating and matching
+up those pesky NIO descriptors, specifying bridges, frame-relay, ATM switches,
+etc. It also provides a management CLI for listing devices, suspending and
+reloading instances, determining and managing idle-pc values, performing
+packet captures, etc.
+
+%prep
+%setup
+%{__perl} -pi.orig -e 's|/usr/bin/env|/bin/env|g;' dynagen *.py
+%{__cat} <<EOF >dynagen-shellscript
+#!/bin/bash
+PYTHONPATH=%{_datadir}/dynagen python %{_datadir}/dynagen/dynagen \$@
+EOF
+
+%build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__install} -d -m0755 %{buildroot}%{_bindir} %{buildroot}%{_datadir}/dynagen
+%{__install} -m0755 dynagen-shellscript %{buildroot}%{_bindir}/dynagen
+%{__install} -m0755 configobj.py configspec console.py dynagen dynagen.ini dynamips_lib.py validate.py %{buildroot}%{_datadir}/dynagen/
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc COPYING README.txt
+%doc docs/* sample_labs
+%{_bindir}/dynagen
+%{_datadir}/dynagen/
+
+%changelog
+* Thu Jan 3 2008 Dries Verachtert <dries at ulyssis.org> - 0.10.1-1
+- Initial package.
Added: trunk/rpms/dynamips/dynamips.spec
===================================================================
--- trunk/rpms/dynamips/dynamips.spec (rev 0)
+++ trunk/rpms/dynamips/dynamips.spec 2008-01-03 19:19:41 UTC (rev 6077)
@@ -0,0 +1,56 @@
+# $Id$
+# Authority: dries
+
+Summary: Cisco simulator
+Name: dynamips
+Version: 0.2.7
+Release: 1
+License: GPL
+Group: Applications/Emulators
+URL: http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
+
+Source: http://www.ipflow.utc.fr/dynamips/dynamips-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: libpcap-devel
+
+%description
+The goals of this emulator are mainly:
+ * To be used as a training platform, with software used in real world. It
+ would allow people to become more familiar with Cisco devices, Cisco
+ being the world leader in networking technologies ;
+ * Test and experiment the numerous and powerful features of Cisco IOS ;
+ * Check quickly configurations to be deployed later on real routers.
+
+Of course, this emulator cannot replace a real router: you should be able to
+get a performance of about 1 kpps (depending on your host machine), to be
+compared to the 100 kpps delivered by a NPE-100 (the oldest NPE model). So,
+it is simply a complementary tool to real labs for administrators of Cisco
+networks or people wanting to pass their CCNA/CCNP/CCIE exams.
+
+%prep
+%setup
+%{__perl} -pi.orig -e 's|DESTDIR\)/man|DESTDIR)%{_mandir}|g; s|DESTDIR\)/bin|DESTDIR)%{_bindir}|g;' Makefile
+
+%build
+%{__make} %{?_smp_mflags} PCAP_LIB=-lpcap
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc ChangeLog COPYING README* TODO
+%doc %{_mandir}/man1/dynamips.1*
+%doc %{_mandir}/man1/nvram_export.1*
+%doc %{_mandir}/man7/hypervisor_mode.7*
+%{_bindir}/dynamips
+%{_bindir}/nvram_export
+
+%changelog
+* Thu Jan 3 2008 Dries Verachtert <dries at ulyssis.org> - 0.2.7-1
+- Initial package.
More information about the svn-commits
mailing list