]>
Commit | Line | Data |
---|---|---|
564d4360 | 1 | %define plugin reports |
84a9c40c MWP |
2 | %include /usr/lib/rpm/macros.perl |
3 | Summary: Plugin for Cacti - Reports | |
876b366a | 4 | Summary(pl.UTF-8): Wtyczka do Cacti - Reports |
84a9c40c | 5 | Name: cacti-plugin-reports |
69f8ab60 | 6 | Version: 0.3a |
84a9c40c MWP |
7 | Release: 0.1 |
8 | License: GPL v2 | |
9 | Group: Applications/WWW | |
564d4360 | 10 | Source0: %{plugin}-%{version}.zip |
69f8ab60 MWP |
11 | # Source0-md5: ccd09c76b80c2346d86a739ee1cc2794 |
12 | URL: http://www.cactiusers.org/forums | |
1d6cbb2a | 13 | BuildRequires: rpm-perlprov |
0358293f | 14 | BuildRequires: unzip |
84a9c40c MWP |
15 | Requires: cacti |
16 | BuildArch: noarch | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
564d4360 ER |
19 | %define cactidir /usr/share/cacti |
20 | %define plugindir %{cactidir}/plugins/%{plugin} | |
84a9c40c MWP |
21 | |
22 | %description | |
7e5ee281 MWP |
23 | Plugin for Cacti - allows you to send graphs that you specify to users |
24 | that you specify at a specified time. A simple wizard guides you | |
25 | through the whole process. Currently works, but lacks a little polish | |
26 | and some much needed options. | |
84a9c40c | 27 | |
91403f86 JR |
28 | %description -l pl.UTF-8 |
29 | Wtyczka do Cacti pozwalająca wysyłać określone wykresy do określonych | |
30 | użytkowników o określonym czasie. Prosty wizard prowadzi przez cały | |
31 | proces konfiguracji. Aktualnie działa, ale wymaga jeszcze dopracowania | |
1d6cbb2a | 32 | i dodania kilku najbardziej potrzebnych opcji. |
84a9c40c MWP |
33 | |
34 | %prep | |
564d4360 | 35 | %setup -q -n %{plugin} |
84a9c40c MWP |
36 | |
37 | %build | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
564d4360 ER |
41 | install -d $RPM_BUILD_ROOT%{plugindir} |
42 | cp -a . $RPM_BUILD_ROOT%{plugindir} | |
84a9c40c MWP |
43 | |
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
69f8ab60 | 49 | %doc LICENSE README reports.txt |
564d4360 | 50 | %{plugindir} |