RHEL 9.0.0 Alpha bootstrap

The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/opencsd#8e8ab231e437bcaba157328c0a70a5601b63a3f0
This commit is contained in:
Petr Šabata 2020-10-15 21:52:27 +02:00
parent 7c53cd1001
commit 4d466321e5
4 changed files with 74 additions and 0 deletions

2
.gitignore vendored
View File

@ -0,0 +1,2 @@
/3fc611aa5d3c9d6a40a88332903cf4230da74ad3.tar.gz
/957d18219d162f52ebe2426f32a4263ec10f357d.tar.gz

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# opencsd
The opencsd package

68
opencsd.spec Normal file
View File

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

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (957d18219d162f52ebe2426f32a4263ec10f357d.tar.gz) = c469045204b818dd1016155fd7f587da0eaa5d04abbce06bc3ca002df97d9a2f61f8b92ef98046a504ecec44a5663e83de1685afe80ab202a321c9f3b7b771b1