]> git.pld-linux.org Git - packages/cacti-plugin-links.git/blob - cacti-plugin-links.spec
b2ba2c41fec9b8e1172684720b5b17c903468d8b
[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.UTF-8):      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 This is a very simple plugin for the Cacti Plugin Architecture created
23 by Jimmy Smith for Cacti 0.8.x (0.9.0 is slated to have a new plugin
24 system from the start). It's just about the smallest plugin you can
25 have - it lets you have a page of arbitrary HTML content behind one of
26 the tabs at the top of the page. You could use this to integrate other
27 tools into Cacti - say you want to have links to Smokeping, or Request
28 Tracker, or Nagios...
29
30 %description -l pl.UTF-8
31 To jest bardzo prosta wtyczka dla architektury wtyczek Cacti
32 stworzonej przez Jimmy'ego Smitha dla Cacti 0.8.x (0.9.0 ma mieć nowy
33 system wtyczek). Jest to zapewne najmniejsza wtyczka jaką można mieć -
34 pozwala umieścić dowolną treść HTML pod jedną z zakładek na górnej
35 stronie. Można użyć jej do zintegrowania innych narzędzi z Cacti - np.
36 odnośników do Smokepinga, Request Trackera lub Nagiosa...
37
38 %prep
39 %setup -q -n %{namesrc}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{webcactipluginroot}
44 cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 #%doc LICENSE README 
52 %{webcactipluginroot}
This page took 0.062952 seconds and 3 git commands to generate.