## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 opencsd_tag 742d60ed7dc762d8d2e7f07037fac0eb17654e2f Name: opencsd Version: 1.5.5 Release: %autorelease Summary: An open source CoreSight(tm) Trace Decode library License: BSD-3-Clause URL: https://github.com/Linaro/OpenCSD Source0: https://github.com/Linaro/OpenCSD/archive/%{opencsd_tag}.tar.gz Patch0: 0001-hack-test.patch BuildRequires: patch BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: git BuildRequires: make %description This library provides an API suitable for the decode of ARM(r) CoreSight(tm) trace streams. %package devel Summary: Development files for the CoreSight(tm) Trace Decode library Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The opencsd-devel package contains headers and libraries needed to develop CoreSight(tm) trace decoders. %prep %autosetup -p1 -n OpenCSD-%{opencsd_tag} %build cd decoder/build/linux export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" LIB_PATH=%{_lib} make %{?_smp_mflags} %install cd decoder/build/linux PREFIX=%{buildroot}%{_prefix} LIB_PATH=%{_lib} make install install_man DISABLE_STATIC=1 DEF_SO_PERM=755 %check LD_LIBRARY_PATH=%{buildroot}%{_libdir} decoder/tests/run_pkt_decode_tests.bash -bindir %{buildroot}%{_bindir}/ use-installed %files %license LICENSE %doc HOWTO.md README.md %{_libdir}/*so\.* %{_bindir}/* %{_mandir}/man1/trc_pkt_lister.1.gz %files devel %doc decoder/docs/prog_guide/* %{_includedir}/* # no man files.. %{_libdir}/*so #------------------------------------------------------------------------------ %changelog ## START: Generated by rpmautospec * Thu Dec 05 2024 Jeremy Linton - 1.5.5-3 - Update to upstream 1.5.5, and spec changes ## END: Generated by rpmautospec