2 %include /usr/lib/rpm/macros.perl
3 Summary: Plugin for Cacti - Links
4 Summary(pl): Wtyczka do Cacti - Links
5 Name: cacti-plugin-links
9 Group: Applications/WWW
10 #!!!!problem with version
11 Source0: http://wotsit.thingy.com/haj/cacti/%{namesrc}-%{version}.zip
12 # Source0-md5: cf90133193311a3e3d63d11d3528e7ba
13 URL: http://wotsit.thingy.com/haj/cacti/links-plugin.html
14 BuildRequires: rpm-perlprov
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define webcactipluginroot /usr/share/cacti/plugins/%{namesrc}
22 Plugin for Cacti -This is a very simple plugin for the Cacti Plugin
23 Architecture created by Jimmy Smith for Cacti 0.8.x (0.9.0 is slated to
24 have a new plugin system from the start). It's just about the smallest
25 plugin you can have - it lets you have a page of arbitrary HTML content
26 behind one of the tabs at the top of the page. You could use this to
27 integrate other tools into Cacti - say you want to have links to
28 Smokeping, or Request Tracker, or Nagios...
34 %setup -q -n %{namesrc}
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{webcactipluginroot}
39 cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot}
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)