|
|
14861b |
%global opencsd_tag 957d18219d162f52ebe2426f32a4263ec10f357d
|
|
|
88fbaf |
|
|
|
88fbaf |
Name: opencsd
|
|
|
14861b |
Version: 0.14.3
|
|
Fedora Release Engineering |
6a0b1f |
Release: 2%{?dist}
|
|
|
88fbaf |
Summary: An open source CoreSight(tm) Trace Decode library
|
|
|
88fbaf |
|
|
|
88fbaf |
License: BSD
|
|
|
88fbaf |
URL: https://github.com/Linaro/OpenCSD
|
|
|
88fbaf |
Source0: https://github.com/Linaro/OpenCSD/archive/%{opencsd_tag}.tar.gz
|
|
|
88fbaf |
|
|
|
88fbaf |
BuildRequires: patch
|
|
|
88fbaf |
BuildRequires: gcc
|
|
|
88fbaf |
BuildRequires: gcc-c++
|
|
|
88fbaf |
BuildRequires: git
|
|
|
88fbaf |
BuildRequires: make
|
|
|
88fbaf |
|
|
|
88fbaf |
%description
|
|
|
88fbaf |
This library provides an API suitable for the decode of ARM(r)
|
|
|
88fbaf |
CoreSight(tm) trace streams.
|
|
|
88fbaf |
|
|
|
88fbaf |
%package devel
|
|
|
88fbaf |
Summary: Development files for the CoreSight(tm) Trace Decode library
|
|
|
88fbaf |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
88fbaf |
%description devel
|
|
|
88fbaf |
The opencsd-devel package contains headers and libraries needed
|
|
|
88fbaf |
to develop CoreSight(tm) trace decoders.
|
|
|
88fbaf |
|
|
|
88fbaf |
%prep
|
|
|
88fbaf |
%setup -q -n OpenCSD-%{opencsd_tag}
|
|
|
88fbaf |
|
|
|
88fbaf |
%build
|
|
|
88fbaf |
cd decoder/build/linux
|
|
|
88fbaf |
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
88fbaf |
export CXXFLAGS="$RPM_OPT_FLAGS"
|
|
|
88fbaf |
LIB_PATH=%{_lib} make %{?_smp_mflags}
|
|
|
88fbaf |
|
|
|
88fbaf |
|
|
|
88fbaf |
%install
|
|
|
88fbaf |
cd decoder/build/linux
|
|
|
14861b |
PREFIX=%{buildroot}%{_prefix} LIB_PATH=%{_lib} make install DISABLE_STATIC=1 DEF_SO_PERM=755
|
|
|
88fbaf |
|
|
|
88fbaf |
|
|
|
88fbaf |
%check
|
|
|
88fbaf |
# no upstream unit tests yet
|
|
|
88fbaf |
|
|
|
88fbaf |
%files
|
|
|
88fbaf |
%license LICENSE
|
|
|
88fbaf |
%doc HOWTO.md README.md
|
|
|
88fbaf |
%{_libdir}/*so\.*
|
|
|
88fbaf |
%{_bindir}/*
|
|
|
88fbaf |
|
|
|
88fbaf |
%files devel
|
|
|
88fbaf |
%doc decoder/docs/prog_guide/*
|
|
|
88fbaf |
%{_includedir}/*
|
|
|
88fbaf |
# no man files..
|
|
|
88fbaf |
%{_libdir}/*so
|
|
|
88fbaf |
|
|
|
88fbaf |
#------------------------------------------------------------------------------
|
|
|
88fbaf |
%changelog
|
|
Fedora Release Engineering |
6a0b1f |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.3-2
|
|
Fedora Release Engineering |
6a0b1f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
Fedora Release Engineering |
6a0b1f |
|
|
|
14861b |
* Wed Sep 23 2020 Jeremy Linton <jeremy.linton@arm.com> - 0.14.3-1
|
|
|
14861b |
- Update to upstream 0.14.3
|
|
|
14861b |
|
|
Fedora Release Engineering |
6518cd |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-2
|
|
Fedora Release Engineering |
6518cd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
Fedora Release Engineering |
6518cd |
|
|
|
88fbaf |
* Wed Jul 08 2020 Jeremy Linton <jeremy.linton@arm.com> - 0.14.1-1
|
|
|
88fbaf |
- First opencsd package
|