]>
Commit | Line | Data |
---|---|---|
eaf90b01 MWP |
1 | %define namesrc boost |
2 | %include /usr/lib/rpm/macros.perl | |
3 | Summary: Plugin for Cacti - Boost | |
4 | Summary(pl.UTF-8): Wtyczka do Cacti - Boost | |
5 | Name: cacti-plugin-boost | |
6 | Version: 1.7 | |
7 | Release: 1 | |
8 | License: GPL v2 | |
9 | Group: Applications/WWW | |
10 | Source0: http://mirror.cactiusers.org/downloads/plugins/%{namesrc}-%{version}.zip | |
11 | # Source0-md5: 49c5989cc421781fb8e983d70ba2bcac | |
12 | URL: http://www.cactiusers.org/ | |
13 | BuildRequires: rpm-perlprov | |
14 | Requires: cacti | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %define webcactipluginroot /usr/share/cacti/plugins/%{namesrc} | |
19 | ||
20 | %description | |
21 | Plugin for Cacti - This plugin boosts Cacti performance especially for Large Sites. | |
22 | ||
f0668b22 ER |
23 | #%description -l pl.UTF-8 |
24 | #Wtyczka do Cacti - | |
eaf90b01 MWP |
25 | |
26 | %prep | |
27 | %setup -q -c | |
28 | ||
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | install -d $RPM_BUILD_ROOT%{webcactipluginroot} | |
f0668b22 | 32 | cp -a * $RPM_BUILD_ROOT%{webcactipluginroot} |
eaf90b01 MWP |
33 | |
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %files | |
38 | %defattr(644,root,root,755) | |
39 | %doc LICENSE README | |
40 | %{webcactipluginroot} |