Group :: System/Libraries
RPM: babeltrace
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
Name: babeltrace
Version: 1.5.8
Release: alt2
Summary: Trace conversion program
License: LGPLv2
Group: System/Libraries
Url: http://www.efficios.com/
Source0: %name-%version.tar
Patch0: %name-%version-%release.patch
BuildRequires(pre): rpm-build-python3
BuildRequires: elfutils-devel flex glib2-devel glibc-kernheaders-generic libpopt-devel libuuid-devel
BuildRequires: python3-dev swig >= 2.0
%description
Babeltrace provides trace reading and writing libraries, as well as a trace
converter. Plugins can be created for any trace format to allow its conversion
to/from any other supported format
%package -n lib%name
Summary: Babeltrace conversion libraries
Group: System/Libraries
%description -n lib%name
This package provides the babeltrace trace reading and conversion library
%package -n lib%name-devel
Summary: Babeltrace development files
Group: Development/C
Provides: lib%name-ctf-devel = %EVR
Obsoletes: lib%name-ctf-devel < %EVR
%description -n lib%name-devel
This package provides the development headers for linking applications against
libbabeltrace
%package -n lib%name-ctf
Summary: Common Trace Format (CTF) library
Group: System/Libraries
%description -n lib%name-ctf
The Common Trace Format (CTF) aims at specifying a trace format based on the
requirements of the industry (through collaboration with the Multicore
Association) and the Linux community
%package -n python3-module-%name
Summary: Common Trace Format Babel Tower
Group: Development/Python3
Requires: lib%name = %EVR
%description -n python3-module-%name
This project provides trace read and write libraries, as well as a trace
converter. A plugin can be created for any trace format to allow its conversion
to/from another trace format.
%prep
%setup -q
%patch0 -p1
%build
%autoreconf
export PYTHON=%__python3
export PYTHON_CONFIG=%__python3-config
%configure \
--disable-static \
--enable-python-bindings
%make_build
%install
%makeinstall_std
rm -rf %buildroot%_datadir/doc
%check
%make check
%files
%doc doc/lttng-live.txt
%_bindir/*
%_man1dir/*
%files -n lib%name
%_libdir/lib%name.so.*
%_libdir/lib%name-dummy.so.*
%_libdir/lib%name-lttng-live.so.*
%files -n lib%name-devel
%doc doc/API.txt doc/debug-info.txt doc/development.txt
%_includedir/%name
%_libdir/*.so
%_pkgconfigdir/*.pc
%files -n lib%name-ctf
%_libdir/lib%name-ctf*.so.*
%files -n python3-module-%name
%python3_sitelibdir/*
%changelog
…
Full changelog you can see here
Name: babeltrace
Version: 1.5.8
Release: alt2
Summary: Trace conversion program
License: LGPLv2
Group: System/Libraries
Url: http://www.efficios.com/
Source0: %name-%version.tar
Patch0: %name-%version-%release.patch
BuildRequires(pre): rpm-build-python3
BuildRequires: elfutils-devel flex glib2-devel glibc-kernheaders-generic libpopt-devel libuuid-devel
BuildRequires: python3-dev swig >= 2.0
%description
Babeltrace provides trace reading and writing libraries, as well as a trace
converter. Plugins can be created for any trace format to allow its conversion
to/from any other supported format
%package -n lib%name
Summary: Babeltrace conversion libraries
Group: System/Libraries
%description -n lib%name
This package provides the babeltrace trace reading and conversion library
%package -n lib%name-devel
Summary: Babeltrace development files
Group: Development/C
Provides: lib%name-ctf-devel = %EVR
Obsoletes: lib%name-ctf-devel < %EVR
%description -n lib%name-devel
This package provides the development headers for linking applications against
libbabeltrace
%package -n lib%name-ctf
Summary: Common Trace Format (CTF) library
Group: System/Libraries
%description -n lib%name-ctf
The Common Trace Format (CTF) aims at specifying a trace format based on the
requirements of the industry (through collaboration with the Multicore
Association) and the Linux community
%package -n python3-module-%name
Summary: Common Trace Format Babel Tower
Group: Development/Python3
Requires: lib%name = %EVR
%description -n python3-module-%name
This project provides trace read and write libraries, as well as a trace
converter. A plugin can be created for any trace format to allow its conversion
to/from another trace format.
%prep
%setup -q
%patch0 -p1
%build
%autoreconf
export PYTHON=%__python3
export PYTHON_CONFIG=%__python3-config
%configure \
--disable-static \
--enable-python-bindings
%make_build
%install
%makeinstall_std
rm -rf %buildroot%_datadir/doc
%check
%make check
%files
%doc doc/lttng-live.txt
%_bindir/*
%_man1dir/*
%files -n lib%name
%_libdir/lib%name.so.*
%_libdir/lib%name-dummy.so.*
%_libdir/lib%name-lttng-live.so.*
%files -n lib%name-devel
%doc doc/API.txt doc/debug-info.txt doc/development.txt
%_includedir/%name
%_libdir/*.so
%_pkgconfigdir/*.pc
%files -n lib%name-ctf
%_libdir/lib%name-ctf*.so.*
%files -n python3-module-%name
%python3_sitelibdir/*
%changelog
…
Full changelog you can see here