]>
Commit | Line | Data |
---|---|---|
841ca185 MWP |
1 | %define namesrc ssl |
2 | %include /usr/lib/rpm/macros.perl | |
3 | Summary: Plugin for Cacti - | |
8b838f64 | 4 | #Summary(pl.UTF-8): Wtyczka do Cacti - |
841ca185 MWP |
5 | Name: cacti-plugin-ssl |
6 | Version: 0.1 | |
7 | Release: 0.1 | |
8 | License: GPL v2 | |
9 | Group: Applications/WWW | |
10 | Source0: http://mirror.cactiusers.org/downloads/plugins/%{namesrc}-%{version}.zip | |
11 | # Source0-md5: 72eda21392828e9433a7b89674ddb468 | |
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 forces your Cacti users to use SSL to | |
22 | access Cacti. No page or graph will be viewable through regular http. | |
23 | Make sure you are running SSL Support on your web server before | |
24 | enabling. | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | Wtyczka do Cacti - wymusza stosowanie SSL (szyfrowania) przy dostępie | |
28 | WWW do Cacti. Żadna strona ani wykres nie będzie dostępny po http | |
8b838f64 ER |
29 | (tylko po https). Upewnij się że twój serwer WWW obsługuje SSL przed |
30 | zainstalowaniem tej wtyczki. | |
841ca185 MWP |
31 | |
32 | %prep | |
33 | %setup -q -c | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT%{webcactipluginroot} | |
8b838f64 | 38 | cp -a * $RPM_BUILD_ROOT%{webcactipluginroot} |
841ca185 MWP |
39 | |
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %{webcactipluginroot} |