From 0779472f32846d78b1653a2683119373122c73f4dcc0e1888cdf30feb34c83c5 Mon Sep 17 00:00:00 2001 From: Tony Jones Date: Wed, 29 Feb 2012 18:21:25 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + babeltrace-1.0.0-pre2.tar.bz2 | 3 ++ babeltrace.changes | 10 +++++ babeltrace.spec | 84 +++++++++++++++++++++++++++++++++++ 5 files changed, 121 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 babeltrace-1.0.0-pre2.tar.bz2 create mode 100644 babeltrace.changes create mode 100644 babeltrace.spec 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc 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