Blame SPECS/opencsd.spec

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