From bb353f272404277e6c8e351a6ab320530e513d24 Mon Sep 17 00:00:00 2001 From: undefine Date: Thu, 9 Mar 2006 02:55:59 +0000 Subject: [PATCH] - initital - 0.1 - not tested yet, dunno know if any others includes programs are needed Changed files: dynamips.spec -> 1.1 --- dynamips.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 dynamips.spec diff --git a/dynamips.spec b/dynamips.spec new file mode 100644 index 0000000..ddc8bdb --- /dev/null +++ b/dynamips.spec @@ -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} -- 2.44.0