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