lttng-tools/lttng-tools.spec

104 lines
2.7 KiB
RPMSpec
Raw Normal View History

Name: lttng-tools
Version: 2.12.4
Release: 1mamba
Summary: A set of tools to control LTTng
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://lttng.org
Source: http://lttng.org/files/lttng-tools/lttng-tools-%{version}.tar.bz2
License: LGPL, MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libkmod-devel
BuildRequires: liblttng-ust-devel
BuildRequires: liblzma-devel
BuildRequires: libnuma-devel
BuildRequires: libpopt-devel
BuildRequires: liburcu-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
LTTng-tools is a set of tools to control 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
%defattr(-,root,root)
%{_bindir}/lttng
%{_bindir}/lttng-*
%{_mandir}/man1/lttng-*.1*
%{_mandir}/man1/lttng.1.gz
%{_mandir}/man3/lttng-*.3.gz
%{_mandir}/man8/lttng-*.8.gz
%{_datadir}/xml/lttng/session.xsd
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/liblttng-ctl.so.*
%{_libdir}/lttng/libexec/lttng-consumerd
%doc LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/lttng
%{_includedir}/lttng/*
%{_libdir}/liblttng-ctl.a
%{_libdir}/liblttng-ctl.la
%{_libdir}/liblttng-ctl.so
%{_libdir}/pkgconfig/lttng-ctl.pc
%dir %{_datadir}/doc/lttng-tools
%{_datadir}/doc/lttng-tools/*
%doc ChangeLog README.md
%changelog
* Sat May 22 2021 Automatic Build System <autodist@mambasoft.it> 2.12.4-1mamba
- automatic version update by autodist
* Wed Feb 24 2021 Automatic Build System <autodist@mambasoft.it> 2.12.3-1mamba
- automatic version update by autodist
* Tue Feb 09 2021 Automatic Build System <autodist@mambasoft.it> 2.12.2-1mamba
- automatic version update by autodist
* Sun Jun 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.1-1mamba
- package created using the webbuild interface