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