commit 4209024326a58bb9364d30d341fc9a9ce2c94d460f83c4046573878f297f69b3 Author: Tony Jones Date: Wed Feb 29 18:21:25 2012 +0000 Accepting request 107578 from home:jones_tony:branches:devel:tools:lttng OBS-URL: https://build.opensuse.org/request/show/107578 OBS-URL: https://build.opensuse.org/package/show/devel:tools:lttng/babeltrace?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/babeltrace-1.0.0-pre2.tar.bz2 b/babeltrace-1.0.0-pre2.tar.bz2 new file mode 100644 index 0000000..20d3af6 --- /dev/null +++ b/babeltrace-1.0.0-pre2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3e3a6811d0e9d1e9e0db2922f7ccd863dbef1be21d9004d5a32258c4231bc5fe +size 410346 diff --git a/babeltrace.changes b/babeltrace.changes new file mode 100644 index 0000000..839fe83 --- /dev/null +++ b/babeltrace.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Mon Feb 27 22:37:52 UTC 2012 - tonyj@suse.com + +- Update to version 1.0.0-pre2 + +------------------------------------------------------------------- +Wed Jan 4 19:30:29 UTC 2012 - tonyj@suse.com + +- Update to version 0.8 + diff --git a/babeltrace.spec b/babeltrace.spec new file mode 100644 index 0000000..d254e42 --- /dev/null +++ b/babeltrace.spec @@ -0,0 +1,84 @@ +%define internal_version 1.0.0-pre2 +Name: babeltrace +Version: 1.0.0.pre2 +Release: 0 +License: GPL v2 or later, MIT +Source: %{name}-%{internal_version}.tar.bz2 +Group: Development/Languages/C and C++ +Summary: Common Trace Format Babel Tower +BuildRequires: pkgconfig bison flex glib2-devel popt-devel libuuid-devel +BuildRoot: %{_tmppath}/%{name}-%{internal_version}-build +ExclusiveArch: %ix86 x86_64 ppc ppc64 s390 s390x + +%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 -n %{name}-%{internal_version} + +%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 +#chown -R root %buildroot%{_prefix}/include/babeltrace +#chgrp -R root %buildroot%{_prefix}/include/babeltrace +#chmod -R 644 %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 + +%changelog