]> git.pld-linux.org Git - packages/cacti-plugin-links.git/blob - cacti-plugin-links.spec
- init
[packages/cacti-plugin-links.git] / cacti-plugin-links.spec
1 %define         namesrc links
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
6 Version:        0.3
7 Release:        0.1
8 License:        GPL v2
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
15 Requires:       cacti
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         webcactipluginroot /usr/share/cacti/plugins/%{namesrc}
20
21 %description
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...
29
30 %description -l pl
31 Wtyczka do Cacti - 
32
33 %prep
34 %setup -q -n %{namesrc}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{webcactipluginroot}
39 cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 #%doc LICENSE README 
47 %{webcactipluginroot}
This page took 0.799989 seconds and 3 git commands to generate.