Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
netflow
>
cflowd
> cflowd.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File cflowd.spec of Package cflowd
%define pkg_version 2-1-b1 Name: cflowd Version: 2.1.b1 Release: 1 Group: Development Summary: cflowd is a flow analysis tool License: unknown Source0: %{name}-%{pkg_version}.tar.gz Source1: configuration.ps.gz Patch0: %{name}-%{pkg_version}.patch Patch1: %{name}-%{pkg_version}-djp.patch Patch2: %{name}-%{pkg_version}-iostream.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: flex gcc-c++ arts++-devel arts++ BuildRequires: ghostscript %if 0%{?suse_version} %define _docroot /srv/www %endif %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} %define _docroot /var/www %endif %description cflowd is a flow analysis tool currently used for analyzing Cisco's NetFlow enabled switching method. The current release (described below) includes the collections, storage, and basic analysis modules for cflowd and for arts++ libraries. This analysis package permits data collection and analysis by ISPs and network engineers in support of capacity planning, trends analysis, and characterization of workloads in a network service provider environment. Other areas where cflowd may prove useful include usage tracking for Web hosting, accounting and billing, network planning and analysis, network monitoring, developing user profiles, data warehousing and mining, as well as security-related investigations. %package devel Group: Development Summary: libs and includes Requires: arts++-devel %description devel This package contains the header files and development libraries of cflowd %package doc Group: Documentation Summary: Configuration docs for cflowd %description doc This package contains configuration documentation for cflowd. %prep %setup -n %{name}-%{pkg_version} %patch0 -p1 %patch1 -p0 %patch2 -p1 ##autoreconf -fi %configure --enable-shared=yes \ --with-artspp=%{_prefix} \ --with-flexdir=%{_prefix} %build %__make %install export DESTDIR=%{buildroot} export HTDOCDIR=%{_docroot} mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_mandir}/manl mkdir -p %{buildroot}%{_includedir} mkdir -p %{buildroot}%{_docroot} %__make DESTDIR=%{buildroot} HTDOCDIR=%{_docroot} install zcat %{S:1} | ps2pdf - Configuration.pdf %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc ChangeLog INSTALL WishList %{_bindir}/* %{_sbindir]/* %{_libdir}/*.so* %{_mandir}/manl %{_docroot} %files devel %defattr(-,root,root) %{_libdir}/*.a %{_libdir}/*.la %{_includedir}/*.h* %files doc %defattr(-,root,root) %doc Configuration.pdf %changelog * Sat Aug 30 2008 Carsten Schoene <cs@linux-administrator.com> - initial build