- 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 Mon Oct 5 19:10:41 UTC 2015 - tonyj@suse.com

View File

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