]> git.pld-linux.org Git - packages/cacti-plugin-weathermap.git/blob - cacti-plugin-weathermap.spec
4a966e7ae6aca97be89017009cf7aee68e10f6f5
[packages/cacti-plugin-weathermap.git] / cacti-plugin-weathermap.spec
1 # TODO
2 #  - config file, patches, package for not cacti plugin
3 %define         namesrc weathermap
4 %include        /usr/lib/rpm/macros.perl
5 Summary:        Plugin for Cacti - WeatherMap
6 Summary(pl.UTF-8):      Wtyczka do Cacti - WeatherMap (mapa pogody)
7 Name:           cacti-plugin-weathermap
8 Version:        0.941
9 Release:        0.1
10 License:        GPL v2
11 Group:          Applications/WWW
12 Source0:        http://www.network-weathermap.com/files/php-%{namesrc}-%{version}.zip
13 # Source0-md5:  8214a2a323db250ac3b783fc5674b163
14 URL:            http://www.network-weathermap.com
15 BuildRequires:  rpm-perlprov
16 Requires:       cacti
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         webcactipluginroot /usr/share/cacti/plugins/%{namesrc}
21
22 %description
23 Weathermap plugin for Cacti is a network visualisation tool, to take
24 data you already have and show you an overview of your network in map
25 form.
26
27 Support is built in for RRD, MRTG (RRD and old log-format), and
28 tab-delimited text files. Other sources are via plugins or external
29 scripts.
30
31 %description -l pl.UTF-8
32 Wtyczka Weathermap dla Cacti to narzędzie do wizualizacji sieci,
33 pobierające już istniejące dane i tworzące widok sieci w postaci mapy.
34
35 Ma wbudowaną obsługę plików RRD, MRTG (RRD i starego formatu logów)
36 oraz tekstowych rozdzielonych tabulacjami. Inne źródła są dostępne
37 przez wtyczki lub zewnętrzne skrypty.
38
39 %prep
40 %setup -q -n %{namesrc}
41
42 # undos the source
43 find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{webcactipluginroot}
48 cp -a * $RPM_BUILD_ROOT%{webcactipluginroot}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc README CHANGES
56 %{webcactipluginroot}
This page took 0.052499 seconds and 2 git commands to generate.