|
|
14894dd |
# Pre-release
|
|
|
14894dd |
#%%global git_tag 2.1.0rc3
|
|
|
14894dd |
|
|
|
14894dd |
%global git_tag %{version}
|
|
|
14894dd |
|
|
|
14894dd |
Name: gns3-gui
|
|
|
e81132b |
Version: 2.2.10
|
|
|
11227a2 |
Release: 1%{?dist}
|
|
|
14894dd |
Summary: GNS3 graphical user interface
|
|
|
14894dd |
|
|
|
14894dd |
License: GPLv3+
|
|
|
14894dd |
URL: http://gns3.com
|
|
|
14894dd |
Source0: https://github.com/GNS3/%{name}/archive/v%{git_tag}/%{name}-%{git_tag}.tar.gz
|
|
|
14894dd |
Source3: %{name}.appdata.xml
|
|
|
14894dd |
|
|
|
14894dd |
BuildArch: noarch
|
|
|
14894dd |
|
|
|
14894dd |
BuildRequires: python3-devel
|
|
|
14894dd |
BuildRequires: desktop-file-utils
|
|
|
14894dd |
BuildRequires: libappstream-glib
|
|
|
14894dd |
|
|
|
14894dd |
Requires: telnet
|
|
|
14894dd |
Requires: cpulimit
|
|
|
14894dd |
Requires: socat
|
|
|
14894dd |
Requires: python3-jsonschema
|
|
|
14894dd |
Requires: python3-raven
|
|
|
14894dd |
Requires: python3-psutil
|
|
|
14894dd |
Requires: python3-qt5
|
|
|
14894dd |
Requires: gns3-net-converter >= 1.3.0
|
|
|
14894dd |
|
|
|
14894dd |
%description
|
|
|
14894dd |
GNS3 is a graphical network simulator that allows you to design complex network
|
|
|
14894dd |
topologies. You may run simulations or configure devices ranging from simple
|
|
|
14894dd |
workstations to powerful routers.
|
|
|
14894dd |
|
|
|
14894dd |
This package contains the client graphical user interface.
|
|
|
14894dd |
|
|
|
14894dd |
%prep
|
|
|
14894dd |
%autosetup -n %{name}-%{git_tag}
|
|
|
14894dd |
|
|
|
14894dd |
# Relax strict reqs
|
|
|
14894dd |
sed -i -r 's/==/>=/g' requirements.txt
|
|
|
04bd7ea |
sed -i -r 's/sentry-sdk.*//g' requirements.txt
|
|
|
14894dd |
|
|
|
14894dd |
# Disable update alerts
|
|
|
14894dd |
sed -i 's/"check_for_update": True,/"check_for_update": False,/' gns3/settings.py
|
|
|
14894dd |
|
|
|
14894dd |
# Disable anonymous data collection
|
|
|
14894dd |
sed -i 's/"send_stats": True,/"send_stats": False,/' gns3/settings.py
|
|
|
14894dd |
|
|
|
14894dd |
%build
|
|
|
14894dd |
%py3_build
|
|
|
14894dd |
|
|
|
14894dd |
%install
|
|
|
14894dd |
%py3_install
|
|
|
14894dd |
|
|
|
14894dd |
# Remove shebang
|
|
|
14894dd |
for lib in `find %{buildroot}/%{python3_sitelib}/ -name '*.py'`; do
|
|
|
14894dd |
echo $lib
|
|
|
14894dd |
sed -i '1{\@^#!/usr/bin/env python@d}' $lib
|
|
|
14894dd |
done
|
|
|
14894dd |
|
|
|
14894dd |
# Remove empty files
|
|
|
14894dd |
find %{buildroot}/%{python3_sitelib}/ -name '.keep' -type f -delete
|
|
|
14894dd |
|
|
|
14894dd |
# Remove exec perm
|
|
|
14894dd |
find %{buildroot}/%{python3_sitelib}/ -type f -exec chmod -x {} \;
|
|
|
14894dd |
|
|
|
14894dd |
# AppData
|
|
|
14894dd |
mkdir -p %{buildroot}/%{_datadir}/appdata/
|
|
|
14894dd |
install -m 644 %{SOURCE3} %{buildroot}/%{_datadir}/appdata/
|
|
|
14894dd |
|
|
|
7013ce8 |
|
|
|
14894dd |
%check
|
|
|
14894dd |
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
|
|
|
7013ce8 |
desktop-file-validate %{buildroot}%{_datadir}/applications/gns3*.desktop
|
|
|
14894dd |
|
|
|
14894dd |
|
|
|
14894dd |
%files
|
|
|
14894dd |
%license LICENSE
|
|
|
14894dd |
%doc README.rst AUTHORS CHANGELOG
|
|
|
14894dd |
%{python3_sitelib}/gns3/
|
|
|
14894dd |
%{python3_sitelib}/gns3_gui*.egg-info/
|
|
|
14894dd |
%{_bindir}/gns3
|
|
|
95cbc4e |
%{_datadir}/applications/gns3*.desktop
|
|
|
95cbc4e |
%{_datadir}/icons/hicolor/*/apps/*gns3*
|
|
|
95cbc4e |
%{_datadir}/icons/hicolor/*/mimetypes/*-gns3*
|
|
|
95cbc4e |
%{_datadir}/mime/packages/gns3-gui.xml
|
|
|
14894dd |
%{_datadir}/appdata/%{name}.appdata.xml
|
|
|
14894dd |
|
|
|
14894dd |
%changelog
|
|
|
e81132b |
* Tue Jun 30 2020 Nicolas Chauvet <kwizart@gmail.com> - 2.2.10-1
|
|
|
e81132b |
- Update to 2.2.10
|
|
|
e81132b |
|
|
|
11227a2 |
* Fri Jun 05 2020 Nicolas Chauvet <kwizart@gmail.com> - 2.2.9-1
|
|
|
11227a2 |
- Update to 2.2.9
|
|
|
11227a2 |
|
|
|
b13fc46 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.2.7-2
|
|
|
b13fc46 |
- Rebuilt for Python 3.9
|
|
|
b13fc46 |
|
|
|
f8d32a4 |
* Fri Apr 10 2020 Nicolas Chauvet <kwizart@gmail.com> - 2.2.7-1
|
|
|
f8d32a4 |
- Update to 2.2.7
|
|
|
f8d32a4 |
|
|
|
7013ce8 |
* Thu Mar 26 2020 Nicolas Chauvet <kwizart@gmail.com> - 2.2.6-1
|
|
|
7013ce8 |
- Update to 2.2.6
|
|
|
7013ce8 |
- Drop duplicate desktop entry
|
|
|
7013ce8 |
|
|
|
a862e3c |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-2
|
|
|
a862e3c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
a862e3c |
|
|
|
95cbc4e |
* Mon Jan 20 2020 Nicolas Chauvet <kwizart@gmail.com> - 2.2.5-1
|
|
|
95cbc4e |
- Update to 2.2.5
|
|
|
95cbc4e |
|
|
|
fa4ec3f |
* Thu Jan 09 2020 Nicolas Chauvet <kwizart@gmail.com> - 2.1.20-1
|
|
|
fa4ec3f |
- Update to 2.1.20
|
|
|
fa4ec3f |
|
|
|
14894dd |
* Wed Sep 18 2019 Rex Dieter <rdieter@fedoraproject.org> - 2.1.16-5
|
|
|
14894dd |
- drop dep on python3-sip
|
|
|
14894dd |
|
|
|
14894dd |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.16-4
|
|
|
14894dd |
- Rebuilt for Python 3.8
|
|
|
14894dd |
|
|
|
14894dd |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.16-3
|
|
|
14894dd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
14894dd |
|
|
|
14894dd |
* Sat Apr 27 2019 Athmane Madjoudj <athmane@fedoraproject.org> - 2.1.16-2
|
|
|
14894dd |
- Relax strict reqs
|
|
|
14894dd |
|
|
|
14894dd |
* Sat Apr 27 2019 Athmane Madjoudj <athmane@fedoraproject.org> - 2.1.16-1
|
|
|
14894dd |
- Update to 2.1.16 (rhbz #1668653 #1668654)
|
|
|
14894dd |
|
|
|
14894dd |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.11-3
|
|
|
14894dd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
14894dd |
|
|
|
14894dd |
* Sat Nov 17 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 2.1.11-2
|
|
|
14894dd |
- Add missing PyQt dep
|
|
|
14894dd |
|
|
|
14894dd |
* Sat Nov 17 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 2.1.112.1.11-11
|
|
|
14894dd |
- Update to 2.1.11 (rhbz #1581506)
|
|
|
14894dd |
|
|
|
14894dd |
* Wed Jul 18 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 2.1.8-1
|
|
|
14894dd |
- Update to 2.1.8 (rhbz #1581506)
|
|
|
14894dd |
|
|
|
14894dd |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.5-3
|
|
|
14894dd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
14894dd |
|
|
|
14894dd |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.1.5-2
|
|
|
14894dd |
- Rebuilt for Python 3.7
|
|
|
14894dd |
|
|
|
14894dd |
* Sat Apr 21 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 2.1.5-1
|
|
|
14894dd |
- Update to 2.1.5 (rhbz #1569275)
|
|
|
14894dd |
|
|
|
14894dd |
* Sun Mar 18 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 2.1.4-1
|
|
|
14894dd |
- Update to 2.1.4 (rhbz #1554315)
|
|
|
14894dd |
|
|
|
14894dd |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-2
|
|
|
14894dd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
14894dd |
|
|
|
14894dd |
* Sun Jan 21 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 2.1.3-1
|
|
|
14894dd |
- Update to 2.1.3 (rhbz #1536428)
|
|
|
14894dd |
|
|
|
14894dd |
* Thu Jan 18 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 2.1.2-1
|
|
|
14894dd |
- Update to 2.1.2 (rhbz #1532421)
|
|
|
14894dd |
- Disable anonymous data collection
|
|
|
14894dd |
|
|
|
14894dd |
* Sat Dec 30 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.1.1-1
|
|
|
14894dd |
- Update to 2.1.1 (rhbz #1528825)
|
|
|
14894dd |
|
|
|
14894dd |
* Mon Nov 20 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.1.0-1
|
|
|
14894dd |
- Update to 2.1.0 final
|
|
|
14894dd |
|
|
|
14894dd |
* Sat Nov 04 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.1.0-0.rc3
|
|
|
14894dd |
- Update to 2.1.0-0.rc3
|
|
|
14894dd |
|
|
|
14894dd |
* Sun Oct 15 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.1.0-0.rc1
|
|
|
14894dd |
- Update to 2.1.0 RC1
|
|
|
14894dd |
- Fix appdata
|
|
|
14894dd |
|
|
|
14894dd |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-3
|
|
|
14894dd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
14894dd |
|
|
|
14894dd |
* Sun Jul 23 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.0.3-2
|
|
|
14894dd |
- Disable update alert
|
|
|
14894dd |
|
|
|
14894dd |
* Sat Jul 15 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.0.3-1
|
|
|
14894dd |
- Update to 2.0.3
|
|
|
14894dd |
|
|
|
14894dd |
* Sat May 13 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.0.0-2
|
|
|
14894dd |
- Update files section
|
|
|
14894dd |
|
|
|
14894dd |
* Fri May 12 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.0.0-1
|
|
|
14894dd |
- Update to 2.0.0
|
|
|
14894dd |
|
|
|
14894dd |
* Fri Apr 14 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 1.5.4-1
|
|
|
14894dd |
- Update to 1.5.4
|
|
|
14894dd |
|
|
|
14894dd |
* Sat Apr 01 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 1.5.3-1
|
|
|
14894dd |
- Update to 1.5.3
|
|
|
14894dd |
|
|
|
14894dd |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-3
|
|
|
14894dd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
14894dd |
|
|
|
14894dd |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.5.2-2
|
|
|
14894dd |
- Rebuild for Python 3.6
|
|
|
14894dd |
|
|
|
14894dd |
* Sun Sep 11 2016 Athmane Madjoudj <athmane@fedoraproject.org> - 1.5.2-1
|
|
|
14894dd |
- Update to 1.5.2
|
|
|
14894dd |
|
|
|
14894dd |
* Fri Aug 05 2016 Athmane Madjoudj <athmane@fedoraproject.org> - 1.5.1-2
|
|
|
14894dd |
- Fix appdata
|
|
|
14894dd |
|
|
|
14894dd |
* Tue Aug 02 2016 Athmane Madjoudj <athmane@fedoraproject.org> - 1.5.1-1
|
|
|
14894dd |
- Update to 1.5.1
|
|
|
14894dd |
- Fix the url
|
|
|
14894dd |
|
|
|
14894dd |
* Tue Aug 02 2016 Athmane Madjoudj <athmane@fedoraproject.org> - 1.5.0-2
|
|
|
14894dd |
- Minor spec fixes
|
|
|
14894dd |
- Provide AppData
|
|
|
14894dd |
|
|
|
14894dd |
* Tue Jul 05 2016 Athmane Madjoudj <athmane@fedoraproject.org> - 1.5.0-1
|
|
|
14894dd |
- Initial spec
|