## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 # Copyright 2025 Enactic, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. Name: openarm-can Version: 1.2.8 Release: %{autorelease} Summary: OpenArm CAN control library License: Apache-2.0 URL: https://docs.openarm.dev/software/can Source: https://github.com/enactic/openarm_can/archive/%{version}/openarm_can-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ # Needed for old package name # https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages Provides: openarm_can = %{version}-%{release} Obsoletes: openarm_can <= 1.1.0 %description A C++ library for CAN communication with OpenArm robotic hardware, supporting Damiao motors over CAN/CAN-FD interfaces. This library is a part of OpenArm. %package devel Summary: Development files for OpenARM CAN control library Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Header files and development libraries for OpenARM CAN control library. %package utils Summary: Setup and configuration utility scripts %description utils Setup and configuration utility scripts. %prep %autosetup -n openarm_can-%{version} %build %cmake %cmake_build %install %cmake_install %files %license LICENSE.txt %doc README.md %{_libdir}/libopenarm_can.so.1{,.*} %files devel %{_includedir}/openarm/ %{_libdir}/cmake/OpenArmCAN/ %{_libdir}/libopenarm_can.so %{_libdir}/pkgconfig/openarm-can.pc %files utils %license LICENSE.txt %{_bindir}/openarm-can-change-baudrate %{_bindir}/openarm-can-configure-socketcan %{_bindir}/openarm-can-configure-socketcan-4-arms %{_bindir}/openarm-can-demo %{_bindir}/openarm-can-diagnosis %{_bindir}/openarm-can-motor-check %{_bindir}/openarm-can-set-zero %{_bindir}/openarm-can-zero-position-calibration %changelog ## START: Generated by rpmautospec * Thu Jul 16 2026 Fedora Release Engineering - 1.2.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Fri Apr 10 2026 Benson Muite - 1.2.8-1 - Update to 1.2.8 bz#2431152 * Sun Jan 18 2026 Benson Muite - 1.2.4-1 - Update to 1.2.4 bz#2424550 * Wed Dec 24 2025 Benson Muite - 1.2.0-1 - Update to 1.2.0 BZ#2424550 * Wed Oct 22 2025 Benson Muite - 1.1.0^20251016git010ea25-1 - Initial import bz#2404364 ## END: Generated by rpmautospec