File veroroute.spec of Package veroroute
#
# spec file for package veroroute
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: veroroute
Version: 1.99
Release: 0
Summary: Qt based Veroboard layout & routing application
License: GPL-3.0-or-later
URL: https://sourceforge.net/projects/veroroute/
Source0: https://sourceforge.net/projects/veroroute/files/veroroute-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: libqt5-qtbase-common-devel
BuildRequires: libqt5-creator
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: update-desktop-files
#Requires:
%description
Cross-platform software for producing Veroboard (stripboard) layouts.
Automatically prevents short circuits and checks for open circuits.
Features:
Veroboard and PCB modes
Interactive auto-routing
Connectivity checking & visualisation
Import netlist from a TinyCAD, gEDA, or KiCad schematic , or specify
the netlist graphically.Switch instantly between Fat, Thin, Curved,
and Vero track styles. In-built tutorial
%prep
%setup -q -n VeroRoute
%build
pushd Src
%qmake5
make %{?_smp_mflags}
popd
%install
cat veroroute.desktop|grep -v Version > veroroute.desk && mv veroroute.desk veroroute.desktop
export pkgdir=%{buildroot}
./veroroute-install.sh
#GenericName=
sed -i 's/Categories=Development/Categories=Education;Engineering/' %{buildroot}%{_datadir}/applications/veroroute.desktop
%suse_update_desktop_file -G "EDA Suite" %{name}
%fdupes -s %{buildroot}%{_datadir}
%files
%license licenses/
%doc CHANGELOG.txt README.txt
%{_bindir}/%{name}
%{_datadir}/applications/veroroute.desktop
%{_datadir}/%{name}/
%{_datadir}/gEDA/
%{_datadir}/pixmaps
%{_mandir}/man1/veroroute.1.gz
%changelog