Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
gns3
gns3.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gns3.spec of Package gns3
# # spec file for package gns3 # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: gns3 Summary: GNS3 is a graphical network simulator Version: 0.7.4 Release: 26 License: GPLv2 Url: http://www.gns3.net/ Group: Productivity/Networking/Other Source0: GNS3-%{version}-src.tar.bz2 Source1: %{name}.png Source2: http://kent.dl.sourceforge.net/sourceforge/gns-3/GNS3-0.5-tutorial.pdf Source3: %{name}.xml Source4: %{name}.desktop Source5: application-x-%{name}.png BuildRequires: python-devel BuildRequires: libqt4-devel BuildRequires: libosip2-devel BuildRequires: python-sip BuildRequires: python-qt4 BuildRequires: hicolor-icon-theme BuildRequires: desktop-file-utils BuildRequires: dos2unix BuildRequires: update-desktop-files Requires: python-qt4 Requires: python-sip Requires: dynamips Recommends: wireshark Recommends: qemu Recommends: vde2 Provides: GNS3 = %version Obsoletes: GNS3 < %version %{py_requires} BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GNS3 is a excellent complementary tool to real labs for administrators of Cisco networks or people wanting to pass their CCNA, CCNP, CCIP or CCIE certifications. It can also be used to experiment features of Cisco IOS or to check configurations that need to be deployed later on real routers. Important notice: users must provide their own Cisco IOS to use GNS3. %prep %setup -q -n GNS3-%{version}-src %build %__cp %SOURCE2 . %{__python} setup.py build %install %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT --prefix /usr %__mkdir_p %buildroot/%_datadir/%{name} %__cp -R qemuwrapper %buildroot/%_datadir/%{name}/ %__mkdir_p %buildroot/%_datadir/icons/hicolor/48x48/mimetypes/ %__mkdir_p %buildroot/%_datadir/mime/packages/ %__mkdir_p %buildroot/%_datadir/applications/ %__mkdir_p %buildroot/%_datadir/pixmaps %__mkdir_p %buildroot/%_mandir/man1/ %__cp %SOURCE1 %buildroot/%_datadir/pixmaps %__cp %SOURCE3 %buildroot/%_datadir/mime/packages/%{name}.xml %__cp %SOURCE4 %buildroot/%_datadir/applications/ %__cp %SOURCE5 %buildroot/%_datadir/icons/hicolor/48x48/mimetypes/application-x-%{name}.png %__cp docs/man/gns3.1 %buildroot/%_mandir/man1/ %suse_update_desktop_file %{name} chmod -x CHANGELOG README TODO LICENSE AUTHORS dos2unix README %clean rm -rf $RPM_BUILD_ROOT %post /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : /usr/bin/update-desktop-database %postun /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : /usr/bin/update-desktop-database %files %defattr(-, root, root, 0755) %doc CHANGELOG README TODO LICENSE AUTHORS GNS3-0.5-tutorial.pdf %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %{_datadir}/%{name} %{_datadir}/icons/hicolor/48x48/mimetypes/application-x-%{name}.png %{_datadir}/mime/packages/%{name}.xml %{_mandir}/man1/* %dir %{python_sitelib}/GNS3 %{python_sitelib}/GNS3/* %{python_sitelib}/GNS3-%{version}-py%{py_ver}.egg-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor