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