From 22e26e7a31be7548c6c991ff5ffba37f0b2b3337 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20=27Wolvverine=27=20Panasiewicz?= Date: Fri, 17 Mar 2006 12:17:36 +0000 Subject: [PATCH] - init - version 0.3 Changed files: cacti-plugin-links.spec -> 1.1 --- cacti-plugin-links.spec | 47 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 cacti-plugin-links.spec diff --git a/cacti-plugin-links.spec b/cacti-plugin-links.spec new file mode 100644 index 0000000..79bbe00 --- /dev/null +++ b/cacti-plugin-links.spec @@ -0,0 +1,47 @@ +%define namesrc links +%include /usr/lib/rpm/macros.perl +Summary: Plugin for Cacti - Links +Summary(pl): Wtyczka do Cacti - Links +Name: cacti-plugin-links +Version: 0.3 +Release: 0.1 +License: GPL v2 +Group: Applications/WWW +#!!!!problem with version +Source0: http://wotsit.thingy.com/haj/cacti/%{namesrc}-%{version}.zip +# Source0-md5: cf90133193311a3e3d63d11d3528e7ba +URL: http://wotsit.thingy.com/haj/cacti/links-plugin.html +BuildRequires: rpm-perlprov +Requires: cacti +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define webcactipluginroot /usr/share/cacti/plugins/%{namesrc} + +%description +Plugin for Cacti -This is a very simple plugin for the Cacti Plugin +Architecture created by Jimmy Smith for Cacti 0.8.x (0.9.0 is slated to +have a new plugin system from the start). It's just about the smallest +plugin you can have - it lets you have a page of arbitrary HTML content +behind one of the tabs at the top of the page. You could use this to +integrate other tools into Cacti - say you want to have links to +Smokeping, or Request Tracker, or Nagios... + +%description -l pl +Wtyczka do Cacti - + +%prep +%setup -q -n %{namesrc} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{webcactipluginroot} +cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +#%doc LICENSE README +%{webcactipluginroot} -- 2.44.0