OBS-URL: https://build.opensuse.org/request/show/230275 OBS-URL: https://build.opensuse.org/package/show/devel:tools:lttng/lttng-tools?expand=0&rev=7
92 lines
2.5 KiB
RPMSpec
92 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package lttng-tools
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
Name: lttng-tools
|
|
Version: 2.4.1
|
|
Release: 0
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Summary: Linux Trace Toolkit Next Generation 2.0 userspace tools
|
|
License: GPL-2.0 and LGPL-2.1
|
|
Group: Development/Languages/C and C++
|
|
Url: http://lttng.org/lttng2.0
|
|
BuildRequires: liburcu-devel
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: lttng-ust-devel >= 2.4.0
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: popt-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
ExclusiveArch: %ix86 x86_64
|
|
Requires: babeltrace
|
|
|
|
%description
|
|
This package provides the userspace tools for controlling the LTTng subsystem
|
|
from userspace.
|
|
|
|
%package -n %{name}-devel
|
|
|
|
Summary: Linux Trace Toolkit Next Generation 2.0 userspace tools
|
|
Group: Development/Languages/C and C++
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description -n %{name}-devel
|
|
This package provides the userspace tools for controlling the LTTng subsystem
|
|
from userspace.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --docdir=%{_docdir}/%{name}
|
|
make
|
|
|
|
%install
|
|
make DESTDIR=%buildroot install
|
|
rm -vf %buildroot%{_libdir}/*.la
|
|
|
|
%clean
|
|
rm -rf %buildroot
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%dir %{_libdir}/lttng
|
|
%dir %{_libdir}/lttng/libexec
|
|
%{_bindir}/lttng
|
|
%{_bindir}/lttng-relayd
|
|
%{_libdir}/lttng/libexec/lttng-consumerd
|
|
%{_bindir}/lttng-sessiond
|
|
%{_libdir}/*.so.*
|
|
%{_mandir}/man1/lttng.1.gz
|
|
%{_mandir}/man8/lttng-sessiond.8.gz
|
|
%{_mandir}/man8/lttng-relayd.8.gz
|
|
%dir %{_docdir}/%{name}
|
|
%{_docdir}/%{name}/ChangeLog
|
|
%{_docdir}/%{name}/LICENSE
|
|
%{_docdir}/%{name}/*.txt
|
|
|
|
%files -n %{name}-devel
|
|
%defattr(-,root,root)
|
|
%{_prefix}/include/lttng/*
|
|
%{_libdir}/*.so
|
|
%{_libdir}/*.a
|
|
%{_libdir}/pkgconfig/lttng-ctl.pc
|
|
|
|
%changelog
|