[packages/bcc-bpf] - almost raw
arekm
arekm at pld-linux.org
Fri Oct 28 10:34:36 CEST 2016
commit cb11041209ca85f77231da6c39496f1aab4fc61c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Oct 28 10:34:22 2016 +0200
- almost raw
bcc-bpf.spec | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 79 insertions(+)
---
diff --git a/bcc-bpf.spec b/bcc-bpf.spec
new file mode 100644
index 0000000..da320f3
--- /dev/null
+++ b/bcc-bpf.spec
@@ -0,0 +1,79 @@
+Summary: Tools for BPF-based Linux IO analysis, networking, monitoring, and more
+Name: bcc-bpf
+Version: 0.2.0
+Release: 0.1
+License: Apache v2.0
+Group: Development/Languages
+URL: https://github.com/iovisor/bcc
+Source0: https://github.com/iovisor/bcc/archive/v%{version}.tar.gz
+# Source0-md5: eed71341f397c72a50b45b376060b17d
+BuildRequires: bison
+BuildRequires: cmake >= 2.8.7
+BuildRequires: elfutils-libelf-devel-static
+BuildRequires: flex
+BuildRequires: gcc
+BuildRequires: libstdc++-devel
+BuildRequires: python-devel
+
+%description
+Python bindings for BPF Compiler Collection (BCC). Control a BPF
+program from userspace.
+
+%package libs
+%description libs
+Shared Library for BPF Compiler Collection (BCC)
+
+%package -n python-%{name}
+Summary: Python bindings to %{name}
+Summary: libraries for %{name}
+
+%description -n python-%{name}
+Python bindings for BPF Compiler Collection (BCC)
+
+%package tools
+Summary: Tools for BPF Compiler Collection (BCC)
+
+%description tools
+Command line tools for BPF Compiler Collection (BCC)
+
+%package -n lua-%{name}
+Summary: LUA bindings to %{name}
+
+%description -n lua-%{name}
+Standalone tool to run BCC tracers written in Lua
+
+%prep
+%setup -q -n bcc-%{version}
+
+%build
+install -d build
+cd build
+%cmake ..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -n python-%{name}
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/bcc*
+
+%files libs
+%defattr(644,root,root,755)
+%{_libdir}/*
+%{_includedir}/bcc/*
+
+%files tools
+%defattr(644,root,root,755)
+%{_datadir}/bcc/tools/*
+%{_datadir}/bcc/man/*
+
+%files -n lua-%{name}
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/bcc-lua
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bcc-bpf.git/commitdiff/cb11041209ca85f77231da6c39496f1aab4fc61c
More information about the pld-cvs-commit
mailing list