]> git.pld-linux.org Git - packages/dynamips.git/blame - dynamips.spec
- up to 0.2.7
[packages/dynamips.git] / dynamips.spec
CommitLineData
bb353f27 1Summary: Cisco 7200 Simulator
acae03fd 2Summary(pl.UTF-8): Symulator Cisco 7200
bb353f27 3Name: dynamips
225f7a24 4Version: 0.2.7
bb353f27 5Release: 0.1
6License: GPL
7Group: Applications/Emulators
8Source0: http://www.ipflow.utc.fr/dynamips/%{name}-%{version}.tar.gz
225f7a24 9# Source0-md5: 0fe1875bb4e7e3624ca420dd75c85279
5ee2ba72 10Patch0: %{name}-Makefile.patch
225f7a24 11Patch1: %{name}-debian.patch
bb353f27 12URL: http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
13BuildRequires: elfutils-devel
14BuildRequires: flex
15BuildRequires: libpcap-devel
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Cisco 7200 Simulator.
20
c5d05096 21%description -l pl.UTF-8
912df868 22Symulator Cisco 7200.
bb353f27 23
24%prep
25%setup -q
225f7a24 26%patch0 -p1
27%patch1 -p1
bb353f27 28
29%build
30%ifarch %{x8664}
31ARCH=amd64
32%else
33%ifarch %{ix86}
34ARCH=x86
35%else
36ARCH=nojit
37%endif
38%endif
39
40%{__make} \
41 DYNAMIPS_ARCH=$ARCH \
42 CC="%{__cc}" \
912df868 43 LD="%{__ld}"
bb353f27 44
45%install
46rm -rf $RPM_BUILD_ROOT
47install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
48
49install dynamips $RPM_BUILD_ROOT%{_bindir}
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
56%doc README ChangeLog TODO
57%attr(755,root,root) %{_bindir}/%{name}
This page took 0.083086 seconds and 4 git commands to generate.