Blame SPECS/lttng-ust.spec

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