]> git.pld-linux.org Git - packages/cacti-plugin-links.git/blame - cacti-plugin-links.spec
- BR: unzip
[packages/cacti-plugin-links.git] / cacti-plugin-links.spec
CommitLineData
0209c806 1%define plugin links
22e26e7a
MWP
2%include /usr/lib/rpm/macros.perl
3Summary: Plugin for Cacti - Links
4d7c7898 4Summary(pl.UTF-8): Wtyczka do Cacti - Links
22e26e7a
MWP
5Name: cacti-plugin-links
6Version: 0.3
1a424e3d 7Release: 1
22e26e7a
MWP
8License: GPL v2
9Group: Applications/WWW
10#!!!!problem with version
0209c806 11Source0: http://wotsit.thingy.com/haj/cacti/%{plugin}-%{version}.zip
22e26e7a 12# Source0-md5: cf90133193311a3e3d63d11d3528e7ba
1a424e3d 13Patch0: %{name}-config.patch
22e26e7a
MWP
14URL: http://wotsit.thingy.com/haj/cacti/links-plugin.html
15BuildRequires: rpm-perlprov
4996b8fe 16BuildRequires: unzip
22e26e7a
MWP
17Requires: cacti
18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
0209c806
ER
21%define cactidir /usr/share/cacti
22%define plugindir %{cactidir}/plugins/%{plugin}
23%define _sysconfdir /etc/cacti
22e26e7a
MWP
24
25%description
b42e46ee
JB
26This is a very simple plugin for the Cacti Plugin Architecture created
27by Jimmy Smith for Cacti 0.8.x (0.9.0 is slated to have a new plugin
28system from the start). It's just about the smallest plugin you can
29have - it lets you have a page of arbitrary HTML content behind one of
30the tabs at the top of the page. You could use this to integrate other
31tools into Cacti - say you want to have links to Smokeping, or Request
32Tracker, or Nagios...
22e26e7a 33
aef34016 34%description -l pl.UTF-8
b42e46ee 35To jest bardzo prosta wtyczka dla architektury wtyczek Cacti
aef34016
JR
36stworzonej przez Jimmy'ego Smitha dla Cacti 0.8.x (0.9.0 ma mieć nowy
37system wtyczek). Jest to zapewne najmniejsza wtyczka jaką można mieć -
38pozwala umieścić dowolną treść HTML pod jedną z zakładek na górnej
39stronie. Można użyć jej do zintegrowania innych narzędzi z Cacti - np.
40odnośników do Smokepinga, Request Trackera lub Nagiosa...
22e26e7a
MWP
41
42%prep
0209c806 43%setup -q -n %{plugin}
46f4d7a6 44%patch0 -p1
22e26e7a
MWP
45
46%install
47rm -rf $RPM_BUILD_ROOT
0209c806
ER
48install -d $RPM_BUILD_ROOT{%{plugindir},%{_sysconfdir}}
49cp -a editme.php $RPM_BUILD_ROOT%{_sysconfdir}/plugin-links.php
50cp -a . $RPM_BUILD_ROOT%{plugindir}
22e26e7a
MWP
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
0209c806
ER
57%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/plugin-links.php
58%{plugindir}
This page took 0.125895 seconds and 4 git commands to generate.