c2a0ec2511
version update OBS-URL: https://build.opensuse.org/request/show/186167 OBS-URL: https://build.opensuse.org/package/show/devel:tools:lttng/babeltrace?expand=0&rev=4
83 lines
2.2 KiB
RPMSpec
83 lines
2.2 KiB
RPMSpec
Name: babeltrace
|
|
Version: 1.1.1
|
|
Release: 0
|
|
License: GPL-2.0+ and MIT
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Group: Development/Languages/C and C++
|
|
Summary: Common Trace Format Babel Tower
|
|
URL: http://lttng.org/lttng2.0
|
|
BuildRequires: pkgconfig bison flex glib2-devel popt-devel libuuid-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
ExclusiveArch: %ix86 x86_64
|
|
|
|
%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
|
|
Summary: Common Trace Format Babel Tower
|
|
Group: Development/Languages/C and C++
|
|
Requires: %{name} = %{version}-%{release} glib2-devel
|
|
|
|
%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
|
|
%setup -q
|
|
|
|
%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
|
|
%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
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%changelog
|