SPECS: dynamips.spec (NEW) - initital - 0.1 - not tested yet, dunn...

undefine undefine at pld-linux.org
Thu Mar 9 03:56:04 CET 2006


Author: undefine                     Date: Thu Mar  9 02:56:04 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initital
- 0.1 - not tested yet, dunno know if any others includes programs are needed

---- Files affected:
SPECS:
   dynamips.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/dynamips.spec
diff -u /dev/null SPECS/dynamips.spec:1.1
--- /dev/null	Thu Mar  9 03:56:04 2006
+++ SPECS/dynamips.spec	Thu Mar  9 03:55:59 2006
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+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}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/03/09 02:55:59  undefine
+- initital
+- 0.1 - not tested yet, dunno know if any others includes programs are needed
+
================================================================


More information about the pld-cvs-commit mailing list