Blame SPECS/opencsd.spec

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