File CatRotator.spec of Package CatRotator
#
# spec file for package CatRotator
#
# Copyright (c) 2022-2025 Walter Fey DL8FCL
#
# This file is under MIT license
Name: CatRotator
Version: 1.5.2
Release: 0
Summary: Control software for antenna rotors
License: GPL-3.0-only
Group: Productivity/Hamradio/Other
URL: https://www.pianetaradio.it/blog/catradio/
Source0: %{name}-%{version}.tar.xz
Source1: %{name}_start
Source2: %{name}.desktop
Source3: %{name}.rpmlintrc
Patch0: %{name}.pro.diff
BuildRequires: dos2unix
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt6Network)
BuildRequires: pkgconfig(Qt6OpenGL)
BuildRequires: pkgconfig(Qt6SerialPort)
BuildRequires: pkgconfig(Qt6Widgets)
BuildRequires: pkgconfig(hamlib)
%description
CatRotator is a PC control software for antenna rotors with a simple and
intuitive graphical interface. It allows full control and automation of the
rotor, without taking your eyes off the PC, now a fundamental accessory and
focal point in an amateur radio station.
%prep
%autosetup -p1
dos2unix ChangeLog.txt
%build
%qmake6
%make_build
%install
install -D CatRotator %{buildroot}%{_bindir}/%{name}-bin
install -D %{SOURCE1} %{buildroot}%{_bindir}/%{name}
install -D catrotator.png %{buildroot}%{_datadir}/pixmaps/CatRotator.png
install -Dm 644 %{SOURCE2} %{buildroot}%{_datadir}/applications/%{name}.desktop
%files
%license LICENSE
%doc ChangeLog.txt README.md
%{_bindir}/*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%changelog