From: undefine Date: Thu, 9 Mar 2006 02:55:59 +0000 (+0000) Subject: - initital X-Git-Tag: auto/th/dynamips-0_2_8-0_RC2_2~9 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=bb353f272404277e6c8e351a6ab320530e513d24;p=packages%2Fdynamips.git - initital - 0.1 - not tested yet, dunno know if any others includes programs are needed Changed files: dynamips.spec -> 1.1 --- bb353f272404277e6c8e351a6ab320530e513d24 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}