]>
Commit | Line | Data |
---|---|---|
e4a7ad87 MWP |
1 | %define namesrc update |
2 | %include /usr/lib/rpm/macros.perl | |
3 | Summary: Plugin for Cacti - Update | |
4 | Summary(pl): Wtyczka do Cacti - Update | |
5 | Name: cacti-plugin-update | |
6 | Version: 0.1 | |
7 | Release: 0.1 | |
8 | License: GPL v2 | |
9 | Group: Applications/WWW | |
10 | #!!!!problem with version | |
11 | Source0: http://download.cactiusers.org/downloads/%{namesrc}.tar.gz | |
12 | # Source0-md5: 0f4c0e881f35b3d6a23ea326f703d47d | |
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 | |
22 | its an "administrative" plugin to help you keep track of all your | |
23 | plugin versions. It will also check for Updates to Cacti, the Plugin | |
24 | Architecture, and your Plugins and will alert you when it finds new | |
25 | versions. Currently it does not import its own table, so you will have | |
26 | to do that yourself. I should have that issue fixed in the next version. | |
27 | ||
28 | %description -l pl | |
29 | Wtyczka do Cacti - | |
30 | ||
31 | %prep | |
32 | %setup -q -n %{namesrc} | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT%{webcactipluginroot} | |
37 | cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot} | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc CHANGES LICENSE README | |
45 | %{webcactipluginroot} |