]> git.pld-linux.org Git - packages/osquery.git/blame - osquery.spec
include third-party tarball, update BR
[packages/osquery.git] / osquery.spec
CommitLineData
97442b03
ER
1Summary: osquery is an operating system instrumentation toolchain
2Name: osquery
3Version: 1.5.0
4Release: 0.1
5License: BSD
6Group: Applications/Databases
7Source0: https://github.com/facebook/osquery/archive/%{version}/%{name}-%{version}.tar.gz
8# Source0-md5: af772f7fe7b9b9a3e8ef2abfa69c2d04
746ea4b4
ER
9Source1: https://github.com/osquery/third-party/archive/%{version}/%{name}-third-party-%{version}.tar.gz
10# Source1-md5: 940f351cef7965b0f57df70d54885ded
97442b03 11URL: https://osquery.io/
746ea4b4
ER
12BuildRequires: bzip2-devel
13BuildRequires: cryptsetup-devel
14BuildRequires: device-mapper-devel
15BuildRequires: doxygen
16BuildRequires: gflags-devel
17BuildRequires: iptables-devel
18BuildRequires: libblkid-devel
19BuildRequires: libdpkg-devel
20BuildRequires: libgcrypt-devel
21BuildRequires: libuuid-devel
22BuildRequires: ncurses-devel
23BuildRequires: openssl-devel
24BuildRequires: python
25BuildRequires: readline-devel
26BuildRequires: thrift-devel
27BuildRequires: udev-devel
97442b03
ER
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31osquery exposes an operating system as a high-performance relational
32database. This allows you to write SQL-based queries to explore
33operating system data. With osquery, SQL tables represent abstract
34concepts such as running processes, loaded kernel modules, open
35network connections, browser plugins, hardware events or file hashes.
36
37%prep
746ea4b4
ER
38%setup -q -a1
39
40mv third-party-%{version}/* third-party
97442b03
ER
41
42%build
746ea4b4
ER
43install -d build
44cd build
45%cmake \
46 ..
47%{__make} \
48 CTEST_OUTPUT_ON_FAILURE=1
97442b03
ER
49
50%install
51rm -rf $RPM_BUILD_ROOT
746ea4b4 52%{__make} -C build install \
97442b03
ER
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%dir %{_sysconfdir}/%{name}
61%attr(755,root,root) %{_bindir}/osqueryctl
62%attr(755,root,root) %{_bindir}/osqueryd
63%attr(755,root,root) %{_bindir}/osqueryi
64%{_datadir}/%{name}
65%dir /var/log/%{name}
This page took 0.087877 seconds and 4 git commands to generate.