]>
Commit | Line | Data |
---|---|---|
fece4e71 | 1 | Summary: A graphical frontend for dynamips Cisco 7200 Simulator |
bd47f9ec | 2 | Summary(pl.UTF-8): Graficzny interfejs do dynamips - symulatora Cisco 7200 |
fece4e71 | 3 | Name: GNS3 |
4 | Version: 0.3.2 | |
08c073b2 | 5 | Release: 0.3 |
fece4e71 | 6 | License: GPL v2 |
7 | Group: X11/Applications/Networking | |
8 | Source0: http://dl.sourceforge.net/gns-3/%{name}-%{version}-src.tar.bz2 | |
9 | # Source0-md5: 795d6082beaab80755f54890630e96a1 | |
08fcbf42 | 10 | Source1: http://pfe.epitech.net/frs/download.php/599/%{name}-%{version}_documentation.pdf |
11 | # Source1-md5: 0c9cd5c97d0f19f4c00f4e3abd316c87 | |
12 | Source2: %{name}.desktop | |
13 | Source3: %{name}.png | |
08c073b2 | 14 | Patch0: %{name}-setup.patch |
fece4e71 | 15 | URL: http://www.gns3.net/ |
fece4e71 | 16 | BuildRequires: rpmbuild(macros) >= 1.231 |
4e58866b | 17 | BuildRequires: rpm-pythonprov |
08fcbf42 | 18 | Requires: dynagen |
19 | Requires: dynamips >= 0.2.8 | |
fece4e71 | 20 | Requires: python-PyQt4 |
21 | BuildArch: noarch | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | GNS-3 is a graphical network simulator that allows you to design | |
26 | complex network topologies. You may run simulations or configure | |
27 | devices ranging from simple workstations to powerful Cisco routers. It | |
28 | is based on NS-3, a discrete-event network simulator for Internet | |
29 | systems, and Dynamips, an IOS emulator which allows users to run IOS | |
30 | binary images from Cisco Systems. | |
31 | ||
bd47f9ec JB |
32 | %description -l pl.UTF-8 |
33 | GNS-3 to graficzny symulator sieci umożliwiający projektowanie | |
34 | złożonych topologii sieci. Pozwala uruchamiać symulacje lub | |
35 | konfigurować urządzenia od prostych stacji roboczych do potężnych | |
36 | routerów Cisco. Jest oparty na NS-3 - symulatorze sieci ze zdarzeniami | |
37 | dyskretnymi do systemów internetowych oraz Dynamisie - emulatorze | |
38 | IOS-a pozwalającym użytkownikom uruchamiać binarne obrazy IOS-a z | |
39 | Cisco Systems. | |
fece4e71 | 40 | |
41 | %prep | |
42 | %setup -q | |
08c073b2 | 43 | %patch0 -p1 |
08fcbf42 | 44 | install %{SOURCE1} . |
fece4e71 | 45 | |
fece4e71 | 46 | %install |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | python ./setup.py install \ | |
50 | --root=$RPM_BUILD_ROOT | |
51 | ||
52 | # compile the scripts | |
08c073b2 | 53 | #{py_ocomp} $RPM_BUILD_ROOT%{py_sitescriptdir} |
fece4e71 | 54 | |
55 | # remove .py files, leave just compiled ones. | |
56 | %{py_postclean} | |
57 | ||
08fcbf42 | 58 | install -D %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop |
59 | install -D %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png | |
bd47f9ec | 60 | install -D docs/man/gns3.1 $RPM_BUILD_ROOT%{_mandir}/man1/gns3.1 |
fece4e71 | 61 | |
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %files | |
66 | %defattr(644,root,root,755) | |
08fcbf42 | 67 | %doc AUTHORS CHANGELOG README %{name}-%{version}_documentation.pdf |
fece4e71 | 68 | %attr(755,root,root) %{_bindir}/* |
69 | %dir %{py_sitescriptdir}/%{name} | |
70 | %dir %{py_sitescriptdir}/%{name}/Config | |
71 | %dir %{py_sitescriptdir}/%{name}/Dynagen | |
72 | %dir %{py_sitescriptdir}/%{name}/External | |
73 | %dir %{py_sitescriptdir}/%{name}/Globals | |
74 | %dir %{py_sitescriptdir}/%{name}/Langs | |
75 | %dir %{py_sitescriptdir}/%{name}/Link | |
76 | %dir %{py_sitescriptdir}/%{name}/Node | |
77 | %dir %{py_sitescriptdir}/%{name}/Ui/ConfigurationPages | |
78 | %dir %{py_sitescriptdir}/%{name}/Ui | |
79 | %{py_sitescriptdir}/%{name}/*.py[co] | |
80 | %{py_sitescriptdir}/%{name}/*/*.py[co] | |
81 | %{py_sitescriptdir}/%{name}/*/*/*.py[co] | |
08c073b2 | 82 | %{py_sitescriptdir}/%{name}/Dynagen/dynagen.ini |
83 | %{py_sitescriptdir}/%{name}/Dynagen/configspec | |
fece4e71 | 84 | %{_mandir}/man1/gns3.1* |
85 | %{_desktopdir}/%{name}.desktop | |
86 | %{_pixmapsdir}/%{name}.png | |
87 | %lang(de) %{py_sitescriptdir}/%{name}/Langs/Lang_de.qm | |
88 | %lang(en) %{py_sitescriptdir}/%{name}/Langs/Lang_en.qm | |
89 | %lang(fr) %{py_sitescriptdir}/%{name}/Langs/Lang_fr.qm |