27ac3cd
Version: 0.68.1
cc09909
Name: flow-tools
cc09909
Summary: Tool set for working with NetFlow data
27ac3cd
Release: 1%{?dist}
cc09909
Group: Applications/System
cc09909
License: BSD 
27ac3cd
URL: http://code.google.com/p/%{name}/
27ac3cd
Source0: http://%{name}.googlecode.com/files/%{name}-%{version}.tar.bz2
3209043
Requires: rrdtool-python
27ac3cd
BuildRequires: openssl-devel mysql-devel postgresql-devel zlib-devel 
27ac3cd
BuildRequires: bison flex tcp_wrappers
27ac3cd
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
cc09909
cc09909
%description
cc09909
Flow-tools is library and a collection of programs used to collect, 
cc09909
send, process, and generate reports from NetFlow data. The tools can be 
cc09909
used together on a single server or distributed to multiple servers for 
cc09909
large deployments. The flow-toools library provides an API for development 
cc09909
of custom applications for NetFlow export versions 1,5,6 and the 14 currently 
cc09909
defined version 8 subversions. A Perl and Python interface have been 
cc09909
contributed and are included in the distribution.
cc09909
cc09909
%package devel
cc09909
Summary: Development files for flow-tools
cc09909
Group: Development/Libraries
a381234
Requires: %{name} = %{version}-%{release} zlib-devel
cc09909
cc09909
%description devel
cc09909
Flow-tools is library and a collection of programs used to collect,
cc09909
send, process, and generate reports from NetFlow data. The tools can be
cc09909
used together on a single server or distributed to multiple servers for
cc09909
large deployments. The flow-toools library provides an API for development
cc09909
of custom applications for NetFlow export versions 1,5,6 and the 14 currently
cc09909
defined version 8 subversions. A Perl and Python interface have been
cc09909
contributed and are included in the distribution.
cc09909
cc09909
This package contains header files required to build applications that use
cc09909
libft.
cc09909
cc09909
%prep
27ac3cd
%setup -qn %{name}-%{version}
cc09909
cc09909
%build
27ac3cd
%configure \
27ac3cd
  --localstatedir=%{_localstatedir}/%{name} \
27ac3cd
  --sysconfdir=%{_sysconfdir}/%{name} \
27ac3cd
  --enable-static=no \
27ac3cd
  --with-mysql \
27ac3cd
  --with-postgresql \
27ac3cd
  --with-openssl
