%bcond_without check Name: vpcs Version: 0.8.5 Release: 1%{?dist} Summary: Virtual PC Simulator License: BSD-2-Clause URL: https://github.com/GNS3/vpcs/ Source0: https://github.com/GNS3/vpcs/archive/refs/tags/v%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: make BuildRequires: gcc %description VPCS simulates up to nine virtual PCs. It supports network diagnostic commands, including ping and trace route. %prep %autosetup -p1 %build export CFLAGS="%{optflags}" export LDFLAGS="%{build_ldflags}" cd src/ ./mk.sh %install mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1/ install -m 755 src/%{name} %{buildroot}%{_bindir} install -m 644 man/%{name}.1 %{buildroot}%{_mandir}/man1/ %check %if %{with check} # Smoke test: execute the binary and check the installed manual. %{buildroot}%{_bindir}/%{name} -v set -- %{buildroot}%{_mandir}/man1/%{name}.1* test -f "$1" %endif %files %license COPYING %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %doc readme.txt %changelog * Mon Nov 02 2026 hhlp <2659606+hhlp@users.noreply.github.com> - 0.8.5-1 - Bump version to 0.8.5, based on GNS3 VPCS repository * Wed Aug 12 2026 Tsvetan Gerov - 0.8.4-1 - Bump version to 0.8.4, based on GNS3 VPCS Repoistory * Tue Nov 07 2023 Tsvetan Gerov - 0.8.3-1 - Bump version to 0.8.3, based on GNS3 VPCS Repoistory * Wed Nov 17 2021 Tsvetan Gerov - 0.8.2-1 - Bump version to 0.8.2, based on GNS3 VPCS Repoistory * Thu Mar 18 2021 Tsvetan Gerov - 0.8.1-1 - Bump version to 0.8.1, based on GNS3 VPCS Repository * Thu Dec 01 2016 Athmane Madjoudj - 0.8-3 - Fix Source url and nvr * Tue Sep 27 2016 Athmane Madjoudj - 0.8.0.20160224svn-2 - Fix version * Sat Sep 10 2016 Athmane Madjoudj - 0.8.0svn126-1 - Update to latest svn rev to fix some bugs * Sat Sep 10 2016 Athmane Madjoudj - 0.8-1 - Initial spec