Blame SPECS/opencsd.spec

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