This commit is contained in:
parent
64f4b1df22
commit
6389676aac
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 4 10:10:46 UTC 2017 - sor.alexei@meowr.ru
|
||||||
|
|
||||||
|
- Build for aarch64.
|
||||||
|
- Spec cleanup.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 7 23:43:33 UTC 2017 - jengelh@inai.de
|
Sat Oct 7 23:43:33 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -16,45 +16,42 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define majorversion 2.10.0
|
%define _version 2.10.0
|
||||||
%define ctllib_sover 0
|
%define soname_ctl liblttng-ctl
|
||||||
%define ctllib liblttng-ctl%{ctllib_sover}
|
%define sover_ctl 0
|
||||||
|
|
||||||
Name: lttng-tools
|
Name: lttng-tools
|
||||||
Version: 2.10.1
|
Version: 2.10.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Source: http://lttng.org/files/%{name}/%{name}-%{version}.tar.bz2
|
Summary: Linux Trace Toolkit Next Generation userspace tools
|
||||||
Summary: Linux Trace Toolkit Next Generation 2.0 userspace tools
|
License: GPL-2.0 AND LGPL-2.1
|
||||||
License: GPL-2.0 and LGPL-2.1
|
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Url: http://lttng.org/lttng2.0
|
URL: https://lttng.org/
|
||||||
|
Source: https://lttng.org/files/%{name}/%{name}-%{version}.tar.bz2
|
||||||
BuildRequires: liburcu-devel
|
BuildRequires: liburcu-devel
|
||||||
BuildRequires: libuuid-devel
|
BuildRequires: libuuid-devel
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: lttng-ust-devel >= %{majorversion}
|
BuildRequires: lttng-ust-devel >= %{_version}
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: popt-devel
|
BuildRequires: popt-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
ExclusiveArch: %ix86 x86_64 ppc64 ppc64le
|
|
||||||
Requires: babeltrace
|
Requires: babeltrace
|
||||||
Recommends: lttng-modules-kmp
|
Recommends: lttng-modules-kmp
|
||||||
|
ExclusiveArch: %ix86 x86_64 aarch64 ppc64 ppc64le
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides the userspace tools for controlling the LTTng subsystem
|
This package provides the userspace tools for controlling the LTTng subsystem
|
||||||
from userspace.
|
from userspace.
|
||||||
|
|
||||||
%package -n %{ctllib}
|
%package -n %{soname_ctl}%{sover_ctl}
|
||||||
Summary: Linux Trace Toolkit Next Generation 2.0 control and utility library
|
Summary: Linux Trace Toolkit Next Generation 2.0 control and utility library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %{ctllib}
|
%description -n %{soname_ctl}%{sover_ctl}
|
||||||
This package provides a userspace library for controlling the LTTng subsystem. It is primarily intended for use by the lttng-tools package.
|
This package provides a userspace library for controlling the LTTng subsystem. It is primarily intended for use by the lttng-tools package.
|
||||||
|
|
||||||
%package -n %{name}-devel
|
%package -n %{name}-devel
|
||||||
|
|
||||||
Summary: Linux Trace Toolkit Next Generation 2.0 userspace tools
|
Summary: Linux Trace Toolkit Next Generation 2.0 userspace tools
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Requires: %{ctllib} >= %{majorversion}
|
Requires: %{soname_ctl}%{sover_ctl} >= %{_version}
|
||||||
|
|
||||||
%description -n %{name}-devel
|
%description -n %{name}-devel
|
||||||
This package provides the userspace tools for controlling the LTTng subsystem
|
This package provides the userspace tools for controlling the LTTng subsystem
|
||||||
@ -64,43 +61,38 @@ from userspace.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --docdir=%{_docdir}/%{name}
|
%configure \
|
||||||
make
|
--docdir=%{_docdir}/%{name} \
|
||||||
|
--disable-static
|
||||||
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
rm -f %buildroot%{_libdir}/*.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
rm -f %buildroot%{_libdir}/*.a
|
|
||||||
|
|
||||||
%post -n %{ctllib} -p /sbin/ldconfig
|
%post -n %{soname_ctl}%{sover_ctl} -p /sbin/ldconfig
|
||||||
%postun -n %{ctllib} -p /sbin/ldconfig
|
|
||||||
|
%postun -n %{soname_ctl}%{sover_ctl} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%doc %{_docdir}/%{name}/
|
||||||
%dir %{_libdir}/lttng
|
|
||||||
%dir %{_libdir}/lttng/libexec
|
|
||||||
%{_bindir}/lttng
|
%{_bindir}/lttng
|
||||||
%{_bindir}/lttng-crash
|
%{_bindir}/lttng-crash
|
||||||
%{_bindir}/lttng-relayd
|
%{_bindir}/lttng-relayd
|
||||||
%{_libdir}/lttng/libexec/lttng-consumerd
|
%{_libdir}/lttng/libexec/lttng-consumerd
|
||||||
%{_bindir}/lttng-sessiond
|
%{_bindir}/lttng-sessiond
|
||||||
%{_mandir}/man1/*.1.gz
|
%{_mandir}/man1/*.1%{?ext_man}
|
||||||
%{_mandir}/man3/*.3.gz
|
%{_mandir}/man3/*.3%{?ext_man}
|
||||||
%{_mandir}/man8/*.8.gz
|
%{_mandir}/man8/*.8%{?ext_man}
|
||||||
%dir %{_docdir}/%{name}
|
%dir %{_libdir}/lttng/
|
||||||
%{_docdir}/%{name}/ChangeLog
|
%dir %{_libdir}/lttng/libexec/
|
||||||
%{_docdir}/%{name}/LICENSE
|
%dir %{_datadir}/xml/lttng/
|
||||||
%{_docdir}/%{name}/README.md
|
|
||||||
%{_docdir}/%{name}/*.txt
|
|
||||||
%dir %{_datadir}/xml/lttng
|
|
||||||
%{_datadir}/xml/lttng/session.xsd
|
%{_datadir}/xml/lttng/session.xsd
|
||||||
|
|
||||||
%files -n %{ctllib}
|
%files -n %{soname_ctl}%{sover_ctl}
|
||||||
%defattr(-,root,root)
|
%{_libdir}/%{soname_ctl}.so.%{sover_ctl}*
|
||||||
%{_libdir}/*.so.*
|
|
||||||
|
|
||||||
%files -n %{name}-devel
|
%files -n %{name}-devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/lttng/*
|
%{_includedir}/lttng/*
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/lttng-ctl.pc
|
%{_libdir}/pkgconfig/lttng-ctl.pc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user