]> git.pld-linux.org Git - packages/dynamips.git/commitdiff
- initital
authorundefine <undefine@pld-linux.org>
Thu, 9 Mar 2006 02:55:59 +0000 (02:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- 0.1 - not tested yet, dunno know if any others includes programs are needed

Changed files:
    dynamips.spec -> 1.1

dynamips.spec [new file with mode: 0644]

diff --git a/dynamips.spec b/dynamips.spec
new file mode 100644 (file)
index 0000000..ddc8bdb
--- /dev/null
@@ -0,0 +1,53 @@
+Summary:       Cisco 7200 Simulator
+Summary(pl):   Symulator Cisco 7200
+Name:          dynamips
+Version:       0.2.4
+Release:       0.1
+License:       GPL
+Group:         Applications/Emulators
+Source0:       http://www.ipflow.utc.fr/dynamips/%{name}-%{version}.tar.gz
+# Source0-md5: 7b5ba42bbb466cb057bba1bc855476a9
+URL:           http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
+BuildRequires: elfutils-devel
+BuildRequires: flex
+BuildRequires: libpcap-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Cisco 7200 Simulator.
+
+%description -l pl
+Symulator Cisco 7200
+
+%prep
+%setup -q
+
+%build
+%ifarch %{x8664}
+ARCH=amd64
+%else
+%ifarch %{ix86}
+ARCH=x86
+%else
+ARCH=nojit
+%endif
+%endif
+
+%{__make} \
+       DYNAMIPS_ARCH=$ARCH \
+       CC="%{__cc}" \
+       LD=%{__ld}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
+
+install dynamips $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README ChangeLog TODO
+%attr(755,root,root) %{_bindir}/%{name}
This page took 0.086186 seconds and 4 git commands to generate.