]> git.pld-linux.org Git - packages/phplot.git/commitdiff
- up to 5.8.0 AC-branch auto/ac/phplot-5_8_0-1 auto/th/phplot-5_8_0-1
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 7 Apr 2012 10:35:05 +0000 (10:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    phplot.spec -> 1.19

phplot.spec

index 9788ff18585e8698092e33c65c0f10e776ce2e0f..5e1e882df570bf359b38439dcedf843d97576157 100644 (file)
@@ -1,32 +1,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.
@@ -51,8 +57,8 @@ Dokumentacja do phplot.
 
 %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}
@@ -62,8 +68,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %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)
This page took 0.106733 seconds and 4 git commands to generate.