]> git.pld-linux.org Git - packages/dynamips.git/blob - dynamips.spec
- up to 0.2.5
[packages/dynamips.git] / dynamips.spec
1 Summary:        Cisco 7200 Simulator
2 Summary(pl.UTF-8):      Symulator Cisco 7200
3 Name:           dynamips
4 Version:        0.2.5
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:  b87ef442f7537373ccbe69c3f6dca301
10 Patch0:         %{name}-Makefile.patch
11 URL:            http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
12 BuildRequires:  elfutils-devel
13 BuildRequires:  flex
14 BuildRequires:  libpcap-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Cisco 7200 Simulator.
19
20 %description -l pl.UTF-8
21 Symulator Cisco 7200.
22
23 %prep
24 %setup -q
25 %patch0 -p0
26
27 %build
28 %ifarch %{x8664}
29 ARCH=amd64
30 %else
31 %ifarch %{ix86}
32 ARCH=x86
33 %else
34 ARCH=nojit
35 %endif
36 %endif
37
38 %{__make} \
39         DYNAMIPS_ARCH=$ARCH \
40         CC="%{__cc}" \
41         LD="%{__ld}"
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
46
47 install dynamips $RPM_BUILD_ROOT%{_bindir}
48
49 %clean
50 rm -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.048933 seconds and 3 git commands to generate.