SPECS: inflow.spec (NEW) - initial

blues blues at pld-linux.org
Thu Aug 21 17:02:15 CEST 2008


Author: blues                        Date: Thu Aug 21 15:02:15 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   inflow.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/inflow.spec
diff -u /dev/null SPECS/inflow.spec:1.1
--- /dev/null	Thu Aug 21 17:02:15 2008
+++ SPECS/inflow.spec	Thu Aug 21 17:02:09 2008
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.perl
+Summary:	inflow - flow stats for INN
+Name:		inflow
+Version:	2.4.0
+Release:	0.9
+License:	GPL v2+
+Group:		Networking/Daemons
+Source0:	ftp://ftp.uni-kassel.de/pub/net/news/unix/inflow/%{name}-%{version}.tar.gz
+# Source0-md5:	8eeb022187585aeb34f759c4d1203f92
+BuildRequires:	rpm-perlprov
+BuildRequires:	sed
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_sysconfdir	/etc/%{name}
+
+%description
+The inflow package is a set of currently four scripts written to find
+out where you get your News from, both in number of articles and in
+terms of MBytes, how much the articles are delayed, and how long your 
+queues are. In addition, some statistics about News hierarchies
+are available, with special emphasis given to the alt.* groups.
+
+%prep
+%setup -q -c
+
+%build
+%{__sed} -i -e 's@#! /bin/perl@#!/usr/bin/perl@' *
+%{__sed} -i -e 's@#! /usr/local/bin/perl@#!/usr/bin/perl@' *
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{perl_privlib}}
+
+install inflow-collect inflow-plot inflow-stat outflow-stat $RPM_BUILD_ROOT%{_bindir}
+install inflow.conf olm-lookup $RPM_BUILD_ROOT%{_sysconfdir}
+install inflow.pm $RPM_BUILD_ROOT%{perl_privlib}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc inflow.CHANGES inflow.HELP inflow.README
+%attr(750,root,news) %dir %{_sysconfdir}
+%attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
+%attr(755,root,root) %{_bindir}/*
+%{perl_privlib}/%{name}.pm
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/08/21 15:02:09  blues
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list