]> git.pld-linux.org Git - packages/sysdig.git/blame - sysdig.spec
new, version 0.1.101
[packages/sysdig.git] / sysdig.spec
CommitLineData
74fbb710
ER
1Summary: sysdig
2Name: sysdig
3Version: 0.1.101
4Release: 0.1
5License: GPL v2
6Group: Applications/System
7Source0: https://github.com/draios/sysdig/archive/%{version}/%{name}-%{version}.tar.gz
8# Source0-md5: 5fe96a3a0fd98b2157a40cb29af41afc
9URL: http://www.sysdig.org/
10BuildRequires: cmake >= 2.8
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13%description
14Sysdig instruments your physical and virtual machines at the OS level
15by installing into the Linux kernel and capturing system calls and
16other OS events. Then, using sysdig's command line interface, you can
17filter and decode these events in order to extract useful information.
18Sysdig can be used to inspect systems live in real-time, or to
19generate trace files that can be analyzed at a later stage.
20
21%prep
22%setup -q
23
24%build
25mkdir build
26cd build
27%cmake \
28 -DBUILD_DRIVER=OFF \
29 ..
30%{__make}
31
32%install
33rm -rf $RPM_BUILD_ROOT
34%{__make} -C build install \
35 DESTDIR=$RPM_BUILD_ROOT
36
37mv $RPM_BUILD_ROOT%{_prefix}/src/sysdig* $RPM_BUILD_ROOT%{_prefix}/src/sysdig-%{version}
38install -d $RPM_BUILD_ROOT%{_sysconfdir}
39mv $RPM_BUILD_ROOT%{_prefix}/etc/bash_completion.d $RPM_BUILD_ROOT%{_sysconfdir}
40rm -rf $RPM_BUILD_ROOT%{_datadir}/zsh
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
47%attr(755,root,root) %{_bindir}/csysdig
48%attr(755,root,root) %{_bindir}/sysdig
49%attr(755,root,root) %{_bindir}/sysdig-probe-loader
50%{_mandir}/man8/csysdig.8*
51%{_mandir}/man8/sysdig.8*
52%{_datadir}/%{name}
53%{_prefix}/src/sysdig-%{version}
54/etc/bash_completion.d/sysdig
This page took 0.076358 seconds and 4 git commands to generate.