- Update to version 1.5.2.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:lttng/babeltrace?expand=0&rev=10
This commit is contained in:
Alexei Sorokin 2017-06-12 15:54:48 +00:00 committed by Git OBS Bridge
parent a9906e1615
commit f41a61bed9
4 changed files with 74 additions and 54 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:666e3a1ad2dc7d5703059963056e7800f0eab59c8eeb6be2efe4f3acc5209eb1
size 995829

3
babeltrace-1.5.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:696ee46e5750ab57a258663e73915d2901b7cd4fc53b06eb3f7a0d7b1012fa56
size 988883

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Jun 12 15:20:29 UTC 2017 - sor.alexei@meowr.ru
- Update to version 1.5.2:
* See /usr/share/doc/packages/babeltrace/ChangeLog
- Disable static library build.
- Enable Python 3 bindings build.
- Remove explicit glib2-devel requirement for the devel package: is
autodetected already.
- Spec cleanup.
-------------------------------------------------------------------
Tue Aug 2 12:45:05 UTC 2016 - normand@linux.vnet.ibm.com
- add ppc64/ppc64le in ExclusiveArch
-------------------------------------------------------------------
Mon Oct 5 19:10:41 UTC 2015 - tonyj@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package babeltrace
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,73 +16,75 @@
#
%define soname libbabeltrace
%define sover 1
Name: babeltrace
Version: 1.2.4
Version: 1.5.2
Release: 0
Source: http://www.efficios.com/files/babeltrace/%{name}-%{version}.tar.bz2
Summary: Common Trace Format Babel Tower
License: MIT and GPL-2.0
License: MIT AND GPL-2.0
Group: Development/Languages/C and C++
Url: http://diamon.org/babeltrace
Source: https://efficios.com/files/babeltrace/%{name}-%{version}.tar.bz2
BuildRequires: bison
BuildRequires: flex
BuildRequires: glib2-devel
BuildRequires: libuuid-devel
BuildRequires: pkgconfig
BuildRequires: popt-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: aarch64 %ix86 x86_64
BuildRequires: swig
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libdw) >= 0.154
BuildRequires: pkgconfig(libelf) >= 0.154
BuildRequires: pkgconfig(popt)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(uuid)
ExclusiveArch: %ix86 x86_64 aarch64 ppc64le ppc64
%description
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.
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.
The main format expected to be converted to/from is the Common Trace
Format (CTF). The latest version of the CTF specification can be found at:
The main format expected to be converted to/from is the
Common Trace Format (CTF).
git tree: git://git.efficios.com/ctf.git
gitweb: http://git.efficios.com/?p=ctf.git
%package -n python3-%{name}
Summary: Python Bindings for babeltrace
Group: Development/Libraries/Python
Mathieu Desnoyers, EfficiOS Inc.
September 2010
%description -n python3-%{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.
Python Bindings for the babeltrace package.
%package -n %{name}-devel
Summary: Common Trace Format Babel Tower
Group: Development/Languages/C and C++
Requires: %{name} = %{version}-%{release}
Requires: glib2-devel
Requires: %{name} = %{version}
%description -n %{name}-devel
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.
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.
The main format expected to be converted to/from is the Common Trace
Format (CTF). The latest version of the CTF specification can be found at:
git tree: git://git.efficios.com/ctf.git
gitweb: http://git.efficios.com/?p=ctf.git
Mathieu Desnoyers, EfficiOS Inc.
September 2010
The main format expected to be converted to/from is the
Common Trace Format (CTF).
%prep
%setup -q
%build
%configure --docdir=%{_docdir}/%{name}
make
export PYTHON="python3"
export PYTHON_CONFIG="$PYTHON-config"
%configure \
--disable-static \
--docdir=%{_docdir}/%{name} \
--enable-python-bindings
make %{?_smp_mflags} V=1
%install
make DESTDIR=%buildroot install
rm -vf %buildroot%{_libdir}/*.la
mkdir -p %buildroot%{_prefix}/include/babeltrace
cp -R include/babeltrace/* %buildroot%{_prefix}/include/babeltrace
%clean
rm -rf %buildroot
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -p /sbin/ldconfig
@ -90,19 +92,21 @@ rm -rf %buildroot
%files
%defattr(-,root,root)
%doc %{_docdir}/%{name}/
%{_bindir}/%{name}*
%{_libdir}/*.so.*
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/LICENSE
%{_docdir}/%{name}/ChangeLog
%{_docdir}/%{name}/*.txt
%{_mandir}/man1/*.1.gz
%{_libdir}/%{soname}*.so.%{sover}*
%{_mandir}/man1/*.1%{?ext_man}
%files -n python3-%{name}
%defattr(-,root,root)
%{python3_sitearch}/_%{name}.so*
%{python3_sitearch}/%{name}.py
%{python3_sitearch}/__pycache__/%{name}.*
%files -n %{name}-devel
%defattr(-,root,root)
%{_prefix}/include/*
%{_libdir}/*.so
%{_libdir}/*.a
%{_includedir}/%{name}/
%{_libdir}/%{soname}*.so
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/pkgconfig/%{name}-ctf.pc