File ntrip-bnc.spec of Package ntrip-bnc
#
# spec file for package ntrip-bnc
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2022 Dirk Stoecker <opensuse@dstoecker.de>.
#
# 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: ntrip-bnc
Version: 2.13.2
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: http://software.rtcm-ntrip.org/
Summary: Multi-Stream Decoder/Converter for RTCM 2.x, RTCM 3.0, and RTIGS
License: GPL-2.0-or-later
Group: Productivity/Networking/System
#Source: https://igs.bkg.bund.de/root_ftp/NTRIP/software/BNC/bnc-%{version}-sources.zip
Source: bnc-%{version}-sources.zip
BuildRequires: freetype2-devel
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: libpng-devel
BuildRequires: unzip
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5PrintSupport)
BuildRequires: pkgconfig(Qt5Svg)
%description
Multi-Stream Decoder/Converter for RTCM 2.x, RTCM 3.0, and RTIGS
Supports High-Rate RINEX DCs and Real-time GNSS-Engines
The BKG Ntrip Client (BNC) is a program for simultaneously retrieving,
decoding and converting real-time GNSS data streams from NTRIP broadcasters
like http://www.euref-ip.net/home or http://www.igs-ip.net/home.
%prep
%setup -c %{name}-%{version}
%build
%qmake5 bnc.pro
%make_jobs
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_bindir}
mv bnc %{buildroot}/%{_bindir}
%files
%defattr(755, root, root, 0755)
%{_bindir}/*
%defattr(644, root, root, 0755)
%doc src/*.html CHANGELOG.md
%license LICENSE
%changelog