Blame SPECS/lttng-ust.spec

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