Blame SPECS/lttng-ust.spec

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