X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fprobe-ulog.spec;h=42835cb64ca8d4fff3b7bf8b12fbdd90fdefc004;hb=545d6ccbb56cd5a809f033ca20d39f7b79254780;hp=234da132855b53174cabc881244e9aa712986897;hpb=d719b3c8fdc1685b5c090c0f32f4a66a6a2c6ac7;p=fprobe-ulog.git diff --git a/fprobe-ulog.spec b/fprobe-ulog.spec index 234da13..42835cb 100644 --- a/fprobe-ulog.spec +++ b/fprobe-ulog.spec @@ -1,17 +1,31 @@ -Name: fprobe-ulog -Version: 1.1.1 -Release: 1 +# +# $Id$ +# +%define url $URL$ + +# please keep these three lines as they are used by the tagging script +# see build/module-tag.py for details +%define name fprobe-ulog +%define version 1.1.2 +%define taglevel 2 + +%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} + +Name: %{name} +Version: %{version} +Release: %{release} Summary: fprobe-ulog: a NetFlow probe Group: Network/Monitoring License: GPL -URL: http://fprobe.sourceforge.net +#URL: http://fprobe.sourceforge.net +URL: %(echo %{url} | cut -d ' ' -f 2) Source0: %{name}-%{version}.tar.bz2 Buildroot: %{_tmppath}/%{name}-buildroot Provides: fprobe-ulog %description fprobe-ulog - libipulog-based tool that collect network traffic data and emit -it as NetFlow flows towards the specified collector. PlanetLab vesion. +it as NetFlow flows towards the specified collector. PlanetLab version. %prep %setup -q @@ -24,6 +38,7 @@ make rm -rf %{buildroot} make install DESTDIR=%{buildroot} install -d -v %{buildroot}/etc/init.d +mkdir -p %{buildroot}/var/local/fprobe install -m 755 -v fprobe-initscript %{buildroot}/etc/init.d/fprobe-ulog gzip --best %{buildroot}%{_mandir}/man8/fprobe-ulog.8 @@ -35,6 +50,7 @@ rm -rf %{buildroot} %doc AUTHORS ChangeLog NEWS README COPYING TODO /etc/init.d/fprobe-ulog /sbin/fprobe-ulog +/var/local/fprobe %{_mandir}/man8/fprobe-ulog.8.gz %post