From a52a529173d1dada4a790028c3818bb6b6536e8a Mon Sep 17 00:00:00 2001
From: CentOS Sources <bugs@centos.org>
Date: Thu, 07 Jun 2018 06:27:20 +0000
Subject: [PATCH] import rh-dotnet21-lttng-ust-2.8.1-4.el7

---
 SPECS/lttng-ust.spec |  187 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 187 insertions(+), 0 deletions(-)

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

--
Gitblit v1.8.0