95 lines
2.5 KiB
RPMSpec
95 lines
2.5 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <silvan.calarco@mambasoft.it> 2.12.0-1mamba
|
||
|
- package created using the webbuild interface
|