]>
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 | |
227ccb52 | 21 | Cacti plugin that boosts Cacti performance especially for large sites. |
eaf90b01 | 22 | |
227ccb52 JB |
23 | %description -l pl.UTF-8 |
24 | Wtyczka Cacti zwiększająca jego wydajność, szczególnie w przypadku | |
25 | dużych serwisów. | |
eaf90b01 MWP |
26 | |
27 | %prep | |
28 | %setup -q -c | |
29 | ||
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | install -d $RPM_BUILD_ROOT%{webcactipluginroot} | |
f0668b22 | 33 | cp -a * $RPM_BUILD_ROOT%{webcactipluginroot} |
eaf90b01 MWP |
34 | |
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
39 | %defattr(644,root,root,755) | |
40 | %doc LICENSE README | |
41 | %{webcactipluginroot} |