]> git.pld-linux.org Git - packages/dynagen.git/commitdiff
- initial, not tested
authortwittner <twittner@pld-linux.org>
Tue, 11 Sep 2007 18:29:17 +0000 (18:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dynagen.spec -> 1.1

dynagen.spec [new file with mode: 0644]

diff --git a/dynagen.spec b/dynagen.spec
new file mode 100644 (file)
index 0000000..9e2d8a1
--- /dev/null
@@ -0,0 +1,61 @@
+Summary:       Cisco router emulator controller
+Summary(pl.UTF-8):     Kontroler emulatora routera Cisco
+Name:          dynagen
+Version:       0.10.1
+Release:       0.1
+License:       GPL v2
+Group:         Networking/Utilities
+Source0:       http://dl.sourceforge.net/%name}/%{name}-%{version}.tar.gz
+# Source0-md5: 4ca26e4b4b8bee61a77f92eace8404d0
+Patch0:                %{name}-debian.patch
+URL:           http://dynagen.org/
+BuildRequires: python-modules
+BuildRequires: sed >= 4.0
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Cisco 7200 Router Emulator Command Line Interface
+Dynagen is a text-based front end for Dynamips, that uses the
+Hypervisor mode for communication with Dynamips. Dynagen simplifies
+building and working with virtual networks:
+  * Uses a simple, easy to understand configuration file for specifying
+    virtual router hardware configurations
+  * Simple syntax for interconnecting routers, bridges, frame-relay and
+    ATM switches. No need to deal with NetIOs
+  * Can work in a client / server mode, with Dynagen running on your
+    workstation communicating to Dynamips running on a back-end server.
+    Dynagen can also control multiple Dynamips servers simultaneously for
+    distributing large virtual networks across several machines.
+  * Provides a management CLI for listing devices, starting, stopping,
+    reloading, suspending, and resuming virtual routers.
+
+#%description -l pl.UTF-8
+
+%prep
+%setup -q
+%patch0 -p1
+%{__sed} -i \
+       '1s|#!@PYTHON@|#!%{__python}|;
+        s|\(version = "\)@VERSION@",|\1%{version}",|;' \
+       $RPM_BUILD_DIR/%{name}-%{version}/setup.py
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install --root $RPM_BUILD_ROOT
+%{py_ocomp} $RPM_BUILD_ROOT%{py_sitescriptdir}
+%{py_postclean}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README* COPYING docs sample_labs
+%dir %{_sysconfdir}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
+%attr(755,root,root) %{_bindir}/*
+%{py_sitescriptdir}/*.py[co]
+%{_mandir}/man1/*.1*
This page took 0.064141 seconds and 4 git commands to generate.