|
|
75329a |
%global opencsd_tag dac554d62d514b202174506995afc0e109ef3fea
|
|
|
279cc8 |
|
|
|
279cc8 |
Name: opencsd
|
|
|
75329a |
Version: 1.2.0
|
|
|
75329a |
Release: 2%{?dist}
|
|
|
279cc8 |
Summary: An open source CoreSight(tm) Trace Decode library
|
|
|
279cc8 |
|
|
|
279cc8 |
License: BSD
|
|
|
279cc8 |
URL: https://github.com/Linaro/OpenCSD
|
|
|
279cc8 |
Source0: https://github.com/Linaro/OpenCSD/archive/%{opencsd_tag}.tar.gz
|
|
|
279cc8 |
|
|
|
279cc8 |
BuildRequires: patch
|
|
|
279cc8 |
BuildRequires: gcc
|
|
|
279cc8 |
BuildRequires: gcc-c++
|
|
|
279cc8 |
BuildRequires: git
|
|
|
279cc8 |
BuildRequires: make
|
|
|
279cc8 |
|
|
|
279cc8 |
%description
|
|
|
279cc8 |
This library provides an API suitable for the decode of ARM(r)
|
|
|
279cc8 |
CoreSight(tm) trace streams.
|
|
|
279cc8 |
|
|
|
279cc8 |
%package devel
|
|
|
279cc8 |
Summary: Development files for the CoreSight(tm) Trace Decode library
|
|
|
279cc8 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
279cc8 |
%description devel
|
|
|
279cc8 |
The opencsd-devel package contains headers and libraries needed
|
|
|
279cc8 |
to develop CoreSight(tm) trace decoders.
|
|
|
279cc8 |
|
|
|
279cc8 |
%prep
|
|
|
279cc8 |
%setup -q -n OpenCSD-%{opencsd_tag}
|
|
|
279cc8 |
|
|
|
279cc8 |
%build
|
|
|
279cc8 |
cd decoder/build/linux
|
|
|
279cc8 |
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
279cc8 |
export CXXFLAGS="$RPM_OPT_FLAGS"
|
|
|
c2f344 |
export LDFLAGS="-pie -z now"
|
|
|
279cc8 |
LIB_PATH=%{_lib} make %{?_smp_mflags}
|
|
|
279cc8 |
|
|
|
279cc8 |
|
|
|
279cc8 |
%install
|
|
|
279cc8 |
cd decoder/build/linux
|
|
|
279cc8 |
PREFIX=%{buildroot}%{_prefix} LIB_PATH=%{_lib} make install DISABLE_STATIC=1 DEF_SO_PERM=755
|
|
|
279cc8 |
|
|
|
279cc8 |
|
|
|
279cc8 |
%check
|
|
|
279cc8 |
# no upstream unit tests yet
|
|
|
279cc8 |
|
|
|
279cc8 |
%files
|
|
|
279cc8 |
%license LICENSE
|
|
|
279cc8 |
%doc HOWTO.md README.md
|
|
|
279cc8 |
%{_libdir}/*so\.*
|
|
|
279cc8 |
%{_bindir}/*
|
|
|
279cc8 |
|
|
|
279cc8 |
%files devel
|
|
|
279cc8 |
%doc decoder/docs/prog_guide/*
|
|
|
279cc8 |
%{_includedir}/*
|
|
|
279cc8 |
# no man files..
|
|
|
279cc8 |
%{_libdir}/*so
|
|
|
279cc8 |
|
|
|
279cc8 |
#------------------------------------------------------------------------------
|
|
|
279cc8 |
%changelog
|
|
|
75329a |
* Fri Jan 21 2022 Michael Petlan <mpetlan@redhat.com> - 1.2.0-2
|
|
|
75329a |
- Update to upstream 1.2.0 -- fix opencsd_tag
|
|
|
75329a |
Related: rhbz#2041578
|
|
|
75329a |
|
|
|
75329a |
* Fri Jan 21 2022 Michael Petlan <mpetlan@redhat.com> - 1.2.0-1
|
|
|
75329a |
- Update to upstream 1.2.0
|
|
|
75329a |
Related: rhbz#2041578
|
|
|
75329a |
|
|
|
c2f344 |
* Tue Dec 14 2021 Michael Petlan <mpetlan@redhat.com> - 1.0.0-5
|
|
|
c2f344 |
- Added some linker hardening flags to pass annocheck
|
|
|
c2f344 |
Related: rhbz#2031802
|
|
|
c2f344 |
|
|
|
c2f344 |
* Tue Dec 14 2021 Michael Petlan <mpetlan@redhat.com> - 1.0.0-5
|
|
|
c2f344 |
- Added gating
|
|
|
c2f344 |
Related: rhbz#2031794
|
|
|
c2f344 |
|
|
|
c2f344 |
* Tue Dec 07 2021 Michael Petlan <mpetlan@redhat.com> - 1.0.0-4
|
|
|
c2f344 |
- Bump NVR, needed for erratum RHBA-2021:85351
|
|
|
c2f344 |
Related: rhbz#2029382
|
|
|
c2f344 |
|
|
|
279cc8 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.0-3
|
|
|
279cc8 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
279cc8 |
Related: rhbz#1991688
|
|
|
279cc8 |
|
|
|
279cc8 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.0-2
|
|
|
279cc8 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
279cc8 |
|
|
|
279cc8 |
* Fri Apr 9 2021 Michael Petlan <mpetlan@redhat.com> - 1.0.0-1
|
|
|
279cc8 |
- Rebased to upstream 1.0.0
|
|
|
279cc8 |
|
|
|
279cc8 |
* Wed Sep 23 2020 Jeremy Linton <jeremy.linton@arm.com> - 0.14.3-1
|
|
|
279cc8 |
- Update to upstream 0.14.3
|
|
|
279cc8 |
|
|
|
279cc8 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-2
|
|
|
279cc8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
279cc8 |
|
|
|
279cc8 |
* Wed Jul 08 2020 Jeremy Linton <jeremy.linton@arm.com> - 0.14.1-1
|
|
|
279cc8 |
- First opencsd package
|