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