[lttng-ust] Initial import (#717748)

Yannick Brosseau greenscientist at fedoraproject.org
Wed Jun 20 13:08:03 UTC 2012


commit 9bd14137e7382092c2f7700eb2ecc665113566cc
Author: Yannick Brosseau <yannick.brosseau at gmail.com>
Date:   Wed Jun 20 09:06:37 2012 -0400

    Initial import (#717748)

 .gitignore     |    1 +
 lttng-ust.spec |   72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 74 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0788de6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/lttng-ust-2.0.4.tar.bz2
diff --git a/lttng-ust.spec b/lttng-ust.spec
new file mode 100644
index 0000000..4252ba5
--- /dev/null
+++ b/lttng-ust.spec
@@ -0,0 +1,72 @@
+Name:           lttng-ust
+Version:        2.0.4
+Release:        1%{?dist}
+License:        LGPLv2 and GPLv2 and MIT
+Group:          Development/Libraries
+Summary:        LTTng Userspace Tracer library
+URL:            http://lttng.org/ust/
+Source0:        http://lttng.org/files/lttng-ust/%{name}-%{version}.tar.bz2
+
+BuildRequires:  libuuid-devel texinfo systemtap-sdt-devel libtool
+BuildRequires:  userspace-rcu-devel >= 0.6.6
+
+%description
+This library may be used by user space applications to generate 
+tracepoints using LTTng.
+
+%package -n %{name}-devel
+Summary:        LTTng Userspace Tracer library headers and development files
+Group:          Development/Libraries
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+Requires:       userspace-rcu-devel
+
+%description -n %{name}-devel
+This library provides support for developing programs using 
+LTTng userspace tracing
+
+%prep
+%setup -q
+
+%build
+#Reinitialize libtool with the fedora version to remove Rpath
+libtoolize -cvfi
+%configure --docdir=%{_docdir}/%{name} --disable-static --with-sdt
+# --with-java-jdk
+# Java support was disabled in lttng-ust's stable-2.0 branch upstream in
+# http://git.lttng.org/?p=lttng-ust.git;a=commit;h=655a0d112540df3001f9823cd3b331b8254eb2aa
+# We can revisit enabling this when the next major version is released.
+
+make %{?_smp_mflags} V=1
+
+%install
+make DESTDIR=%{buildroot} install
+rm -vf %{buildroot}%{_libdir}/*.la
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%{_libdir}/*.so.*
+%{_mandir}/man3/lttng-ust.3.gz
+%dir %{_docdir}/%{name}
+%{_docdir}/%{name}/ChangeLog
+%{_docdir}/%{name}/README
+
+
+%files -n %{name}-devel
+%{_bindir}/lttng-gen-tp
+%{_mandir}/man1/lttng-gen-tp.1.gz
+%{_prefix}/include/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/lttng-ust*.pc
+
+%dir %{_docdir}/%{name}/examples
+%{_docdir}/%{name}/examples/*
+
+%changelog
+* Tue Jun 19 2012 Yannick Brosseau <yannick.brosseau at gmail.com> - 2.0.4-1
+- New upstream release
+- Updates from review comments
+* Thu Jun 14 2012 Yannick Brosseau <yannick.brosseau at gmail.com> - 2.0.3-1
+- New package, inspired by the one from OpenSuse
+
diff --git a/sources b/sources
index e69de29..0ee5843 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ff336f47ff54e8147bd892940b495785  lttng-ust-2.0.4.tar.bz2


More information about the scm-commits mailing list