Author: glen                         Date: Sat Apr  7 10:35:11 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 5.8.0

---- Files affected:
packages/phplot:
   phplot.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: packages/phplot/phplot.spec
diff -u packages/phplot/phplot.spec:1.18 packages/phplot/phplot.spec:1.19
--- packages/phplot/phplot.spec:1.18    Tue Sep 14 07:46:11 2010
+++ packages/phplot/phplot.spec Sat Apr  7 12:35:05 2012
@@ -2,32 +2,38 @@
 # NOTES
 #  - draws unwanted, additional X labels in comparison with 4.4.6
 
-%define                manual 20100830
+%define                manual 20120406
+%define                php_min_version 5.2.0
+%include       /usr/lib/rpm/macros.php
 Summary:       Class for creating esientific and business charts
 Summary(pl.UTF-8):     Klasa do tworzenia naukowych i biznesowych wykresów
 Name:          phplot
-Version:       5.1.3
+Version:       5.8.0
 Release:       1
-License:       GPL/PHP
+License:       LGPL v2.1, PHP
 Group:         Libraries
-Source0:       http://dl.sourceforge.net/phplot/%{name}-%{version}.tar.gz
-# Source0-md5: 64c2f894147e2804e635cff241788c2d
-Source1:       http://dl.sourceforge.net/phplot/%{name}docs-%{manual}.zip
-# Source1-md5: d0c99e080d2d40f352de7ea4e46e1387
-URL:           http://www.sourceforge.net/projects/phplot/
+Source0:       
http://downloads.sourceforge.net/phplot/%{name}-%{version}.tar.gz
+# Source0-md5: 68455792781f35ff166697f29e0c822c
+Source1:       
http://downloads.sourceforge.net/phplot/%{name}docs-%{manual}.zip
+# Source1-md5: a9f513261fe98dc3ba61ff7f41c1eeea
+URL:           http://phplot.sourceforge.net/
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
 BuildRequires: rpmbuild(macros) >= 1.461
 BuildRequires: unzip
-Requires:      php-common >= 4:5.2
+Requires:      php-common >= 4:%{php_min_version}
+Requires:      php-date
 Requires:      php-gd
+Requires:      php-pcre
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _appdir         %{php_data_dir}/%{name}
 %define                _phpdocdir      %{_docdir}/phpdoc
 
 %description
-A graph library for dynamic scientific, business, and stock-market
-charts. Written in PHP; requires PHP5 and GD.
+PHPlot is a graph library for dynamic scientific, business, and
+stock-market charts. PHPlot allows PHP developers to create pie
+charts, bar graphs, line graphs, point graphs, etc. from a PHP
+application.
 
 Optionally uses TrueType (TTF) fonts. Includes Pie, Bar, Line, Area,
 Point and other plot types.
@@ -52,8 +58,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_appdir}
-cp -a *.php $RPM_BUILD_ROOT%{_appdir}
+install -d $RPM_BUILD_ROOT%{php_data_dir}/%{name}
+cp -a *.php $RPM_BUILD_ROOT%{php_data_dir}/%{name}
 
 install -d $RPM_BUILD_ROOT%{_phpdocdir}/%{name}
 cp -a phplotdocs/* $RPM_BUILD_ROOT%{_phpdocdir}/%{name}
@@ -63,8 +69,8 @@
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog NEWS* README*
-%{_appdir}
+%doc ChangeLog NEWS* README* contrib
+%{php_data_dir}/%{name}
 
 %files phpdoc
 %defattr(644,root,root,755)
@@ -76,6 +82,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2012/04/07 10:35:05  glen
+- up to 5.8.0
+
 Revision 1.18  2010/09/14 05:46:11  skibi
 - Update to 5.1.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/phplot/phplot.spec?r1=1.18&r2=1.19

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to