packages: nfdump/nfdump.spec - upgraded to 1.6.1; switched to autocrap buil...

gotar gotar at pld-linux.org
Fri Apr 9 18:38:46 CEST 2010


Author: gotar                        Date: Fri Apr  9 16:38:46 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- upgraded to 1.6.1; switched to autocrap build,
- enabled nfprofile

---- Files affected:
packages/nfdump:
   nfdump.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: packages/nfdump/nfdump.spec
diff -u packages/nfdump/nfdump.spec:1.10 packages/nfdump/nfdump.spec:1.11
--- packages/nfdump/nfdump.spec:1.10	Sun Jun 21 00:57:45 2009
+++ packages/nfdump/nfdump.spec	Fri Apr  9 18:38:40 2010
@@ -2,17 +2,20 @@
 Summary:	Netflow processing tools
 Summary(pl.UTF-8):	Narzędzia do przetwarzania ruchu sieciowego
 Name:		nfdump
-Version:	1.5.8
+Version:	1.6.1
 Release:	1
 License:	BSD
 Group:		Applications
 Source0:	http://dl.sourceforge.net/nfdump/%{name}-%{version}.tar.gz
-# Source0-md5:	f314513652df18259f8303c542918cbb
+# Source0-md5:	02646022b2ae01131cb1fd5231393a8a
 Source1:	http://www.ripe.net/ripe/meetings/ripe-50/presentations/ripe50-plenary-tue-nfsen-%{name}.pdf
 # Source1-md5:	6240259f9e54bc78894e99ea1deef776
 URL:		http://nfdump.sourceforge.net/
+BuildRequires:	autoconf
+BuildRequires:	automake
 BuildRequires:	bison
 BuildRequires:	flex
+BuildRequires:	rrdtool-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -27,23 +30,25 @@
 %setup -q
 
 %build
-%configure
-%{__make} -j1
+%configure \
+	--enable-nfprofile \
+	--enable-sflow
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
 
-install *.1 $RPM_BUILD_ROOT%{_mandir}/man1
-install nfcapd nfdump nfexpire nfgen nfreplay nftest $RPM_BUILD_ROOT%{_bindir}
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README ToDo
-%attr(755,root,root) %{_bindir}/*
+%doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_bindir}/nf*
+%attr(755,root,root) %{_bindir}/sfcapd
 %{_mandir}/man1/*
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -52,6 +57,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2010/04/09 16:38:40  gotar
+- upgraded to 1.6.1; switched to autocrap build,
+- enabled nfprofile
+
 Revision 1.10  2009/06/20 22:57:45  gotar
 - make -j1 (other way breaks on th-i486)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nfdump/nfdump.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list