## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global forgeurl https://github.com/phkehl/ubloxcfg %global commit 499048ba8b3b9d0ca5d752c56f14c48117ebbb8e %forgemeta Name: ubloxcfg Version: 1.16 Release: %autorelease Summary: u-blox 9 positioning receivers configuration library and tool # Automatically converted from old format: GPLv3 and LGPLv3 and BSD - review is highly recommended. License: GPL-3.0-only AND LGPL-3.0-only URL: %forgeurl Source0: %forgesource # Preparing a PR fix for upstream Patch0: 001-rpath-remove.patch # Leaf package, dropping ExcludeArch: %{ix86} BuildRequires: doxygen BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: sed BuildRequires: perl BuildRequires: perl-Data-Float BuildRequires: perl-Path-Tiny %description This package implements a library (API) to deal with the new configuration interface introduced in u-blox 9 positioning receivers. A command line "cfgtool" is provided to configure a receiver from the configuration defined in a human-readable configuration file, as well as a few other functions. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} %description devel This package contains development headers and files for %{name}. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc This package contains documentation for %{name}. %prep %forgesetup %autopatch -p1 # drop hardcoded CFLAGS sed -e 's/-O3//g' -i */CMakeLists.txt # copy various docs to be unique names cp ff/LICENSE ff-LICENSE cp ubloxcfg/LICENSE ubloxcfg-LICENSE cp cfgtool/LICENSE cfgtool-LICENSE cp cfgtool/README.md cfgtool-README.md cp ff/README.md ff-README.md %build %cmake %cmake_build doxygen ubloxcfg/ %install %cmake_install rm -rf %{buildroot}/usr/share/doc/ %check %ifarch s390x x86_64 # Ignore test failures on s390x/x86_64 for now make test || true %else make test %endif %files %license cfgtool-LICENSE ff-LICENSE ubloxcfg-LICENSE %doc README.md cfgtool-README.md ff-README.md %doc tools/99-ftdi-ublox.rules tools/evk-f9p-base.cfg %doc tools/fwdownload.txt cfgtool/cfgtool.txt %{_bindir}/cfgtool %{_bindir}/ubloxcfg-test %{_libdir}/libff.so.0* %{_libdir}/libubloxcfg.so.0* %files devel %{_includedir}/ff/ %{_includedir}/ubloxcfg/ %{_libdir}/libff.so %{_libdir}/libubloxcfg.so %{_libdir}/pkgconfig/ff.pc %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/cmake/ff/ %{_libdir}/cmake/ubloxcfg/ %files doc %doc html/ %changelog ## START: Generated by rpmautospec * Fri Jul 17 2026 Fedora Release Engineering - 1.16-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Mon Feb 23 2026 Vadim Fedorenko - 1.16-2 - Update to 1.16-1.20260223git499048b * Tue Feb 17 2026 Peter Robinson - 1.16-1 - Move to latest upstream * Sat Jan 17 2026 Fedora Release Engineering - 1.13-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Jul 25 2025 Fedora Release Engineering - 1.13-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jan 19 2025 Fedora Release Engineering - 1.13-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Sep 04 2024 Miroslav Suchý - 1.13-8 - convert license to SPDX * Sat Jul 20 2024 Fedora Release Engineering - 1.13-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jan 27 2024 Fedora Release Engineering - 1.13-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 1.13-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 1.13-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Apr 27 2022 Alexander Bulimov - 1.13-2 - Update to 1.13-1.20220420gita46d97c.el8 * Mon Mar 07 2022 Alexander Bulimov - 1.13-1 - Update to 1.13-1.20220301gitc71cfc2 * Sat Jan 22 2022 Fedora Release Engineering - 1.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Nov 01 2021 Davide Cavalca - 1.12-2 - Fix sources * Sat Oct 30 2021 Alexander Bulimov - 1.12-1 - Update to 1.12 * Tue Aug 17 2021 Davide Cavalca - 1.8-1 - Initial import; Fixes: RHBZ#1992722 ## END: Generated by rpmautospec