]> git.pld-linux.org Git - packages/cacti-plugin-weathermap.git/blame - cacti-plugin-weathermap.spec
- up by Pawel Dlugosz
[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
a90dd0d3 6Summary(pl.UTF-8): Wtyczka do Cacti - WeatherMap (mapa pogody)
46950fe9 7Name: cacti-plugin-weathermap
29eb7123
GS
8Version: 0.95b
9Release: 1
46950fe9
MWP
10License: GPL v2
11Group: Applications/WWW
12Source0: http://www.network-weathermap.com/files/php-%{namesrc}-%{version}.zip
29eb7123 13# Source0-md5: 6481970ad971dfe659eed535b440e678
46950fe9
MWP
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
a90dd0d3
JB
23Weathermap plugin for Cacti is a network visualisation tool, to take
24data you already have and show you an overview of your network in map
25form.
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
a90dd0d3
JB
32Wtyczka Weathermap dla Cacti to narzędzie do wizualizacji sieci,
33pobierające już istniejące dane i tworzące widok sieci w postaci mapy.
34
35Ma wbudowaną obsługę plików RRD, MRTG (RRD i starego formatu logów)
36oraz tekstowych rozdzielonych tabulacjami. Inne źródła są dostępne
37przez wtyczki lub zewnętrzne skrypty.
46950fe9
MWP
38
39%prep
40%setup -q -n %{namesrc}
41
42# undos the source
43find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
44
45%install
46rm -rf $RPM_BUILD_ROOT
47install -d $RPM_BUILD_ROOT%{webcactipluginroot}
d1e67b3c 48cp -a * $RPM_BUILD_ROOT%{webcactipluginroot}
46950fe9
MWP
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
55%doc README CHANGES
56%{webcactipluginroot}
This page took 0.161447 seconds and 4 git commands to generate.