]>
Commit | Line | Data |
---|---|---|
bb353f27 | 1 | Summary: Cisco 7200 Simulator |
c5d05096 | 2 | Summary(pl.UTF-8): Symulator Cisco 7200 |
bb353f27 | 3 | Name: dynamips |
4 | Version: 0.2.4 | |
5 | Release: 0.1 | |
6 | License: GPL | |
7 | Group: Applications/Emulators | |
8 | Source0: http://www.ipflow.utc.fr/dynamips/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 7b5ba42bbb466cb057bba1bc855476a9 | |
10 | URL: http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator | |
11 | BuildRequires: elfutils-devel | |
12 | BuildRequires: flex | |
13 | BuildRequires: libpcap-devel | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | Cisco 7200 Simulator. | |
18 | ||
c5d05096 | 19 | %description -l pl.UTF-8 |
912df868 | 20 | Symulator Cisco 7200. |
bb353f27 | 21 | |
22 | %prep | |
23 | %setup -q | |
24 | ||
25 | %build | |
26 | %ifarch %{x8664} | |
27 | ARCH=amd64 | |
28 | %else | |
29 | %ifarch %{ix86} | |
30 | ARCH=x86 | |
31 | %else | |
32 | ARCH=nojit | |
33 | %endif | |
34 | %endif | |
35 | ||
36 | %{__make} \ | |
37 | DYNAMIPS_ARCH=$ARCH \ | |
38 | CC="%{__cc}" \ | |
912df868 | 39 | LD="%{__ld}" |
bb353f27 | 40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}} | |
44 | ||
45 | install dynamips $RPM_BUILD_ROOT%{_bindir} | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc README ChangeLog TODO | |
53 | %attr(755,root,root) %{_bindir}/%{name} |