%{?scl:%scl_package lttng-ust} %{!?scl:%global pkg_name %{name}} Name: %{?scl_prefix}lttng-ust Version: 2.8.1 Release: 11%{?dist} License: LGPLv2 and GPLv2 and MIT Group: Development/Libraries Summary: LTTng Userspace Tracer library URL: https://lttng.org Source0: https://lttng.org/files/lttng-ust/%{pkg_name}-%{version}.tar.bz2 BuildRequires: libuuid-devel texinfo BuildRequires: %{?scl_prefix}userspace-rcu-devel >= 0.8.0 BuildRequires: autoconf automake libtool BuildRequires: systemtap-sdt-devel %{?scl:Requires: %scl_runtime} %description This library may be used by user-space applications to generate trace-points using LTTng. %package devel Summary: LTTng Userspace Tracer library headers and development files Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{?scl_prefix}userspace-rcu-devel systemtap-sdt-devel %description devel This library provides support for developing programs using LTTng user-space tracing %prep %setup -q -n %{pkg_name}-%{version} %build %{?scl:scl enable %scl - << \EOF} set -e set -x # Reinitialize libtool with the fedora version to remove Rpath autoreconf -vif export CPPFLAGS="-I%{_includedir}${CPPFLAGS:+ ${CPPFLAGS}}" export LDFLAGS="-L%{_libdir}${LDFLAGS:+ ${LDFLAGS}}" %configure --docdir=%{_docdir}/%{pkg_name} --disable-static --with-sdt make %{?_smp_mflags} V=1 %{?scl:EOF} %install make DESTDIR=%{buildroot} install rm -vf %{buildroot}%{_libdir}/*.la %check %{?scl:scl enable %scl - << \EOF} set -e set -x make check %{buildroot}/%{_bindir}/lttng-gen-tp --help %{?scl:EOF} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %{_libdir}/*.so.* %{_mandir}/man3/do_tracepoint.3.gz %{_mandir}/man3/lttng-ust.3.gz %{_mandir}/man3/lttng-ust-cyg-profile.3.gz %{_mandir}/man3/lttng-ust-dl.3.gz %{_mandir}/man3/tracef.3.gz %{_mandir}/man3/tracelog.3.gz %{_mandir}/man3/tracepoint.3.gz %{_mandir}/man3/tracepoint_enabled.3.gz %dir %{_docdir}/%{pkg_name} %{_docdir}/%{pkg_name}/ChangeLog %{_docdir}/%{pkg_name}/README.md %{_docdir}/%{pkg_name}/java-agent.txt %files devel %{_bindir}/lttng-gen-tp %{_mandir}/man1/lttng-gen-tp.1.gz %{_prefix}/include/* %{_libdir}/*.so %{_libdir}/pkgconfig/lttng-ust*.pc %dir %{_docdir}/%{pkg_name}/examples %{_docdir}/%{pkg_name}/examples/* %changelog * Mon Nov 18 2019 Omair Majid - 2.8.1-11 - Update for .NET Core 3.1 SCL - Resolves: RHBZ#1767056 * Mon Sep 09 2019 Omair Majid - 2.8.1-11 - SCL'ize package - Remove dependency on python3 - Remove pathfix invocation - Resolves: RHBZ#1746116 * Wed Mar 06 2019 Ken Dreyer - 2.8.1-11 - Run make check in %%check (rhbz#1681951) * Wed Mar 06 2019 Ken Dreyer - 2.8.1-10 - fix shebang in lttng-gen-tp (rhbz#1673990) * Wed Sep 26 2018 Omair Majid - 2.8.1-9 - Build with standard distro-wide optimization flags even on s390 and s390x - Resolves: rhbz#1630591 * Tue Aug 07 2018 Omair Majid - 2.8.1-8 - Bump release * Thu Jul 26 2018 Omair Majid - 2.8.1-7 - Un-SCLize package - Switch to python 3 explicitly in scripts * Wed Jun 20 2018 Omair Majid - 2.8.1-6 - Add Requires on SystemTap SDT for -devel package - Resolves: rhbz#1584865 * Tue Jun 19 2018 Omair Majid - 2.8.1-5 - Add SystemTap SDT support - Resolves: rhbz#1584865 * Sun May 27 2018 Omair Majid - 2.8.1-4 - Bump release for .NET Core 2.1 * Fri Jul 14 2017 Omair Majid - 2.8.1-3 - Fix path names to make debuginfo parallel installable * Wed Apr 19 2017 Omair Majid - 2.8.1-2 - SCL-ize package * Wed Jun 22 2016 Michael Jeanson - 2.8.1-2 - Re-add rpath removing - Fix spelling errors * Tue Jun 21 2016 Michael Jeanson - 2.8.1-1 - New upstream release * Thu Feb 04 2016 Fedora Release Engineering - 2.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Aug 6 2015 Suchakra Sharma - 2.6.2-2 - Remove remaining BR for SystemTap SDT and add python as a BR * Thu Jul 23 2015 Michael Jeanson - 2.6.2-1 - New upstream release - Drop SystemTap SDT support - Remove patches applied upstream * Wed Jun 17 2015 Fedora Release Engineering - 2.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Dec 9 2014 Peter Robinson 2.5.1-2 - Add patch to fix aarch64 support * Mon Nov 03 2014 Suchakra Sharma - 2.5.1-1 - New upstream release - Update URL * Sun Aug 17 2014 Fedora Release Engineering - 2.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 2.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue May 20 2014 Yannick Brosseau - 2.4.1-1 - New upstream bugfix release * Sat Mar 1 2014 Suchakra Sharma - 2.4.0-1 - New upstream release - Add new files (man and doc) * Sat Feb 22 2014 Yannick Brosseau - 2.3.0-2 - Rebuilt for URCU Soname change * Fri Sep 20 2013 Yannick Brosseau - 2.3.0-1 - New upstream release (include snapshop feature) * Sat Aug 03 2013 Fedora Release Engineering - 2.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Jul 16 2013 Yannick Brosseau - 2.2.1-1 - New upstream release - Bump URCU dependency * Thu May 23 2013 Dan HorĂ¡k - 2.1.2-2 - add build workaround for s390(x) * Fri May 17 2013 Yannick Brosseau - 2.1.2-1 - New upstream bugfix release - Remove patches applied upstream * Wed Feb 27 2013 Yannick Brosseau - 2.1.1-2 - Remove dependency of probes on urcu-bp * Tue Feb 26 2013 Yannick Brosseau - 2.1.1-1 - New upstream release * Thu Feb 14 2013 Fedora Release Engineering - 2.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Oct 23 2012 Yannick Brosseau - 2.0.5-1 - New upstream release * Thu Jul 19 2012 Fedora Release Engineering - 2.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 22 2012 Yannick Brosseau - 2.0.4-2 - Add dependency on systemtap-sdt-devel for devel package * Tue Jun 19 2012 Yannick Brosseau - 2.0.4-1 - New upstream release - Updates from review comments * Thu Jun 14 2012 Yannick Brosseau - 2.0.3-1 - New package, inspired by the one from OpenSuse