Blame opencsd.spec

c3726f
%global opencsd_tag fcc76f3925d98e49e77fdc86d75a7715e420d2b8
88fbaf
88fbaf
Name:           opencsd
c3726f
Version:        1.3.0
Fedora Release Engineering 0fc482
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 0fc482
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
Fedora Release Engineering 0fc482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Fedora Release Engineering 0fc482
c3726f
* Thu Mar 24 2022 Jeremy Linton <jeremy.linton@arm.com> - 1.3.0-1
c3726f
- Update to upstream 1.3.0
c3726f
82954b
* Wed Jan 19 2022 Jeremy Linton <jeremy.linton@arm.com> - 1.2.0-1
82954b
- Update to upstream 1.2.0
82954b
78717a
* Fri Sep 10 2021 Jeremy Linton <jeremy.linton@arm.com> - 1.1.1-1
78717a
- Update to upstream 1.1.1
78717a
Fedora Release Engineering c91c8f
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
Fedora Release Engineering c91c8f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Fedora Release Engineering c91c8f
78717a
* Fri Feb 5 2021 Jeremy Linton <jeremy.linton@arm.com> - 1.0.0-1
aa922d
- Update to upstream 1.0.0
aa922d
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