2014-04-16 01:01:18 +02:00
|
|
|
#
|
|
|
|
# spec file for package babeltrace
|
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2012-02-29 19:21:25 +01:00
|
|
|
Name: babeltrace
|
2015-07-24 23:39:20 +02:00
|
|
|
Version: 1.2.4
|
2012-02-29 19:21:25 +01:00
|
|
|
Release: 0
|
2013-08-07 04:25:31 +02:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2012-02-29 19:21:25 +01:00
|
|
|
Summary: Common Trace Format Babel Tower
|
2014-04-16 01:01:18 +02:00
|
|
|
License: MIT and GPL-2.0
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Url: http://lttng.org/lttng2.0
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: popt-devel
|
2013-08-07 04:25:31 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
ExclusiveArch: %ix86 x86_64
|
2012-02-29 19:21:25 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
%package -n %{name}-devel
|
2014-04-16 01:01:18 +02:00
|
|
|
|
2012-02-29 19:21:25 +01:00
|
|
|
Summary: Common Trace Format Babel Tower
|
|
|
|
Group: Development/Languages/C and C++
|
2014-04-16 01:01:18 +02:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: glib2-devel
|
2012-02-29 19:21:25 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
%prep
|
2013-08-07 04:25:31 +02:00
|
|
|
%setup -q
|
2012-02-29 19:21:25 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --docdir=%{_docdir}/%{name}
|
|
|
|
make
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
2014-04-16 01:01:18 +02:00
|
|
|
|
2012-02-29 19:21:25 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/%{name}*
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%dir %{_docdir}/%{name}
|
|
|
|
%{_docdir}/%{name}/LICENSE
|
|
|
|
%{_docdir}/%{name}/ChangeLog
|
|
|
|
%{_docdir}/%{name}/*.txt
|
|
|
|
%{_mandir}/man1/*.1.gz
|
|
|
|
|
|
|
|
%files -n %{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_prefix}/include/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/*.a
|
2013-08-07 04:25:31 +02:00
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2014-04-16 01:01:18 +02:00
|
|
|
%{_libdir}/pkgconfig/%{name}-ctf.pc
|
2012-02-29 19:21:25 +01:00
|
|
|
|
|
|
|
%changelog
|