From 139dbeb929a82e12d9408b65ff329d16f91cb378 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:31:12 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.12.0-1mamba;Sun Jun 21 2020] --- README.md | 2 ++ lttng-ust.spec | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 lttng-ust.spec diff --git a/README.md b/README.md index f270263..2488927 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # lttng-ust +The LTTng User Space Tracing (LTTng-UST) library allows any C/C++ application to be instrumented for and traced by LTTng. + diff --git a/lttng-ust.spec b/lttng-ust.spec new file mode 100644 index 0000000..0eb038f --- /dev/null +++ b/lttng-ust.spec @@ -0,0 +1,94 @@ +Name: lttng-ust +Version: 2.12.0 +Release: 1mamba +Summary: Library allows any C/C++ application to be instrumented for and traced by LTTng +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://lttng.org +Source: http://lttng.org/files/lttng-ust/lttng-ust-%{version}.tar.bz2 +License: LGPL, MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libnuma-devel +BuildRequires: liburcu-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The LTTng User Space Tracing (LTTng-UST) library allows any C/C++ application to be instrumented for and traced by LTTng. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/liblttng-ust-*.so.* +%{_libdir}/liblttng-ust.so.* +%doc COPYING LICENSE + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_bindir}/lttng-gen-tp +%dir %{_includedir}/lttng +%{_includedir}/lttng/* +%{_libdir}/liblttng-ust-*.la +%{_libdir}/liblttng-ust-*.so +%{_libdir}/liblttng-ust.la +%{_libdir}/liblttng-ust.so +%{_libdir}/pkgconfig/lttng-ust-ctl.pc +%{_libdir}/pkgconfig/lttng-ust.pc +%dir %{_datadir}/doc/lttng-ust +%{_datadir}/doc/lttng-ust/* +%{_mandir}/man1/lttng-gen-tp.1* +%{_mandir}/man3/do_tracepoint.3* +%{_mandir}/man3/lttng-ust-cyg-profile.3* +%{_mandir}/man3/lttng-ust-dl.3* +%{_mandir}/man3/lttng-ust.3* +%{_mandir}/man3/tracef.3* +%{_mandir}/man3/tracelog.3* +%{_mandir}/man3/tracepoint.3* +%{_mandir}/man3/tracepoint_enabled.3* +%doc ChangeLog README.md + + +%changelog +* Sun Jun 21 2020 Silvan Calarco 2.12.0-1mamba +- package created using the webbuild interface