]> git.pld-linux.org Git - packages/GNS3.git/commitdiff
- added documentation and requires
authortwittner <twittner@pld-linux.org>
Sun, 4 Nov 2007 16:34:17 +0000 (16:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    GNS3.spec -> 1.2

GNS3.spec

index ebb189411c2b4633800560d7f8a4dff0bca9c86b..540e1847d10d4e64ea5a93bc43465363781eb927 100644 (file)
--- a/GNS3.spec
+++ b/GNS3.spec
@@ -2,17 +2,21 @@ Summary:      A graphical frontend for dynamips Cisco 7200 Simulator
 #Summary(pl.UTF-8):    -
 Name:          GNS3
 Version:       0.3.2
-Release:       0.1
+Release:       0.2
 License:       GPL v2
 Group:         X11/Applications/Networking
 Source0:       http://dl.sourceforge.net/gns-3/%{name}-%{version}-src.tar.bz2
 # Source0-md5: 795d6082beaab80755f54890630e96a1
-Source1:       %{name}.desktop
-Source2:       %{name}.png
+Source1:       http://pfe.epitech.net/frs/download.php/599/%{name}-%{version}_documentation.pdf
+# Source1-md5: 0c9cd5c97d0f19f4c00f4e3abd316c87
+Source2:       %{name}.desktop
+Source3:       %{name}.png
 Patch0:                %{name}-version.patch
 URL:           http://www.gns3.net/
 BuildRequires: python >= 2.4
 BuildRequires: rpmbuild(macros) >= 1.231
+Requires:      dynagen
+Requires:      dynamips >= 0.2.8
 Requires:      python-PyQt4
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -29,6 +33,7 @@ binary images from Cisco Systems.
 
 %prep
 %setup -q
+install %{SOURCE1} .
 
 %build
 
@@ -44,8 +49,8 @@ python ./setup.py install \
 # remove .py files, leave just compiled ones.
 %{py_postclean}
 
-install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
-install -D %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+install -D %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+install -D %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
 install -D {docs/man,$RPM_BUILD_ROOT%{_mandir}/man1}/gns3.1
 
 %clean
@@ -53,7 +58,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGELOG README
+%doc AUTHORS CHANGELOG README %{name}-%{version}_documentation.pdf
 %attr(755,root,root) %{_bindir}/*
 %dir %{py_sitescriptdir}/%{name}
 %dir %{py_sitescriptdir}/%{name}/Config 
This page took 0.153002 seconds and 4 git commands to generate.