]> git.pld-linux.org Git - packages/cacti-plugin-weathermap.git/commitdiff
- init
authorMichał 'Wolvverine' Panasiewicz <wolvverine@pld-linux.org>
Wed, 26 Dec 2007 03:03:44 +0000 (03:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cacti-plugin-weathermap.spec -> 1.1

cacti-plugin-weathermap.spec [new file with mode: 0644]

diff --git a/cacti-plugin-weathermap.spec b/cacti-plugin-weathermap.spec
new file mode 100644 (file)
index 0000000..72f9002
--- /dev/null
@@ -0,0 +1,49 @@
+#TODO - config file, patches, package for not cacti plugin
+%define                namesrc weathermap
+%include       /usr/lib/rpm/macros.perl
+Summary:       Plugin for Cacti - WeatherMap
+Summary(pl.UTF-8):     Wtyczka do Cacti - WeatherMap
+Name:          cacti-plugin-weathermap
+Version:       0.941
+Release:       0.1
+License:       GPL v2
+Group:         Applications/WWW
+Source0:       http://www.network-weathermap.com/files/php-%{namesrc}-%{version}.zip
+# Source0-md5: 8214a2a323db250ac3b783fc5674b163
+URL:           http://www.network-weathermap.com
+BuildRequires: rpm-perlprov
+Requires:      cacti
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                webcactipluginroot /usr/share/cacti/plugins/%{namesrc}
+
+%description
+Plugin for Cacti - Weathermap - is a network visualisation tool, to
+take data you already have and show you an overview of your network
+in map form.
+Support is built in for RRD, MRTG (RRD and old log-format), and
+tab-delimited text files. Other sources are via plugins or external
+scripts.
+
+%description -l pl.UTF-8
+Wtyczka do Cacti - Weathermap
+
+%prep
+%setup -q -n %{namesrc}
+
+# undos the source
+find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{webcactipluginroot}
+cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README CHANGES
+%{webcactipluginroot}
This page took 0.063017 seconds and 4 git commands to generate.