]> git.pld-linux.org Git - packages/cacti-plugin-superlinks.git/blob - cacti-plugin-superlinks.spec
- init
[packages/cacti-plugin-superlinks.git] / cacti-plugin-superlinks.spec
1 %define         namesrc superlinks
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-superlinks
6 Version:        0.71
7 Release:        1
8 License:        GPL v2
9 Group:          Applications/WWW
10 Source0:        http://wotsit.thingy.com/haj/cacti/%{namesrc}-%{version}.zip
11 # Source0-md5:  2fe58f1fe66071c90b2c4a9a68ed8fdb
12 URL:            http://wotsit.thingy.com/haj/cacti/superlinks-plugin.html
13 BuildRequires:  rpm-perlprov
14 Requires:       cacti
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         webcactipluginroot /usr/share/cacti/plugins/%{namesrc}
19
20 %description
21 This is a plugin for the Cacti Plugin Architecture created by Jimmy
22 Conner for Cacti 0.8.x (0.9.0 is slated to have a new plugin system
23 from the start). It it lets you have any number of pages of arbitrary
24 HTML content behind tabs at the top of the page or extra entries on
25 the Console menu. You could use this to integrate other tools into
26 Cacti - say you want to have links to Smokeping, or Request Tracker,
27 or Nagios...
28
29 It is intended as a replacement for the Links plugin that I wrote some
30 time ago, but with the following key improvements:
31
32   * Any number of tabs/menu items
33   * For tabs, a Cacti-style tab image is generated, so your additional
34   pages are integrated into Cacti better
35   * It uses Weathermap's access-control code, so you can make tabs
36   that are only visible to certain users
37   * In addition to tabs, there is the option to make Console Menu
38   items, and 'Welcome Page' items.
39   * You can embed an external webpage directly, without writing any
40   HTML, if that's all you need. 
41
42 %description -l pl.UTF-8
43 To jest bardzo prosta wtyczka dla architektury wtyczek Cacti
44 stworzonej przez Jimmy'ego Smitha dla Cacti 0.8.x (0.9.0 ma mieć nowy
45 system wtyczek). Pozwala umieścić dowolną treść HTML jako zakładkę na
46 górnej stronie. Można użyć jej do zintegrowania innych narzędzi z Cacti
47 - np. odnośników do Smokepinga, Request Trackera lub Nagiosa...
48
49 %prep
50 %setup -q -n %{namesrc}
51 # undos the source
52 find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{webcactipluginroot}
57 cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot}
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc README
65 %{webcactipluginroot}
This page took 0.056021 seconds and 3 git commands to generate.