]> git.pld-linux.org Git - packages/cacti-template-apache.git/blobdiff - cacti-template-apache.spec
- release 3
[packages/cacti-template-apache.git] / cacti-template-apache.spec
index a8aa57d765c3c8a38cea1e13a73262229a6c807c..dc5f589ab473b28e2efb6a2f24b6360b6775e442 100644 (file)
@@ -2,7 +2,7 @@
 Summary:       Apache Stats
 Name:          cacti-template-%{template}
 Version:       0.6
-Release:       1
+Release:       3
 License:       GPL v2
 Group:         Applications/WWW
 Source0:       http://forums.cacti.net/download/file.php?id=301#/apachestats-0.4.zip
@@ -11,8 +11,10 @@ Source1:     http://forums.cacti.net/download/file.php?id=7674#/ss_apache_stats-wget
 # Source1-md5: cb460f3c00707dcb960efe8c4ceff0c1
 Source2:       http://forums.cacti.net/download/file.php?id=7534#/SS_Apache_Stats-curl.zip
 # Source2-md5: 71112bf32403e548120b3b76eadd5a75
+Patch0:                fixes.patch
 URL:           http://forums.cacti.net/about17995.html
 BuildRequires: rpmbuild(macros) >= 1.554
+BuildRequires: unzip
 Requires:      cacti >= 0.8.7g-6
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -28,12 +30,13 @@ Apache Stats for Cacti (PHP Script Server Version).
 %prep
 %setup -qc -a1 -a2
 mv apachestats-0.4/* .
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{resourcedir},%{scriptsdir}}
 install -p ss_apache_stats.php $RPM_BUILD_ROOT%{scriptsdir}
-cp -a SS_Apache_Stats/cacti_host_template_webserver_apache_5min.xml \
+cp -p SS_Apache_Stats/cacti_host_template_webserver_apache_5min.xml \
        $RPM_BUILD_ROOT%{resourcedir}
 
 %post
This page took 0.036933 seconds and 4 git commands to generate.