SPECS: inflow.spec - generate png, not gif
blues
blues at pld-linux.org
Fri Aug 22 15:29:30 CEST 2008
Author: blues Date: Fri Aug 22 13:29:30 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- generate png, not gif
---- Files affected:
SPECS:
inflow.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/inflow.spec
diff -u SPECS/inflow.spec:1.3 SPECS/inflow.spec:1.4
--- SPECS/inflow.spec:1.3 Fri Aug 22 14:59:52 2008
+++ SPECS/inflow.spec Fri Aug 22 15:29:24 2008
@@ -10,6 +10,7 @@
# Source0-md5: 8eeb022187585aeb34f759c4d1203f92
Patch0: %{name}-config_location.patch
Patch1: %{name}-conf.patch
+Patch2: %{name}-png.patch
BuildRequires: rpm-perlprov
BuildRequires: sed
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -28,6 +29,7 @@
%setup -q -c
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__sed} -i -e 's@#! /bin/perl@#!/usr/bin/perl@' *
@@ -35,12 +37,16 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{perl_privlib},%{_pkgdir}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{perl_privlib},%{_pkgdir},/etc/cron.d}
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}
+cat > $RPM_BUILD_ROOT/etc/cron.d/%{name} << EOF
+0 * * * * news %{_bindir}/inflow-collect -cs
+EOF
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -49,6 +55,7 @@
%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(640,root,news) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}
%attr(755,root,root) %{_bindir}/*
%{perl_privlib}/%{name}.pm
%attr(750,root,news) %dir %{_pkgdir}
@@ -59,6 +66,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2008/08/22 13:29:24 blues
+- generate png, not gif
+
Revision 1.3 2008/08/22 12:59:52 blues
- added config_location and conf patches
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/inflow.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list