]> git.pld-linux.org Git - packages/cacti-plugin-weathermap.git/blame - cacti-plugin-weathermap.spec
- cleanups
[packages/cacti-plugin-weathermap.git] / cacti-plugin-weathermap.spec
CommitLineData
d1e67b3c
ER
1# TODO
2# - config file, patches, package for not cacti plugin
46950fe9
MWP
3%define namesrc weathermap
4%include /usr/lib/rpm/macros.perl
5Summary: Plugin for Cacti - WeatherMap
6Summary(pl.UTF-8): Wtyczka do Cacti - WeatherMap
7Name: cacti-plugin-weathermap
8Version: 0.941
9Release: 0.1
10License: GPL v2
11Group: Applications/WWW
12Source0: http://www.network-weathermap.com/files/php-%{namesrc}-%{version}.zip
13# Source0-md5: 8214a2a323db250ac3b783fc5674b163
14URL: http://www.network-weathermap.com
15BuildRequires: rpm-perlprov
16Requires: cacti
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%define webcactipluginroot /usr/share/cacti/plugins/%{namesrc}
21
22%description
23Plugin for Cacti - Weathermap - is a network visualisation tool, to
24take data you already have and show you an overview of your network
25in map form.
d1e67b3c 26
46950fe9
MWP
27Support is built in for RRD, MRTG (RRD and old log-format), and
28tab-delimited text files. Other sources are via plugins or external
29scripts.
30
31%description -l pl.UTF-8
32Wtyczka do Cacti - Weathermap
33
34%prep
35%setup -q -n %{namesrc}
36
37# undos the source
38find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
39
40%install
41rm -rf $RPM_BUILD_ROOT
42install -d $RPM_BUILD_ROOT%{webcactipluginroot}
d1e67b3c 43cp -a * $RPM_BUILD_ROOT%{webcactipluginroot}
46950fe9
MWP
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc README CHANGES
51%{webcactipluginroot}
This page took 0.132793 seconds and 4 git commands to generate.