Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
netflow
>
ntopng
> ntopng.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File ntopng.spec of Package ntopng (Revision 5)
Currently displaying revision
5
,
show latest
Name: ntopng Version: 1.0 Release: 0 Summary: Next Generation NTOP Url: http://www.ntop.org/ License: GPLv3 Group: System/Monitoring Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}-init.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gcc-c++ BuildRequires: libpcap-devel %if 0%{?suse_version} > 1030 BuildRequires: libgnutls-devel %else BuildRequires: gnutls-devel %endif BuildRequires: libxml2-devel BuildRequires: glib2-devel BuildRequires: libGeoIP-devel %description Next generation is a rewritten version of NTOP using C++. %prep %setup %patch0 %build %configure %__make %install mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_datadir}/ntopng %{buildroot}%{_mandir}/man8 mkdir -p %{buildroot}%{_datadir}/ntopng/third-party/redis-lua/src/ mkdir -p %{buildroot}/etc/init %{buildroot}/etc/init.d %{buildroot}/etc/ntopng cp ntopng %{buildroot}%{_bindir} cp ntopng.8 %{buildroot}%{_mandir}/man8 cp -r httpdocs scripts %{buildroot}%{_datadir}/ntopng cp packages/etc/init/ntopng.conf %{buildroot}/etc/init cp packages/etc/init.d/ntopng %{buildroot}/etc/init.d cp third-party/redis-lua/src/redis.lua %{buildroot}%{_datadir}/ntopng/third-party/redis-lua/src/ find %{buildroot} -name ".svn" | xargs /bin/rm -rf find %{buildroot} -name "*~" | xargs /bin/rm -f # %files %defattr(-,root,root) %{_bindir}/ntopng %{_mandir}/man8/ntopng.8* %dir /etc/ntopng %dir /etc/init /etc/init/ntopng.conf /etc/init.d/ntopng %dir %{_datadir}/ntopng %{_datadir}/ntopng/* %doc README.* %clean rm -rf %{buildroot} %changelog