27ac3cd
cc09909
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
cc09909
cc09909
%install
cc09909
rm -rf $RPM_BUILD_ROOT
27ac3cd
make DESTDIR=$RPM_BUILD_ROOT install
cc09909
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
27ac3cd
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/%{name}
cc09909
cc09909
%clean
cc09909
rm -rf $RPM_BUILD_ROOT
cc09909
cc09909
%post -p /sbin/ldconfig
cc09909
cc09909
%postun -p /sbin/ldconfig
cc09909
cc09909
%files 
cc09909
%defattr(-,root,root)
27ac3cd
%doc README README.fork INSTALL TODO COPYING SECURITY ChangeLog ChangeLog.old 
27ac3cd
%doc docs/*.html
cc09909
%{_mandir}/man1/*
cc09909
%{_bindir}/*
cc09909
%{_libdir}/*.so.*
27ac3cd
%dir %{_sysconfdir}/%{name}/
27ac3cd
%dir %{_sysconfdir}/%{name}/cfg/
27ac3cd
%dir %{_sysconfdir}/%{name}/sym/
27ac3cd
%config(noreplace) %{_sysconfdir}/%{name}/cfg/*
27ac3cd
%config(noreplace) %{_sysconfdir}/%{name}/sym/*
27ac3cd
%{_localstatedir}/%{name}/
27ac3cd
%dir %{_datadir}/%{name}/
27ac3cd
%{_datadir}/%{name}/*
cc09909
cc09909
%files devel
cc09909
%defattr(-,root,root,-)
cc09909
%{_libdir}/*.so
cc09909
%{_includedir}/*.h
cc09909
cc09909
%changelog
27ac3cd
* Sun Aug  5 2007 Paul P Komkoff Jr <i@stingr.net> - 0.68.1-1
27ac3cd
- New upstream release
27ac3cd
27ac3cd
* Sun Jul 15 2007 Paul P Komkoff Jr <i@stingr.net> - 0.68.1-0.1.rc3
27ac3cd
- New upstream rc
27ac3cd
27ac3cd
* Sun Jul 15 2007 Paul P Komkoff Jr <i@stingr.net> - 0.68.1-0.1.rc2
27ac3cd
- Switch to 0.68.1 fork
27ac3cd
- Drop all patches
27ac3cd
- Sanitize spec
27ac3cd
fb35041
* Sun Mar 25 2007 Paul P Komkoff Jr <i@stingr.net> - 0.68-16
fb35041
- getopt() is now in unistd.h
fb35041
3209043
* Sun Mar 18 2007 Paul P Komkoff Jr <i@stingr.net> - 0.68-15
3209043
- Add runtime dependency for python-rrdtool
3209043
ac8187c
* Fri Dec 15 2006 Paul P. Komkoff Jr <i@stingr.net>
ac8187c
- rebuilt
ac8187c
a119c43
* Thu Dec 14 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.68-13
a119c43
- Rebuild for new Postgres
a119c43
5314da1
* Thu Nov 16 2006 Paul P Komkoff Jr <i@stingr.net> - 0.68-12
5314da1
- Fix flow report 72 (by reaper@surnet.ru) bz#212928
5314da1
7796f6e
* Sun Sep 10 2006 Paul P Komkoff Jr <i@stingr.net> - 0.68-11
7796f6e
- rebuild
7796f6e
c626ff9
* Sun Jul  9 2006 Paul P Komkoff Jr <i@stingr.net> 0.68-10
c626ff9
- Rebuild
c626ff9
897d754
* Sun Jul  9 2006 Paul P Komkoff Jr <i@stingr.net> 0.68-9
897d754
- Fix build in mock with minimal build environment #197706
897d754
2edfb0e
* Sat Jun 10 2006 Paul P Komkoff Jr <i@stingr.net> 0.68-8
2edfb0e
- Split patches in more convenient way (and bug upstream)
2edfb0e
- Fix 2 unitialized variable bugs
2edfb0e
b76e121
* Sun Feb 19 2006 Paul P Komkoff Jr <i@stingr.net> 0.68-7
b76e121
- Rebuild
b76e121
b3df5d4
* Mon Nov 14 2005 Paul P Komkoff Jr <i@stingr.net> 0.68-6
b3df5d4
- Rebuild
b3df5d4
3eeb44a
* Sun Oct 30 2005 Paul P Komkoff Jr <i@stingr.net> 0.68-5
3eeb44a
- Fix flow-capture segfaults on platforms with 64bit time_t
3eeb44a
a285761
* Thu Oct 20 2005 Paul P Komkoff Jr <i@stingr.net> 0.68-4
a285761
- Fix accidential damage
a285761
a381234
* Wed Oct 19 2005 Paul P Komkoff Jr <i@stingr.net> 0.68-3
a381234
- add zlib-devel to build-requires of main package and to
a381234
  requires of -devel package
a381234
cc09909
* Tue Sep  6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.68-2
cc09909
- simplify %%files
cc09909
- use more macros
cc09909
- change Group to Application/System
cc09909
- own/create %{_localstatedir}/ft/
cc09909
- add BR: autoconf
cc09909
- don't need generic INSTALL
cc09909
- mark config files as such
cc09909
- own all directories we create
cc09909
- run ldconfig on post/postun
cc09909
cc09909
* Tue Sep  6 2005 Paul P Komkoff Jr <i@stingr.net> 0.68-1
cc09909
- Submit to fedora-extras
cc09909
- Change volatile data location to /var/ft and nonvolatile
cc09909
  to /etc/flow-tools (FHS)
cc09909
- Make libft shared library
cc09909
- Split to plain/devel
cc09909
cc09909
* Fri Jan  7 2004 William Emmanuel S. Yu <wyu@ateneo.edu>
cc09909
- updated RPM file for version 0.67
cc09909
cc09909
* Tue Aug  8 2003 William Emmanuel S. Yu <wyu@ateneo.edu>
cc09909
- fixed SQL bug
cc09909
- update flow-export documentation
cc09909
cc09909
* Tue Apr 29 2003 William Emmanuel S. Yu <wyu@ateneo.edu>
cc09909
- add support for checking null symbols filename
cc09909
cc09909
* Fri Apr  4 2003 William Emmanuel S. Yu <wyu@ateneo.edu>
cc09909
- updated RPM file for version 0.66
cc09909
cc09909
* Fri Apr  4 2003 William Emmanuel S. Yu <wyu@ateneo.edu>
cc09909
- updated RPM file for version 0.65
cc09909
- included PostgreSQL support patch
cc09909
cc09909
* Mon Feb  3 2003 Larry Fahnoe <fahnoe@FahnoeTech.com>
cc09909
- added makefile patches to use RPM_OPT_FLAGS
cc09909
- added manpages and html files to spec file
cc09909
cc09909
* Tue Dec 17 2002 William Emmanuel S. Yu <wyu@ateneo.edu>
cc09909
- added tagging and ip-port patches
cc09909
cc09909
* Thu Dec 12 2002 William Emmanuel S. Yu <wyu@ateneo.edu>
cc09909
- updated RPM file for version 0.63
cc09909
cc09909
* Wed Oct 16 2002 William Emmanuel S. Yu <wyu@ateneo.edu>
cc09909
- initial creation of RPM file for version 0.62