]> git.pld-linux.org Git - packages/cacti.git/commitdiff
php autodeps auto/th/cacti-0.8.8b-1
authorElan Ruusamäe <glen@delfi.ee>
Sun, 18 Aug 2013 21:51:06 +0000 (00:51 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 18 Aug 2013 21:51:06 +0000 (00:51 +0300)
cacti.spec

index 23f3324bb2208984900904b875b265aa6b2a30bd..4ee0d26d39c5c0dcfb6402c438ef2c76d0761201 100644 (file)
@@ -1,4 +1,6 @@
 %define                pia_ver 3.1
+%define                php_min_version 5.2.13-10
+%include       /usr/lib/rpm/macros.php
 Summary:       Cacti is a PHP frontend for rrdtool
 Summary(pl.UTF-8):     Cacti - frontend w PHP do rrdtoola
 Name:          cacti
@@ -23,7 +25,7 @@ Patch6:               %{name}-log-verbosity.patch
 Patch7:                %{name}-ss_disk-array-indices.patch
 Patch8:                host_name-url.patch
 # http://www.cacti.net/download_patches.php
-#Patch100:     http://www.cacti.net/downloads/patches/%{version}/
+#Patch100:     -
 ## Patch100-md5:       -
 BuildRequires: sed >= 4.0
 Requires(postun):      /usr/sbin/userdel
@@ -34,7 +36,7 @@ Requires:     cacti-plugin-boost >= 5.0
 Requires:      crondaemon
 Requires:      group(http)
 Requires:      net-snmp-utils
-Requires:      php(core) >= 5.2.13-10
+Requires:      php(core) >= %{php_min_version}
 Requires:      php(mysql)
 Requires:      php(pcre)
 Requires:      php(session)
@@ -62,6 +64,12 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _sysconfdir     %{_webapps}/%{_webapp}
 %define                _appdir         /usr/share/%{name}
 
+# bad depsolver
+%define                _noautopear     pear
+
+# put it together for rpmbuild
+%define                _noautoreq      %{?_noautophp} %{?_noautopear}
+
 %description
 Cacti is a complete frondend to rrdtool, it stores all of the
 nessesary information to create graphs and populate them with data in
This page took 0.042144 seconds and 4 git commands to generate.