From e4a7ad877a9b88eb2287ee1dc340ff8f7c85de03 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20=27Wolvverine=27=20Panasiewicz?= Date: Fri, 17 Mar 2006 11:30:30 +0000 Subject: [PATCH] - init - version 0.1 Changed files: cacti-plugin-update.spec -> 1.1 --- cacti-plugin-update.spec | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 cacti-plugin-update.spec diff --git a/cacti-plugin-update.spec b/cacti-plugin-update.spec new file mode 100644 index 0000000..02301a8 --- /dev/null +++ b/cacti-plugin-update.spec @@ -0,0 +1,45 @@ +%define namesrc update +%include /usr/lib/rpm/macros.perl +Summary: Plugin for Cacti - Update +Summary(pl): Wtyczka do Cacti - Update +Name: cacti-plugin-update +Version: 0.1 +Release: 0.1 +License: GPL v2 +Group: Applications/WWW +#!!!!problem with version +Source0: http://download.cactiusers.org/downloads/%{namesrc}.tar.gz +# Source0-md5: 0f4c0e881f35b3d6a23ea326f703d47d +URL: http://www.cactiusers.org/ +BuildRequires: rpm-perlprov +Requires: cacti +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define webcactipluginroot /usr/share/cacti/plugins/%{namesrc} + +%description +its an "administrative" plugin to help you keep track of all your +plugin versions. It will also check for Updates to Cacti, the Plugin +Architecture, and your Plugins and will alert you when it finds new +versions. Currently it does not import its own table, so you will have +to do that yourself. I should have that issue fixed in the next version. + + %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 CHANGES LICENSE README +%{webcactipluginroot} -- 2.44.0