]>
Commit | Line | Data |
---|---|---|
84a9c40c MWP |
1 | %define namesrc reports |
2 | %include /usr/lib/rpm/macros.perl | |
3 | Summary: Plugin for Cacti - Reports | |
4 | Summary(pl): Wtyczka do Cacti - Reports | |
5 | Name: cacti-plugin-reports | |
6 | Version: 0.1b | |
7 | Release: 0.1 | |
8 | License: GPL v2 | |
9 | Group: Applications/WWW | |
10 | #!!!!problem with version in name | |
11 | Source0: http://download.cactiusers.org/downloads/%{namesrc}.tar.gz | |
12 | # Source0-md5: 775098a64f02a89569c239d57886d06b | |
13 | URL: http://www.cactiusers.org/ | |
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 | |
7e5ee281 MWP |
22 | Plugin for Cacti - allows you to send graphs that you specify to users |
23 | that you specify at a specified time. A simple wizard guides you | |
24 | through the whole process. Currently works, but lacks a little polish | |
25 | and some much needed options. | |
84a9c40c MWP |
26 | |
27 | %description -l pl | |
28 | Wtyczka do Cacti. | |
29 | ||
30 | %prep | |
31 | %setup -q -n %{namesrc} | |
32 | ||
33 | %build | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT%{webcactipluginroot} | |
38 | cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot} | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | #%doc | |
46 | %{webcactipluginroot} |