Blame SPECS/lttng-ust.spec

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