From 279cc810cfd699a669ddb97694d97dc9e5355f18 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 03 2021 23:07:15 +0000 Subject: import opencsd-1.0.0-3.el9 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ff924f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/01d44a34f8fc057f4b041c01f8d9502d77fe612f.tar.gz diff --git a/.opencsd.metadata b/.opencsd.metadata new file mode 100644 index 0000000..bb97a22 --- /dev/null +++ b/.opencsd.metadata @@ -0,0 +1 @@ +6e6fac76540137288b442211036e9203ef45231c SOURCES/01d44a34f8fc057f4b041c01f8d9502d77fe612f.tar.gz diff --git a/SPECS/opencsd.spec b/SPECS/opencsd.spec new file mode 100644 index 0000000..0ce2e13 --- /dev/null +++ b/SPECS/opencsd.spec @@ -0,0 +1,78 @@ +%global opencsd_tag 01d44a34f8fc057f4b041c01f8d9502d77fe612f + +Name: opencsd +Version: 1.0.0 +Release: 3%{?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 +* Mon Aug 09 2021 Mohan Boddu - 1.0.0-3 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 1.0.0-2 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Fri Apr 9 2021 Michael Petlan - 1.0.0-1 +- Rebased to upstream 1.0.0 + +* Wed Sep 23 2020 Jeremy Linton - 0.14.3-1 +- Update to upstream 0.14.3 + +* Tue Jul 28 2020 Fedora Release Engineering - 0.14.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 08 2020 Jeremy Linton - 0.14.1-1 +- First opencsd package