diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1ec1c1c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/lttng-ust-2.8.1.tar.bz2 diff --git a/.rh-dotnet20-lttng-ust.metadata b/.rh-dotnet20-lttng-ust.metadata new file mode 100644 index 0000000..0a6886c --- /dev/null +++ b/.rh-dotnet20-lttng-ust.metadata @@ -0,0 +1 @@ +8bebdcbcb453d2643fb226dbe92de61764f1ee3b SOURCES/lttng-ust-2.8.1.tar.bz2 diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/lttng-ust.spec b/SPECS/lttng-ust.spec new file mode 100644 index 0000000..b42d5c0 --- /dev/null +++ b/SPECS/lttng-ust.spec @@ -0,0 +1,184 @@ +%{?scl:%scl_package lttng-ust} +%{!?scl:%global pkg_name %{name}} + +Name: %{?scl_prefix}lttng-ust +Version: 2.8.1 +Release: 3%{?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 +* Fri Jul 14 2017 Omair Majid - 2.8.1-3 +- Fix path names to make debuginfo parallel installable + +* Wed Apr 19 2017 Omair Majid - 2.8.1-2 +- SCL-ize package + +* Wed Jun 22 2016 Michael Jeanson - 2.8.1-2 +- Re-add rpath removing +- Fix spelling errors + +* Tue Jun 21 2016 Michael Jeanson - 2.8.1-1 +- New upstream release + +* Thu Feb 04 2016 Fedora Release Engineering - 2.6.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Aug 6 2015 Suchakra Sharma - 2.6.2-2 +- Remove remaining BR for SystemTap SDT and add python as a BR + +* Thu Jul 23 2015 Michael Jeanson - 2.6.2-1 +- New upstream release +- Drop SystemTap SDT support +- Remove patches applied upstream + +* Wed Jun 17 2015 Fedora Release Engineering - 2.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Dec 9 2014 Peter Robinson 2.5.1-2 +- Add patch to fix aarch64 support + +* Mon Nov 03 2014 Suchakra Sharma - 2.5.1-1 +- New upstream release +- Update URL + +* Sun Aug 17 2014 Fedora Release Engineering - 2.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 2.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue May 20 2014 Yannick Brosseau - 2.4.1-1 +- New upstream bugfix release + +* Sat Mar 1 2014 Suchakra Sharma - 2.4.0-1 +- New upstream release +- Add new files (man and doc) + +* Sat Feb 22 2014 Yannick Brosseau - 2.3.0-2 +- Rebuilt for URCU Soname change + +* Fri Sep 20 2013 Yannick Brosseau - 2.3.0-1 +- New upstream release (include snapshop feature) + +* Sat Aug 03 2013 Fedora Release Engineering - 2.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jul 16 2013 Yannick Brosseau - 2.2.1-1 +- New upstream release +- Bump URCU dependency + +* Thu May 23 2013 Dan HorĂ¡k - 2.1.2-2 +- add build workaround for s390(x) + +* Fri May 17 2013 Yannick Brosseau - 2.1.2-1 +- New upstream bugfix release +- Remove patches applied upstream + +* Wed Feb 27 2013 Yannick Brosseau - 2.1.1-2 +- Remove dependency of probes on urcu-bp + +* Tue Feb 26 2013 Yannick Brosseau - 2.1.1-1 +- New upstream release + +* Thu Feb 14 2013 Fedora Release Engineering - 2.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Oct 23 2012 Yannick Brosseau - 2.0.5-1 +- New upstream release + +* Thu Jul 19 2012 Fedora Release Engineering - 2.0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jun 22 2012 Yannick Brosseau - 2.0.4-2 +- Add dependency on systemtap-sdt-devel for devel package + +* Tue Jun 19 2012 Yannick Brosseau - 2.0.4-1 +- New upstream release +- Updates from review comments + +* Thu Jun 14 2012 Yannick Brosseau - 2.0.3-1 +- New package, inspired by the one from OpenSuse +