SPECS: cacti-plugin-links.spec - patch config
wolvverine
wolvverine at pld-linux.org
Wed Dec 26 02:52:36 CET 2007
Author: wolvverine Date: Wed Dec 26 01:52:36 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- patch config
---- Files affected:
SPECS:
cacti-plugin-links.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/cacti-plugin-links.spec
diff -u SPECS/cacti-plugin-links.spec:1.4 SPECS/cacti-plugin-links.spec:1.5
--- SPECS/cacti-plugin-links.spec:1.4 Mon Feb 12 22:23:50 2007
+++ SPECS/cacti-plugin-links.spec Wed Dec 26 02:52:30 2007
@@ -5,12 +5,13 @@
Summary(pl.UTF-8): Wtyczka do Cacti - Links
Name: cacti-plugin-links
Version: 0.3
-Release: 0.1
+Release: 1
License: GPL v2
Group: Applications/WWW
#!!!!problem with version
Source0: http://wotsit.thingy.com/haj/cacti/%{namesrc}-%{version}.zip
# Source0-md5: cf90133193311a3e3d63d11d3528e7ba
+Patch0: %{name}-config.patch
URL: http://wotsit.thingy.com/haj/cacti/links-plugin.html
BuildRequires: rpm-perlprov
Requires: cacti
@@ -18,6 +19,7 @@
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define webcactipluginroot /usr/share/cacti/plugins/%{namesrc}
+%define webcactipluginconf %{_sysconfdir}/cacti
%description
This is a very simple plugin for the Cacti Plugin Architecture created
@@ -41,7 +43,8 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{webcactipluginroot}
+install -d $RPM_BUILD_ROOT{%{webcactipluginroot},%{webcactipluginconf}}
+install editme.php $RPM_BUILD_ROOT%{webcactipluginconf}/plugin-links.php
cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot}
%clean
@@ -49,7 +52,7 @@
%files
%defattr(644,root,root,755)
-#%doc LICENSE README
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{webcactipluginconf}/plugin-links.php
%{webcactipluginroot}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -58,7 +61,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
-Revision 1.4 2007-02-12 21:23:50 glen
+Revision 1.5 2007-12-26 01:52:30 wolvverine
+- patch config
+
+Revision 1.4 2007/02/12 21:23:50 glen
- tabs in preamble
Revision 1.3 2007/02/12 00:48:41 baggins
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cacti-plugin-links.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list